rtx-cfd: the cuda feature builds again — the duplicate CudaKernelManager::stream removed, the legacy k-epsilon GPU model (broken since the initial commit) kept out of the build
CI / Build (macos-latest) (push) Waiting to run
CI / Test (macos-latest) (push) Blocked by required conditions
CI / Test (ubuntu-latest) (push) Blocked by required conditions
CI / Python Bindings (maturin) (macos-latest) (push) Blocked by required conditions
CI / Python Bindings (maturin) (ubuntu-latest) (push) Blocked by required conditions
CI / WASM Build + Size Check (push) Blocked by required conditions
CI / Distributed Training Tests (push) Blocked by required conditions
CI / CI Success (push) Blocked by required conditions
CI / Format Check (push) Failing after 5s
CI / Build CPU-Only (Explicit) (push) Failing after 6s
Performance Benchmarks / Run Benchmarks (push) Failing after 7s
CI / Clippy Check (push) Failing after 16s
Documentation / Build User Guide (push) Successful in 12s
Documentation / Build API Documentation (push) Failing after 12s
CI / Build (ubuntu-latest) (push) Failing after 24s
CI / Build (macos-latest) (push) Waiting to run
CI / Test (macos-latest) (push) Blocked by required conditions
CI / Test (ubuntu-latest) (push) Blocked by required conditions
CI / Python Bindings (maturin) (macos-latest) (push) Blocked by required conditions
CI / Python Bindings (maturin) (ubuntu-latest) (push) Blocked by required conditions
CI / WASM Build + Size Check (push) Blocked by required conditions
CI / Distributed Training Tests (push) Blocked by required conditions
CI / CI Success (push) Blocked by required conditions
CI / Format Check (push) Failing after 5s
CI / Build CPU-Only (Explicit) (push) Failing after 6s
Performance Benchmarks / Run Benchmarks (push) Failing after 7s
CI / Clippy Check (push) Failing after 16s
Documentation / Build User Guide (push) Successful in 12s
Documentation / Build API Documentation (push) Failing after 12s
CI / Build (ubuntu-latest) (push) Failing after 24s
This commit is contained in:
@@ -124,11 +124,6 @@ impl CudaKernelManager {
|
||||
.ok_or_else(|| CfdError::gpu_error(&format!("Module {} not found", name)))
|
||||
}
|
||||
|
||||
/// Get the CUDA stream
|
||||
pub fn stream(&self) -> &Arc<CudaStream> {
|
||||
&self.stream
|
||||
}
|
||||
|
||||
/// Perform GPU reduction to compute sum
|
||||
pub fn reduce_sum(&self, input: &CudaSlice<f32>) -> CfdResult<f32> {
|
||||
let n = input.len();
|
||||
|
||||
Reference in New Issue
Block a user