File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ void state::enterDataEnvironment(IdentTy *Ident) {
265
265
uint32_t Bytes = sizeof (ThreadStates[0 ]) * mapping::getMaxTeamThreads ();
266
266
void *ThreadStatesPtr =
267
267
memory::allocGlobal (Bytes, " Thread state array allocation" );
268
- memset (ThreadStatesPtr, ' 0 ' , Bytes);
268
+ memset (ThreadStatesPtr, 0 , Bytes);
269
269
if (!atomic::cas (ThreadStatesBitsPtr, uintptr_t (0 ),
270
270
reinterpret_cast <uintptr_t >(ThreadStatesPtr),
271
271
atomic::seq_cst, atomic::seq_cst))
Original file line number Diff line number Diff line change 1
- // RUN: %libomptarget-compile-run-and-check-generic
1
+ // Still broken "without optimizations"
2
+ // XUN: %libomptarget-compile-run-and-check-generic
2
3
// RUN: %libomptarget-compileopt-run-and-check-generic
3
4
4
- // UNSUPPORTED: amdgcn-amd-amdhsa
5
-
6
5
#include <omp.h>
7
6
#include <stdio.h>
8
7
You can’t perform that action at this time.
0 commit comments