@@ -25,6 +25,7 @@ mod simd;
25
25
/// * [`mips64`]
26
26
/// * [`PowerPC`]
27
27
/// * [`PowerPC64`]
28
+ /// * [`NVPTX`]
28
29
///
29
30
/// [`x86`]: https://rust-lang-nursery.github.io/stdsimd/x86/stdsimd/arch/index.html
30
31
/// [`x86_64`]: https://rust-lang-nursery.github.io/stdsimd/x86_64/stdsimd/arch/index.html
@@ -34,6 +35,7 @@ mod simd;
34
35
/// [`mips64`]: https://rust-lang-nursery.github.io/stdsimd/mips64/stdsimd/arch/index.html
35
36
/// [`PowerPC`]: https://rust-lang-nursery.github.io/stdsimd/powerpc/stdsimd/arch/index.html
36
37
/// [`PowerPC64`]: https://rust-lang-nursery.github.io/stdsimd/powerpc64/stdsimd/arch/index.html
38
+ /// [`NVPTX`]: https://rust-lang-nursery.github.io/stdsimd/nvptx/stdsimd/arch/index.html
37
39
#[ stable( feature = "simd_arch" , since = "1.27.0" ) ]
38
40
pub mod arch {
39
41
/// Platform-specific intrinsics for the `x86` platform.
@@ -129,6 +131,16 @@ pub mod arch {
129
131
pub mod powerpc64 {
130
132
pub use coresimd:: powerpc64:: * ;
131
133
}
134
+
135
+ /// Platform-specific intrinsics for the `NVPTX` platform.
136
+ ///
137
+ /// See the [module documentation](../index.html) for more details.
138
+ #[ cfg( any( target_arch = "nvptx" , target_arch = "nvptx64" , dox) ) ]
139
+ #[ doc( cfg( any( target_arch = "nvptx" , target_arch = "nvptx64" ) ) ) ]
140
+ #[ unstable( feature = "stdsimd" , issue = "27731" ) ]
141
+ pub mod nvptx {
142
+ pub use coresimd:: nvptx:: * ;
143
+ }
132
144
}
133
145
134
146
mod simd_llvm;
@@ -161,4 +173,6 @@ mod powerpc;
161
173
#[ doc( cfg( target_arch = "powerpc64" ) ) ]
162
174
mod powerpc64;
163
175
176
+ #[ cfg( any( target_arch = "nvptx" , target_arch = "nvptx64" , dox) ) ]
177
+ #[ doc( cfg( any( target_arch = "nvptx" , target_arch = "nvptx64" ) ) ) ]
164
178
mod nvptx;
0 commit comments