We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bbdc76 commit 5d16d4eCopy full SHA for 5d16d4e
sycl/source/detail/device_global_map_entry.cpp
@@ -87,6 +87,7 @@ __sycl_increment_profile_counters(std::uint64_t FnHash, std::size_t NumCounters,
87
88
void DeviceGlobalMapEntry::cleanupProfileCounter(context_impl *CtxImpl) {
89
std::lock_guard<std::mutex> Lock{MDeviceToUSMPtrMapMutex};
90
+ assert(isProfileCounter());
91
const std::size_t NumCounters = MDeviceGlobalTSize / sizeof(std::uint64_t);
92
const std::uint64_t FnHash = [&] {
93
const auto PrefixSize = std::string{"__profc_"}.size();
0 commit comments