Class CLBusAddressAMD

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

    public class CLBusAddressAMD
    extends Struct
    implements NativeResource
    Bus address information used in EnqueueMakeBuffersResidentAMD.

    Member documentation

    • surfbusaddress – contains the page aligned physical starting address of the backing store preallocated by the application on a remote device
    • signalbusaddress – contains the page aligned physical starting address of preallocated signaling surface


     struct cl_bus_address_amd {
         cl_long surfbusaddress;
         cl_long signalbusaddress;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • CLBusAddressAMD

        public CLBusAddressAMD​(java.nio.ByteBuffer container)
        Creates a CLBusAddressAMD 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.