Class CUDA_POINTER_ATTRIBUTE_P2P_TOKENS

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

    public class CUDA_POINTER_ATTRIBUTE_P2P_TOKENS
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    GPU Direct v3 tokens.

    Layout

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

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • P2PTOKEN, VASPACETOKEN

        The struct member offsets.
    • Constructor Detail

      • CUDA_POINTER_ATTRIBUTE_P2P_TOKENS

        public CUDA_POINTER_ATTRIBUTE_P2P_TOKENS​(java.nio.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.