Skip to content

Commit 69ac6c7

Browse files
authored
Merge pull request #1344 from aarongreig/aaron/correctlyMapBufferLocation
Correct mapping of BUFFER_ALLOC_LOCATION_PROPERITES in CL adapter.
2 parents f11823e + b3469f1 commit 69ac6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/opencl/memory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urMemBufferCreate(
251251
case UR_STRUCTURE_TYPE_BUFFER_ALLOC_LOCATION_PROPERTIES: {
252252
auto BufferLocationProperty =
253253
reinterpret_cast<ur_buffer_alloc_location_properties_t *>(Prop);
254-
PropertiesIntel.push_back(CL_MEM_ALLOC_FLAGS_INTEL);
254+
PropertiesIntel.push_back(CL_MEM_ALLOC_BUFFER_LOCATION_INTEL);
255255
PropertiesIntel.push_back(BufferLocationProperty->location);
256256
} break;
257257
default:

0 commit comments

Comments
 (0)