Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
kswiecicki committed Feb 10, 2025
1 parent 58cd8dc commit 5ee6a87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/multi_device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Test adapter specific
working-directory: ${{github.workspace}}/build
run: ctest -C ${{matrix.build_type}} --output-on-failure -L "adapter-specific" --timeout 180
run: UR_LOG_LEVEL_ZERO="level:debug;flush:debug;output:stdout" ctest -C ${{matrix.build_type}} --output-on-failure -L "adapter-specific" --timeout 180 --verbose

- name: Test adapters
working-directory: ${{github.workspace}}/build
Expand Down
3 changes: 3 additions & 0 deletions source/adapters/level_zero/usm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,15 @@ ur_result_t urUSMGetMemAllocInfo(
size_t *PropValueSizeRet) {
auto UMFPool = umfPoolByPtr(Ptr);
if (!UMFPool) {
logger::error(
"urUSMGetMemAllocInfo: failed to retrieve UMF pool for ptr {}", Ptr);
return UR_RESULT_ERROR_INVALID_VALUE;
}

usm_umf_pool_tag_t *Tag = nullptr;
auto UmfRet = umfPoolGetTag(UMFPool, reinterpret_cast<void **>(&Tag));
if (UmfRet) {
logger::error("urUSMGetMemAllocInfo: failed to retrieve UMF pool tag");
return umf::umf2urResult(UmfRet);
}

Expand Down

0 comments on commit 5ee6a87

Please sign in to comment.