Skip to content

Commit

Permalink
cl_ext_buffer_device_address: update to 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
franz committed Feb 27, 2025
1 parent 2f748eb commit 769f4a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class BufferDeviceAddressTest {
cl_mem_properties address_type;

int check_device_address_from_api(cl_mem buf,
cl_mem_device_address_EXT &Addr)
cl_mem_device_address_ext &Addr)
{
Addr = 0;
cl_int error = clGetMemObjectInfo(buf, CL_MEM_DEVICE_ADDRESS_EXT,
Expand Down Expand Up @@ -213,7 +213,7 @@ class BufferDeviceAddressTest {
{
cl_int error = 0;
cl_ulong DeviceAddrFromKernel = 0;
cl_mem_device_address_EXT DeviceAddrFromAPI = 0;
cl_mem_device_address_ext DeviceAddrFromAPI = 0;

for (int i = 0; i < BUF_SIZE; ++i)
{
Expand Down Expand Up @@ -281,7 +281,7 @@ class BufferDeviceAddressTest {
clKernelWrapper &ind_access_kernel)
{
cl_int error = 0;
cl_mem_device_address_EXT DeviceAddrFromAPI = 0;
cl_mem_device_address_ext DeviceAddrFromAPI = 0;

int DataIn = 0x12348765;
int DataOut = -1;
Expand Down Expand Up @@ -355,7 +355,7 @@ class BufferDeviceAddressTest {
clKernelWrapper &ptr_arith_kernel)
{
cl_int error = 0;
cl_mem_device_address_EXT DeviceAddrFromAPI = 0;
cl_mem_device_address_ext DeviceAddrFromAPI = 0;
int DataOut = -1;
int DataIn = 0x12348765;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ test_status InitCL(cl_device_id device)

cl_version ext_version =
get_extension_version(device, "cl_ext_buffer_device_address");
if (ext_version != CL_MAKE_VERSION(1, 0, 0))
if (ext_version != CL_MAKE_VERSION(1, 0, 2))
{
log_info("The test is written against cl_ext_buffer_device_address "
"extension version 1.0.0, device supports version: %u.%u.%u\n",
"extension version 1.0.2, device supports version: %u.%u.%u\n",
CL_VERSION_MAJOR(ext_version), CL_VERSION_MINOR(ext_version),
CL_VERSION_PATCH(ext_version));
return TEST_SKIPPED_ITSELF;
Expand Down

0 comments on commit 769f4a8

Please sign in to comment.