PTDFeatureError

phasic.exceptions.PTDFeatureError()

Feature not available on this platform.

Raised when a feature is requested that is not supported on the current platform (e.g., GPU features on CPU-only system).

Examples

>>> ptd.configure(platform='gpu')  # On CPU-only system
PTDFeatureError: platform='gpu' requested but no GPU available.
  Available platforms: ['cpu']
  Install GPU support or set platform='cpu'