aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/builtins-nvptx-ptx50.cu
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/builtins-nvptx-ptx50.cu')
-rw-r--r--test/CodeGen/builtins-nvptx-ptx50.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/builtins-nvptx-ptx50.cu b/test/CodeGen/builtins-nvptx-ptx50.cu
index e85be442eb47..72e1aecb4870 100644
--- a/test/CodeGen/builtins-nvptx-ptx50.cu
+++ b/test/CodeGen/builtins-nvptx-ptx50.cu
@@ -18,6 +18,6 @@
// CHECK-LABEL: test_fn
__device__ void test_fn(double d, double* double_ptr) {
// CHECK: call double @llvm.nvvm.atomic.load.add.f64.p0f64
- // expected-error@+1 {{'__nvvm_atom_add_gen_d' needs target feature satom}}
+ // expected-error@+1 {{'__nvvm_atom_add_gen_d' needs target feature sm_60}}
__nvvm_atom_add_gen_d(double_ptr, d);
}