openmp-tutorial
openmp-tutorial copied to clipboard
Exercises and Solutions for "Programming Your GPU with OpenMP: A Hands-On Introduction"
Under what license is this material provided, please?
The `Make_def_files/linux_pgi.def` compiles the code of this repository in binaries with `pgcc -mp -fast` however current PGI/NVIDIA pgcc (aka nvc) 20.11-0 will not offload the code to the gpu unless...
I think a tiny example such as ``` $ cat devices.c #include #include int main() { printf("There are %d devices\n", omp_get_num_devices()); } ``` Would be a useful add to the...
Not sure if I am doing anything wrong or if some small changes are needed to the `linux_gnu.def` or to `vadd_heap.c` file: ``` $ git rev-parse HEAD 742cab2e84c164fe67ddc023e8421121e517e791 $ git...
When using the `llvm-main` compiler, compiling the Jacobi example results in: ``` clang -O3 -fopenmp --offload-arch=sm_75 -DUSE_ALLOCATE=1 -o jac_solv jac_solv.o mm_utils.o /usr/bin/ld: jac_solv.o: undefined reference to symbol 'sqrt@@GLIBC_2.2.5' /usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6:...