Skip to content

Commit

Permalink
Conform to OpenCL v3.0.15 specification release
Browse files Browse the repository at this point in the history
  • Loading branch information
Beanavil committed Jul 16, 2024
1 parent a6f5c7b commit 801c687
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions samples/extensions/khr/externalmemory/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,9 +551,9 @@ int main(int argc, char* argv[])
#else
(cl_mem_properties)fd_x,
#endif
(cl_mem_properties)CL_DEVICE_HANDLE_LIST_KHR,
(cl_mem_properties)CL_MEM_DEVICE_HANDLE_LIST_KHR,
(cl_mem_properties)(uintptr_t)cl_device,
CL_DEVICE_HANDLE_LIST_END_KHR,
CL_MEM_DEVICE_HANDLE_LIST_END_KHR,
0
};
cl_mem_properties ext_mem_props_y[] = {
Expand All @@ -563,9 +563,9 @@ int main(int argc, char* argv[])
#else
(cl_mem_properties)fd_y,
#endif
(cl_mem_properties)CL_DEVICE_HANDLE_LIST_KHR,
(cl_mem_properties)CL_MEM_DEVICE_HANDLE_LIST_KHR,
(cl_mem_properties)(uintptr_t)cl_device,
CL_DEVICE_HANDLE_LIST_END_KHR,
CL_MEM_DEVICE_HANDLE_LIST_END_KHR,
0
};
cl_mem cl_buf_x, cl_buf_y;
Expand Down
8 changes: 4 additions & 4 deletions samples/extensions/khr/externalmemory/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,9 @@ int main(int argc, char* argv[])
#else
(cl_mem_properties)fd_x,
#endif
(cl_mem_properties)CL_DEVICE_HANDLE_LIST_KHR,
(cl_mem_properties)CL_MEM_DEVICE_HANDLE_LIST_KHR,
(cl_mem_properties)cl_device(),
CL_DEVICE_HANDLE_LIST_END_KHR,
CL_MEM_DEVICE_HANDLE_LIST_END_KHR,
0
};
std::vector<cl_mem_properties> ext_mem_props_y = {
Expand All @@ -483,9 +483,9 @@ int main(int argc, char* argv[])
#else
(cl_mem_properties)fd_y,
#endif
(cl_mem_properties)CL_DEVICE_HANDLE_LIST_KHR,
(cl_mem_properties)CL_MEM_DEVICE_HANDLE_LIST_KHR,
(cl_mem_properties)cl_device(),
CL_DEVICE_HANDLE_LIST_END_KHR,
CL_MEM_DEVICE_HANDLE_LIST_END_KHR,
0
};

Expand Down

0 comments on commit 801c687

Please sign in to comment.