Commit 7d491e8
authored
Enable build Intel backend in onemkl interfaces on CUDA (#2229)
This PR suggests to enable `MKLGPU_BACKEND` and `MKLCPU_BACKEND` builds
in OneMKL Interfaces during build on CUDA with `--target=cuda` flag to
ensure that all available devices can be used
Previous implementation only allowed array allocation on `cuda::gpu`
device with `ONEAPI_DEVICE_SEELCTOR=cuda:gpu` env variable enabled and
threw RuntimeError otherwise.1 parent d83ea3d commit 7d491e8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
| 115 | + | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments