Class CUDA_POINTER_ATTRIBUTE_P2P_TOKENS

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

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

Layout


 struct CUDA_POINTER_ATTRIBUTE_P2P_TOKENS {
     unsigned long long p2pToken;
     unsigned int vaSpaceToken;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int P2PTOKEN
      The struct member offsets.
    • VASPACETOKEN

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

    • CUDA_POINTER_ATTRIBUTE_P2P_TOKENS

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