Class CLBusAddressAMD

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

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

Layout


 struct cl_bus_address_amd {
     cl_long surfbusaddress();
     cl_long signalbusaddress();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int SURFBUSADDRESS
      The struct member offsets.
    • SIGNALBUSADDRESS

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

    • CLBusAddressAMD

      public CLBusAddressAMD(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.

  • Method Details