File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ BNKChainRulesCore = "ChainRulesCore"
1616BNKJuMP = " JuMP"
1717
1818[compat ]
19- ExaModels = " 0.8.3 "
19+ ExaModels = " 0.9 "
2020
2121[extras ]
2222AcceleratedKernels = " 6a4ca0a5-0e36-4168-a932-d9be78d558f1"
Original file line number Diff line number Diff line change @@ -24,15 +24,6 @@ using CUDA
2424using Random
2525import GPUArraysCore: @allowscalar
2626
27- ExaModels. convert_array (x, :: OpenCLBackend ) = CLArray (x)
28- ExaModels. sort! (array:: CLArray ; lt = isless) = AcceleratedKernels. sort! (array; lt= lt)
29- function Base. findall (f:: F , bitarray:: CLArray ) where {F<: Function }
30- a = Array (bitarray)
31- b = findall (f, a)
32- c = similar (bitarray, eltype (b), length (b))
33- return copyto! (c, b)
34- end
35- Base. findall (bitarray:: CLArray ) = Base. findall (identity, bitarray)
3627
3728if haskey (ENV , " BNK_TEST_CUDA" )
3829 @info " CUDA detected"
You can’t perform that action at this time.
0 commit comments