diffeqgpu_setup {diffeqr}R Documentation

Setup DiffEqGPU

Description

This function initializes the DiffEqGPU package for GPU-parallelized ensembles. The first time will be long since it includes precompilation.

Usage

diffeqgpu_setup()

Value

Returns a degpu object which holds the module state of the Julia-side DiffEqGPU package. The core use is to use degpu$EnsembleGPUArray() for choosing the GPU dispatch in the solve.

Examples


## Not run:  ## diffeqgpu_setup() is time-consuming and requires Julia+DifferentialEquations.jl

degpu <- diffeqr::diffeqgpu_setup()


## End(Not run)


[Package diffeqr version 1.1.1 Index]