From b88614e6e568720d48927b80fd989f6daba5d3e8 Mon Sep 17 00:00:00 2001 From: Said Sakuh Date: Thu, 27 Jun 2019 00:52:11 +0300 Subject: [PATCH] no deprecated archs flag for nvcc (#4) * Update v1.py * Update v2.py --- v1/v1.py | 2 +- v2/v2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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):