Skip to content

Commit f20a007

Browse files
committed
[nvvm]: changed default virtual compute architecture to minimum supported by CUDA 12
1 parent 686d1cc commit f20a007

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/nvvm/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ impl FromStr for NvvmOption {
267267
}
268268
}
269269

270-
/// Nvvm architecture, default is `Compute52`
270+
/// Nvvm architecture, default is `Compute61`
271271
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
272272
pub enum NvvmArch {
273273
/// Kepler architecture (deprecated since CUDA 9).
@@ -314,7 +314,7 @@ impl Display for NvvmArch {
314314

315315
impl Default for NvvmArch {
316316
fn default() -> Self {
317-
Self::Compute52
317+
Self::Compute61
318318
}
319319
}
320320

0 commit comments

Comments
 (0)