Closed martin-abrudsky closed 1 year ago
Yes, there was a breaking change, which is why a new major version was released which signals a breaking update.
@utkarsh530 did you not update the docs?
@martin-abrudsky You'll need to provide a backend for the GPU codes to compile. For Nvidia GPUs, do something like this:
using CUDA
backend = CUDA.CUDABackend()
solve(monteprob, Tsit5(), EnsembleGPUArray(backend), ...)
Or else reference the tests; they have the updated API. https://github.com/SciML/DiffEqGPU.jl/blob/master/test/ensemblegpuarray.jl#L23 I will update the docs by this weekend.
I enabled doctests so you get build failures for this in the future, and wrote a page on the backends. @utkarsh530 complete https://github.com/SciML/DiffEqGPU.jl/pull/255 and then we can close this.
The new documentation is fully tested at build time and is updated to v2, so after about 20 minutes https://github.com/SciML/DiffEqGPU.jl/pull/255 will have solved this. Thanks for bringing this to my attention.
Hi, I updated the library to version v2.1.0 and the codes that previously worked for me with the EnsembleGPUArray() now throw me the following error