We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9dc8b9 commit d2a7eb2Copy full SHA for d2a7eb2
1 file changed
src/environment.jl
@@ -374,6 +374,25 @@ function has_rocm()
374
end
375
376
377
+"""
378
+ MPI.has_oneapi()
379
+
380
+Check if the MPI implementation is known to have oneAPI support.
381
382
+This can be overridden by setting the `JULIA_MPI_HAS_ONEAPI` environment variable to `true`
383
+or `false`.
384
385
+See also [`MPI.has_cuda`](@ref) and [`MPI.has_rocm`](@ref) for CUDA and ROCm support.
386
387
+function has_oneapi()
388
+ flag = get(ENV, "JULIA_MPI_HAS_ONEAPI", nothing)
389
+ if flag === nothing
390
+ return false
391
+ else
392
+ return parse(Bool, flag)
393
+ end
394
+end
395
396
"""
397
MPI.has_gpu()
398
0 commit comments