Class CUDA_MEM_ALLOC_NODE_PARAMS

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<CUDA_MEM_ALLOC_NODE_PARAMS>
org.lwjgl.cuda.CUDA_MEM_ALLOC_NODE_PARAMS
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class CUDA_MEM_ALLOC_NODE_PARAMS extends org.lwjgl.system.Struct<CUDA_MEM_ALLOC_NODE_PARAMS> implements org.lwjgl.system.NativeResource

Layout


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

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • POOLPROPS

      public static final int POOLPROPS
      The struct member offsets.
    • ACCESSDESCS

      public static final int ACCESSDESCS
      The struct member offsets.
    • ACCESSDESCCOUNT

      public static final int ACCESSDESCCOUNT
      The struct member offsets.
    • BYTESIZE

      public static final int BYTESIZE
      The struct member offsets.
    • DPTR

      public static final int DPTR
      The struct member offsets.
  • Constructor Details

    • CUDA_MEM_ALLOC_NODE_PARAMS

      public CUDA_MEM_ALLOC_NODE_PARAMS(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.

  • Method Details