[Openmp-commits] [PATCH] D104696: [AMDGPU][Libomptarget] Delete g_atl_machine global
Ivan Kelarev via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Aug 24 11:15:52 PDT 2021
ikelarev added inline comments.
================
Comment at: openmp/libomptarget/plugins/amdgpu/impl/data.cpp:24
+ hsa_status_t err = hsa_amd_memory_pool_allocate(MemoryPool, size, 0, ptr);
+ DEBUG_PRINT("Malloced [CPU %d] %p\n", DeviceId, *ptr);
----------------
Debug build is broken here:
data.cpp:24:41: error: use of undeclared identifier 'DeviceId'
DEBUG_PRINT("Malloced [CPU %d] %p\n", DeviceId, *ptr);
^
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104696/new/
https://reviews.llvm.org/D104696
More information about the Openmp-commits
mailing list