diff --git a/v1/v1.py b/v1/v1.py index 9bd0410..6077ef6 100644 --- a/v1/v1.py +++ b/v1/v1.py @@ -5,7 +5,7 @@ import uuid from IPython.core.magic import Magics, cell_magic, magics_class -compiler = '/usr/local/cuda/bin/nvcc' +compiler = '/usr/local/cuda/bin/nvcc -Wno-deprecated-gpu-targets' ext = '.cu' diff --git a/v2/v2.py b/v2/v2.py index 8a2d605..26db630 100644 --- a/v2/v2.py +++ b/v2/v2.py @@ -5,7 +5,7 @@ from IPython.core.magic import Magics, cell_magic, magics_class from IPython.core.magic_arguments import argument, magic_arguments, parse_argstring from common import helper -compiler = '/usr/local/cuda/bin/nvcc' +compiler = '/usr/local/cuda/bin/nvcc --Wno-deprecated-gpu-targets' @magics_class class NVCCPluginV2(Magics):