Skip to content

Commit

Permalink
excludes also mac in the impl
Browse files Browse the repository at this point in the history
  • Loading branch information
gbin committed Jan 17, 2025
1 parent ad6fc8b commit 7790574
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/cu29_runtime/src/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl<E: ElementType + 'static> ArrayLike for Vec<E> {
type Element = E;
}

#[cfg(feature = "cuda")]
#[cfg(all(feature = "cuda", not(target_os = "macos")))]
mod cuda {
use super::*;
use cudarc::driver::{CudaDevice, CudaSlice, DeviceRepr, DeviceSlice, ValidAsZeroBits};
Expand Down Expand Up @@ -483,7 +483,7 @@ mod tests {
assert!(obj5.is_none());
}

#[cfg(feature = "cuda")]
#[cfg(all(feature = "cuda", not(target_os = "macos")))]
#[test]
fn test_cuda_pool() {
use cudarc::driver::CudaDevice;
Expand All @@ -509,7 +509,7 @@ mod tests {
assert!(obj5.is_none());
}

#[cfg(feature = "cuda")]
#[cfg(all(feature = "cuda", not(target_os = "macos")))]
#[test]
fn test_copy_roundtrip() {
use cudarc::driver::CudaDevice;
Expand Down

0 comments on commit 7790574

Please sign in to comment.