summaryrefslogtreecommitdiff
path: root/tests/assembly/nvptx-arch-target-cpu.rs
blob: 824ee9cd89732163cf4812d1b420d59a89af4947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// assembly-output: ptx-linker
// compile-flags: --crate-type cdylib -C target-cpu=sm_50
// only-nvptx64
// ignore-nvptx64

#![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