Make the Csr::automatical
strategy work with gko::Executor
#425
Labels
is:enhancement
An improvement of an existing feature.
is:idea
Just a thought - if it's good, it could evolve into a proposal.
is:interface-breaking
This change may break interface compatibility. Can only be done through a major release.
is:question
This is a question to the developers.
mod:core
This is related to the core module.
type:matrix-format
This is related to the Matrix formats
Currently, we need either a
HipExecutor
or aCudaExecutor
to create theCsr::automatical
strategy.It would be a lot easier to have a constructor that just takes a
gko::Executor
, so we could use it with any executor.One way of implementing that is to remove the constructors that take
HipExecutor
andCudaExecutor
and replace it with one that just takesExecutor
, which usesdynamic_cast
to check for CUDA and HIP executors, while also working for different executors.However, this might break interface, so we have to discuss on that.
The text was updated successfully, but these errors were encountered: