Ipython extension to execute CUDA C code in Jupyter notebook. Now you can easily use the power of Google colab GPUs with your CUDA C code.
See this example colab notebook.
- Install the extension
!pip install jupyda
- Load the extension
%load_ext jupyda
- Check the params of the extension (optional)
%%jupyda?
- Execute a cell with
nvcc
%%jupyda
- Adding a cell as a header file named
add.h
%%jupyda -n add.h -nc
- To use the header file in a subsequent cell and execute
%%jupyda
#include"add.h"