Skip to content

Commit 1033f2c

Browse files
committed
Exclude some 'not implemented' fallbacks from coverage.
1 parent 7bbbe4d commit 1033f2c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/abstract_gpu_interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function gpu_call(kernel, A::AbstractArray, args::Tuple, configuration = length(
4444
end
4545

4646
# Internal GPU call function, that needs to be overloaded by the backends.
47-
_gpu_call(::Any, f, A, args, thread_blocks) = error("Not implemented")
47+
_gpu_call(::Any, f, A, args, thread_blocks) = error("Not implemented") # COV_EXCL_LINE
4848

4949

5050
"""

src/ondevice.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
for sym in (:x, :y, :z)
77
for f in (:blockidx, :blockdim, :threadidx, :griddim)
88
fname = Symbol(string(f, '_', sym))
9-
@eval $fname(state)::Int = error("Not implemented")
9+
@eval $fname(state)::Int = error("Not implemented") # COV_EXCL_LINE
1010
@eval export $fname
1111
end
1212
end
@@ -79,7 +79,7 @@ in CUDA terms `__synchronize`
7979
in OpenCL terms: `barrier(CLK_LOCAL_MEM_FENCE)`
8080
"""
8181
function synchronize_threads(state)
82-
error("Not implemented")
82+
error("Not implemented") # COV_EXCL_LINE
8383
end
8484

8585

@@ -131,5 +131,5 @@ approriately get the correct Local mem id in CUDAnative.
131131
This is an internal method which needs to be overloaded by the GPU Array backends
132132
"""
133133
function LocalMemory(state, ::Type{T}, ::Val{N}, ::Val{C}) where {N, T, C}
134-
error("Not implemented")
134+
error("Not implemented") # COV_EXCL_LINE
135135
end

0 commit comments

Comments
 (0)