Skip to content

Commit 9dd0476

Browse files
committed
[OpenMP][DeviceRTL] Fix build issue
1 parent 0041a69 commit 9dd0476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/libomptarget/DeviceRTL/src/State.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ void state::enterDataEnvironment(IdentTy *Ident) {
267267
if (!atomic::cas(ThreadStatesBitsPtr, uintptr_t(0),
268268
reinterpret_cast<uintptr_t>(ThreadStatesPtr),
269269
atomic::seq_cst, atomic::seq_cst))
270-
memory::freeGlobal(ThreadStatesPtr, Bytes,
270+
memory::freeGlobal(ThreadStatesPtr,
271271
"Thread state array allocated multiple times");
272272
ASSERT(atomic::load(ThreadStatesBitsPtr, atomic::seq_cst) &&
273273
"Expected valid thread states bit!");

0 commit comments

Comments
 (0)