All Known Implementing Classes:
ImmutableCLData

@Immutable public interface CLData
Container used for referring to data hosted on a GPU
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jocl.cl_mem
    OpenCL cl_mem that references the raw data
    int
    OpenCL type contained within the clMem()
    static CLData
    of(org.jocl.cl_mem clMem, int clType, int size)
     
    int
    How many entries in the clMem()
  • Method Details

    • clMem

      @Parameter org.jocl.cl_mem clMem()
      OpenCL cl_mem that references the raw data
      Returns:
    • clType

      @Parameter int clType()
      OpenCL type contained within the clMem()
      Returns:
    • size

      @Parameter int size()
      How many entries in the clMem()
      Returns:
    • of

      static CLData of(org.jocl.cl_mem clMem, int clType, int size)