Skip to content

Commit 4f7cc44

Browse files
committed
gating the use of crate::intrinsics as raw behind the use of nvptx architecture
1 parent 7e2d1d1 commit 4f7cc44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/cuda_std/src/float_ext.rs

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
44
use cuda_std_macros::gpu_only;
55

6+
#[cfg(target_arch = "nvptx64")]
7+
use crate::intrinsics as raw;
8+
69
// allows us to add new functions to the trait at any time without needing a new major version.
710
mod private {
811
pub trait Sealed {}

0 commit comments

Comments
 (0)