Class CUDA_MEM_ALLOC_NODE_PARAMS

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class CUDA_MEM_ALLOC_NODE_PARAMS
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Memory allocation node parameters.

    Layout

    
     struct CUDA_MEM_ALLOC_NODE_PARAMS {
         CUmemPoolProps poolProps();
         CUmemAccessDesc const * accessDescs();
         size_t accessDescCount();
         size_t bytesize();
         CUdeviceptr dptr();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • POOLPROPS, ACCESSDESCS, ACCESSDESCCOUNT, BYTESIZE, DPTR

        The struct member offsets.
    • Constructor Detail

      • CUDA_MEM_ALLOC_NODE_PARAMS

        public CUDA_MEM_ALLOC_NODE_PARAMS​(java.nio.ByteBuffer container)
        Creates a CUDA_MEM_ALLOC_NODE_PARAMS instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.