Skip to content

Device

Device

softneuro.core.Device(*args, **kwargs)

Device class which holds device specific information such as memory model, thread model, cache line size and so on.

This is a private class of softneuro, instance can not be constructed directly,users can get device instance using softneuro.get_devices().

Attributes

  • cache_line_size: Cache line size.
  • features: Features.
  • index: Device index.
  • memory_model: Device memory model.
  • name: Device name.
  • thread_model: Device thread model.