mirror of
https://github.com/andreinechaev/nvcc4jupyter.git
synced 2026-06-13 18:50:47 +05:30
9 lines
227 B
Python
9 lines
227 B
Python
from IPython.core.interactiveshell import InteractiveShell
|
|
|
|
from v1.v1 import NVCCPlugin as NVCC_V1
|
|
|
|
|
|
def load_ipython_extension(shell: InteractiveShell):
|
|
nvcc_plugin = NVCC_V1(shell)
|
|
shell.register_magics(nvcc_plugin)
|