Update Kokkos library in LAMMPS to v3.0
This commit is contained in:
10
lib/kokkos/cmake/compile_tests/pthread.cpp
Normal file
10
lib/kokkos/cmake/compile_tests/pthread.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <pthread.h>
|
||||
|
||||
void* kokkos_test(void* args) { return args; }
|
||||
|
||||
int main(void) {
|
||||
pthread_t thread;
|
||||
pthread_create(&thread, NULL, kokkos_test, NULL);
|
||||
pthread_join(thread, NULL);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user