about summary refs log tree commit diff
path: root/tests/codegen/gpu-kernel-abi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/gpu-kernel-abi.rs')
-rw-r--r--tests/codegen/gpu-kernel-abi.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/codegen/gpu-kernel-abi.rs b/tests/codegen/gpu-kernel-abi.rs
deleted file mode 100644
index 8ac376d9338..00000000000
--- a/tests/codegen/gpu-kernel-abi.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// Checks that the gpu-kernel calling convention correctly translates to LLVM calling conventions.
-
-//@ add-core-stubs
-//@ revisions: nvptx
-//@ [nvptx] compile-flags: --crate-type=rlib --target=nvptx64-nvidia-cuda
-//@ [nvptx] needs-llvm-components: nvptx
-#![feature(no_core, lang_items, abi_gpu_kernel)]
-#![no_core]
-
-extern crate minicore;
-use minicore::*;
-
-// nvptx: define ptx_kernel void @fun(i32
-#[no_mangle]
-pub extern "gpu-kernel" fn fun(_: i32) {}