finished MPI Histogram
This commit is contained in:
12
HW3/cmake-build-debug/CMakeFiles/FindOpenMP/OpenMPTryFlag.c
Normal file
12
HW3/cmake-build-debug/CMakeFiles/FindOpenMP/OpenMPTryFlag.c
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
#include <omp.h>
|
||||
int main(void) {
|
||||
#ifdef _OPENMP
|
||||
omp_get_max_threads();
|
||||
return 0;
|
||||
#elif defined(__HIP_DEVICE_COMPILE__)
|
||||
return 0;
|
||||
#else
|
||||
breaks_on_purpose
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user