KhronosGroup / OpenCL-Registry

OpenCL API and Extension Registry.
112 stars 42 forks source link

Add cl_intel_mem_alloc_buffer_location property #116

Closed sherry-yuan closed 2 years ago

sherry-yuan commented 2 years ago

This property allows user to specify which device global memory the memory should be allocated to.

Supported by OpenCL 3.0 clCreateBufferWithProperties functions or clCreateBufferWithPropertiesINTEL extension function.

Done to align with the spec in https://github.com/KhronosGroup/OpenCL-Docs/blob/master/extensions/cl_intel_mem_alloc_buffer_location.asciidoc

CC: @mkinsner @bashbaug @GarveyJoe