Skip to content

Commit

Permalink
Add cl_intel_mem_alloc_buffer_location property (#116)
Browse files Browse the repository at this point in the history
-------------------------------------------------------

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
  • Loading branch information
sherry-yuan authored Jan 28, 2022
1 parent 21e5dd8 commit 729a01e
Show file tree
Hide file tree
Showing 4 changed files with 1,079 additions and 6 deletions.
2 changes: 2 additions & 0 deletions extensions/clext.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
</li>
<li><a href="extensions/intel/cl_intel_media_block_io.txt">cl_intel_media_block_io</a>
</li>
<li><a href="extensions/intel/cl_intel_mem_alloc_buffer_location.html">cl_intel_mem_alloc_buffer_location</a>
</li>
<li><a href="extensions/intel/cl_intel_mem_channel_property.html">cl_intel_mem_channel_property</a>
</li>
<li><a href="extensions/intel/cl_intel_mem_force_host_memory.html">cl_intel_mem_force_host_memory</a>
Expand Down
Loading

0 comments on commit 729a01e

Please sign in to comment.