Class CUDA_HOST_NODE_PARAMS

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

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

Layout


 struct CUDA_HOST_NODE_PARAMS {
     void (*fn) (void *userData);
     void * userData;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int FN
      The struct member offsets.
    • USERDATA

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

    • CUDA_HOST_NODE_PARAMS

      public CUDA_HOST_NODE_PARAMS(ByteBuffer container)
      Creates a CUDA_HOST_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