rust/tests/assembly/nvptx-arch-default.rs

13 lines
323 B
Rust
Raw Normal View History

//@ assembly-output: ptx-linker
//@ compile-flags: --crate-type cdylib -Z unstable-options -Clinker-flavor=llbc
//@ only-nvptx64
2019-02-27 16:31:30 -06:00
#![no_std]
//@ aux-build: breakpoint-panic-handler.rs
2019-02-27 16:31:30 -06:00
extern crate breakpoint_panic_handler;
// Verify default target arch with ptx-linker.
// CHECK: .target sm_30
// CHECK: .address_size 64