python burgers.py
Compile use g++ -o burgers burgers.cpp
.
Run with ./burgers
. (Authorize by chmod +x burgers
)
Compile the c++
code with the extra -fPIC -shared
flags.
Also make the -o libburgers.so
to follow best practices.
Run julia main.jl
Compile using
nvcc -arch=sm_50 burgers.cu -o test
.
Run with ./test
.