}
// when using nvcc with separable compilation, -dc implies -c
- if ((str_eq(argv[i], "-dc") || str_eq(argv[i], "--device-c")) && guessed_compiler == GUESSED_NVCC) {
+ if ((str_eq(argv[i], "-dc") || str_eq(argv[i], "--device-c"))
+ && guessed_compiler == GUESSED_NVCC) {
found_dc_opt = true;
continue;
}
-// Copyright (C) 2010-2019 Joel Rosdahl and other contributors
-//
-// See doc/AUTHORS.adoc for a complete list of contributors.
+// Copyright (C) 2010-2019 Joel Rosdahl
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
expect_stat 'files in cache' 3
$cuobjdump test_cuda.o > test1.dump
expect_equal_files reference_test3.dump test1.dump
-
+
# -------------------------------------------------------------------------
TEST "Option -dc"
-
+
$REAL_NVCC $nvcc_opts_cuda -dc -o reference_test4.o test_cuda.cu
$cuobjdump reference_test4.o > reference_test4.dump