Skip to content

Commit ec5d379

Browse files
committed
Format
1 parent 2867955 commit ec5d379

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

examples/utils.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# EXCLUDE FROM TESTING
22
if !(@isdefined backend)
3-
if Base.find_package("CUDA") !== nothing
4-
using CUDA
5-
using CUDA.CUDAKernels
6-
const backend = CUDABackend()
7-
CUDA.allowscalar(false)
8-
else
9-
const backend = CPU()
10-
end
3+
if Base.find_package("CUDA") !== nothing
4+
using CUDA
5+
using CUDA.CUDAKernels
6+
const backend = CUDABackend()
7+
CUDA.allowscalar(false)
8+
else
9+
const backend = CPU()
10+
end
1111
end
1212

1313
const f_type = KernelAbstractions.supports_float64(backend) ? Float64 : Float32

0 commit comments

Comments
 (0)