This commit is contained in:
Ian
2023-08-05 12:08:22 +02:00
committed by Andrei Nechaev
parent aac710a35f
commit 0a71d56e5d
+1
View File
@@ -29,6 +29,7 @@ class NVCCPluginV2(Magics):
def compile(output_dir, file_paths, out): def compile(output_dir, file_paths, out):
res = subprocess.check_output( res = subprocess.check_output(
[compiler, '-I' + output_dir, file_paths, "-o", out, '-Wno-deprecated-gpu-targets'], stderr=subprocess.STDOUT) [compiler, '-I' + output_dir, file_paths, "-o", out, '-Wno-deprecated-gpu-targets'], stderr=subprocess.STDOUT)
res = res.decode()
helper.print_out(res) helper.print_out(res)
def run(self, timeit=False): def run(self, timeit=False):