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 0041a69 commit 9dd0476Copy full SHA for 9dd0476
openmp/libomptarget/DeviceRTL/src/State.cpp
@@ -267,7 +267,7 @@ void state::enterDataEnvironment(IdentTy *Ident) {
267
if (!atomic::cas(ThreadStatesBitsPtr, uintptr_t(0),
268
reinterpret_cast<uintptr_t>(ThreadStatesPtr),
269
atomic::seq_cst, atomic::seq_cst))
270
- memory::freeGlobal(ThreadStatesPtr, Bytes,
+ memory::freeGlobal(ThreadStatesPtr,
271
"Thread state array allocated multiple times");
272
ASSERT(atomic::load(ThreadStatesBitsPtr, atomic::seq_cst) &&
273
"Expected valid thread states bit!");
0 commit comments