Skip to content

Commit dca5463

Browse files
committed
Give up for now
Revert the last 3 commits
1 parent 7e180f8 commit dca5463

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ steps:
103103
julia -e 'println("--- :julia: Instantiating project")
104104
using Pkg
105105
Pkg.develop(; path=pwd())
106-
Pkg.add(; url="https://github.com/JuliaGPU/oneAPI.jl", rev="amontoison-patch-1")' || exit 3
106+
Pkg.develop(; name="oneAPI")' || exit 3
107107
108108
julia -e 'println("+++ :julia: Running tests")
109109
using Pkg

examples/histogram.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include(joinpath(dirname(pathof(KernelAbstractions)), "../examples/utils.jl")) #
77
function create_histogram(input)
88
histogram_output = zeros(eltype(input), maximum(input))
99
for i in input
10-
histogram_output[i] += eltype(input)(1)
10+
histogram_output[i] += 1
1111
end
1212
return histogram_output
1313
end
@@ -85,18 +85,11 @@ end
8585
histogram_rand_baseline = create_histogram(rand_input)
8686
histogram_linear_baseline = create_histogram(linear_input)
8787
histogram_two_baseline = create_histogram(all_two)
88-
@show eltype(histogram_rand_baseline)
89-
@show eltype(histogram_linear_baseline)
90-
@show eltype(histogram_two_baseline)
9188

9289
rand_input = move(backend, rand_input)
9390
linear_input = move(backend, linear_input)
9491
all_two = move(backend, all_two)
9592

96-
@show eltype(rand_input)
97-
@show eltype(linear_input)
98-
@show eltype(all_two)
99-
10093
rand_histogram = KernelAbstractions.zeros(backend, Int32, 128)
10194
linear_histogram = KernelAbstractions.zeros(backend, Int32, 1024)
10295
two_histogram = KernelAbstractions.zeros(backend, Int32, 2)

0 commit comments

Comments
 (0)