Skip to content

Commit

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

#[cfg(all(feature = "cuda", not(target_os = "macos")))]
#[cfg(all(feature = "cuda", target_os = "linux"))]
mod cuda {
use super::*;
use cudarc::driver::{CudaDevice, CudaSlice, DeviceRepr, ValidAsZeroBits};
Expand Down Expand Up @@ -443,7 +443,7 @@ impl<E: ElementType> Drop for AlignedBuffer<E> {
#[cfg(test)]
mod tests {
use super::*;
#[cfg(all(feature = "cuda", not(target_os = "macos")))]
#[cfg(all(feature = "cuda", target_os = "linux"))]
use crate::pool::cuda::CuCudaPool;
use std::cell::RefCell;

Expand Down Expand Up @@ -475,7 +475,7 @@ mod tests {
assert!(obj5.is_none());
}

#[cfg(all(feature = "cuda", not(target_os = "macos")))]
#[cfg(all(feature = "cuda", target_os = "linux"))]
#[test]
#[ignore] // Can only be executed if a real CUDA device is present
fn test_cuda_pool() {
Expand All @@ -502,7 +502,7 @@ mod tests {
assert!(obj5.is_none());
}

#[cfg(all(feature = "cuda", not(target_os = "macos")))]
#[cfg(all(feature = "cuda", target_os = "linux"))]
#[test]
#[ignore] // Can only be executed if a real CUDA device is present
fn test_copy_roundtrip() {
Expand Down

0 comments on commit bf912c0

Please sign in to comment.