Compute System¶
-
class
pyogmaneo.ComputeSystem¶
Contains context information for accelerating compution.
-
ComputeSystem.__init__(self, type="gpu", seed=1234, platformIndex=-1, deviceIndex=-1)¶ Initialize the compute system.
Parameters: - type – (string) device type, can be “cpu”, “gpu”, or “all”
- seed – (uint64) random number generator seed
- platformIndex – (int32) index of platform. Set to -1 to use default
- deviceIndex – (int32) index of device. Set to -1 to use default