-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently, there are two types of parallelized functions: CPU and CUDA. A large number of functions need to be imported and usually the GPU version is denoted with a _gpu at the end of the function. This produces overhead when writing.
To mitigate this, an abstract class needs to be defined with the necessary functions to be implemented, Computer()
. From that class, we can derive classes such as ComputerCPU()
and ComputerCUDA()
. This enables an easier drop-in replacement, and new computer classes can be easier to implement and import.
Metadata
Metadata
Assignees
Labels
No labels