Class CUDA_ARRAY_MEMORY_REQUIREMENTS

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

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

Layout


 struct CUDA_ARRAY_MEMORY_REQUIREMENTS {
     size_t size;
     size_t alignment;
     unsigned int reserved[4];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int SIZE
      The struct member offsets.
    • ALIGNMENT

      public static final int ALIGNMENT
      The struct member offsets.
    • RESERVED

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

    • CUDA_ARRAY_MEMORY_REQUIREMENTS

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