|
187 | 187 | /// * [`mips64`]
|
188 | 188 | /// * [`powerpc`]
|
189 | 189 | /// * [`powerpc64`]
|
| 190 | +/// * [`nvptx`] |
190 | 191 | ///
|
191 | 192 | /// [`x86`]: x86/index.html
|
192 | 193 | /// [`x86_64`]: x86_64/index.html
|
|
196 | 197 | /// [`mips64`]: mips64/index.html
|
197 | 198 | /// [`powerpc`]: powerpc/index.html
|
198 | 199 | /// [`powerpc64`]: powerpc64/index.html
|
| 200 | +/// [`nvptx`]: nvptx/index.html |
199 | 201 | ///
|
200 | 202 | /// # Examples
|
201 | 203 | ///
|
@@ -380,6 +382,10 @@ pub mod arch {
|
380 | 382 | #[unstable(feature = "stdsimd", issue = "27731")]
|
381 | 383 | pub use coresimd::arch::powerpc64;
|
382 | 384 |
|
| 385 | + #[cfg(all(not(dox), any(target_arch = "nvptx", target_arch = "nvptx64")))] |
| 386 | + #[unstable(feature = "stdsimd", issue = "27731")] |
| 387 | + pub use coresimd::arch::nvptx; |
| 388 | + |
383 | 389 | #[doc(hidden)] // unstable implementation detail
|
384 | 390 | #[unstable(feature = "stdsimd", issue = "27731")]
|
385 | 391 | pub mod detect;
|
@@ -479,4 +485,16 @@ pub mod arch {
|
479 | 485 | #[doc(cfg(target_arch = "powerpc64"))]
|
480 | 486 | #[unstable(feature = "stdsimd", issue = "27731")]
|
481 | 487 | pub mod powerpc64 {}
|
| 488 | + |
| 489 | + /// Platform-specific intrinsics for the `nvptx` platform. |
| 490 | + /// |
| 491 | + /// The documentation with the full listing of `nvptx` intrinsics is |
| 492 | + /// available in [libcore], but the module is re-exported here in std |
| 493 | + /// as well. |
| 494 | + /// |
| 495 | + /// [libcore]: ../../../core/arch/nvptx/index.html |
| 496 | + #[cfg(dox)] |
| 497 | + #[doc(cfg(any(target_arch = "nvptx", target_arch = "nvptx64")))] |
| 498 | + #[unstable(feature = "stdsimd", issue = "27731")] |
| 499 | + pub mod nvptx {} |
482 | 500 | }
|
0 commit comments