Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 663 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 663 Bytes

jupyda

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.

Usage:

  1. Install the extension
    !pip install jupyda
  2. Load the extension
    %load_ext jupyda
  3. Check the params of the extension (optional)
    %%jupyda?
  4. Execute a cell with nvcc
    %%jupyda
  5. Adding a cell as a header file named add.h
    %%jupyda -n add.h -nc
  6. To use the header file in a subsequent cell and execute
    %%jupyda #include"add.h"