Skip to content

Commit

Permalink
Merge pull request oneapi-src#1344 from aarongreig/aaron/correctlyMap…
Browse files Browse the repository at this point in the history
…BufferLocation

Correct mapping of BUFFER_ALLOC_LOCATION_PROPERITES in CL adapter.
  • Loading branch information
kbenzie committed Feb 15, 2024
2 parents f11823e + b3469f1 commit 69ac6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/opencl/memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urMemBufferCreate(
case UR_STRUCTURE_TYPE_BUFFER_ALLOC_LOCATION_PROPERTIES: {
auto BufferLocationProperty =
reinterpret_cast<ur_buffer_alloc_location_properties_t *>(Prop);
PropertiesIntel.push_back(CL_MEM_ALLOC_FLAGS_INTEL);
PropertiesIntel.push_back(CL_MEM_ALLOC_BUFFER_LOCATION_INTEL);
PropertiesIntel.push_back(BufferLocationProperty->location);
} break;
default:
Expand Down

0 comments on commit 69ac6c7

Please sign in to comment.