diff --git a/v2/v2.py b/v2/v2.py index 5d161d1..8fd0b8c 100644 --- a/v2/v2.py +++ b/v2/v2.py @@ -29,6 +29,7 @@ class NVCCPluginV2(Magics): def compile(output_dir, file_paths, out): res = subprocess.check_output( [compiler, '-I' + output_dir, file_paths, "-o", out, '-Wno-deprecated-gpu-targets'], stderr=subprocess.STDOUT) + res = res.decode() helper.print_out(res) def run(self, timeit=False):