Use new naming scheme

This commit is contained in:
Brandon Potter
2024-11-25 14:12:15 -06:00
rodzic 308816bc5e
commit fd8dbc7fb6
179 zmienionych plików z 5250 dodań i 5251 usunięć
+6 -6
Wyświetl plik
@@ -29,22 +29,22 @@
#include <stdlib.h>
#include <sys/wait.h>
#include <roc_shmem/roc_shmem.hpp>
#include <rocshmem/rocshmem.hpp>
using namespace rocshmem;
int main(int argc, char* argv[]) {
roc_shmem_init();
rocshmem_init();
if (roc_shmem_my_pe() == 0) {
roc_shmem_global_exit(0);
if (rocshmem_my_pe() == 0) {
rocshmem_global_exit(0);
abort();
}
/* All other PEs wait in this barrier */
roc_shmem_barrier_all();
rocshmem_barrier_all();
roc_shmem_finalize();
rocshmem_finalize();
return 0;
}