Skip to content

Commit 382297d

Browse files
sherry-yuanpcolberg
authored andcommitted
Add cl_intel_mem_alloc_buffer_location to supported extension
-------------------------------------------------------------------------- For sycl runtime to check whether a lower runtime library support a specific extension, they use clGetDeviceInfo with CL_DEVICE_EXTENSIONS as query parameter. If the extension of interest appears in the string then the runtime will use the extension accordingly. Otherwise the extension will have no effect.
1 parent 4ac7ca8 commit 382297d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/acl_platform.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ const char *acl_platform_extensions() {
282282
//" cl_intel_unified_shared_memory"
283283
#endif
284284
" cl_intel_create_buffer_with_properties"
285-
" cl_intel_mem_channel_property";
285+
" cl_intel_mem_channel_property"
286+
" cl_intel_mem_alloc_buffer_location";
286287
}
287288

288289
// Initialize the internal bookkeeping based on the system definition

0 commit comments

Comments
 (0)