Do we need separate MultiCPU
and MultiGPU
architectures?
#2020
Labels
abstractions 🎨
Whatever that means
MultiCPU
and MultiGPU
architectures?
#2020
The two structs are identical:
Oceananigans.jl/src/Distributed/multi_architectures.jl
Lines 6 to 22 in a3faff7
An alternate design would use a single
DistributedArchitecture
(or something), with a propertychild_architecture
that could beCPU
orGPU
.Doing this would require us to get rid of
AbstractCPUArchitecture
andAbstractGPUArchitecture
(or turn them into type unions). I don't think we use these abstract types, do we?@ali-ramadhan @kpamnany
The text was updated successfully, but these errors were encountered: