Skip to content

wagler/shims

Repository files navigation

Ripped pthread_test from an example of pthread rw locks I found on IBM's website. (https://www.ibm.com/docs/en/aix/7.2?topic=programming-using-readwrite-locks) Ripped the cuda test from Nvidia's Cuda basic demo webpage. (https://developer.nvidia.com/blog/easy-introduction-cuda-c-and-c/)

Just run the compile_all.sh script to do all the compilation. You might have to change the path to the cuda directory in the script first though.

To run the cuda example, you can run "LD_PRELOAD=./cuda_shim.so ./cuda_test" To run the pthread example, you can run "LD_PRELOAD=./pthread_shim.so ./pthread_test"

About

Shims for pthread and cuda functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published