rust/tests/assembly/nvptx-arch-target-cpu.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
323 B
Rust
Raw Normal View History

2019-02-27 22:31:30 +00:00
//@ assembly-output: ptx-linker
//@ compile-flags: --crate-type cdylib -C target-cpu=sm_50
//@ only-nvptx64
2019-06-12 21:09:08 +00:00
//@ ignore-nvptx64
2019-02-27 22:31:30 +00:00
#![no_std]
//@ aux-build: breakpoint-panic-handler.rs
extern crate breakpoint_panic_handler;
// Verify target arch override via `target-cpu`.
// CHECK: .target sm_50
// CHECK: .address_size 64