UnsupportedArchError

UnsupportedArchError#

class brainevent.UnsupportedArchError(message, *, compiler_output='', command='', stage='')#

nvcc does not support the requested GPU architecture (E-ARCH-UNSUP).

Raised when the detected/requested compute capability is newer than the installed CUDA toolkit understands (e.g. sm_120 on a CUDA 12 nvcc).

Parameters:
  • message (str) – Human-readable description and remediation.

  • compiler_output (str) – Captured nvcc stderr/stdout.

  • command (str) – The nvcc command that failed.

  • stage (str) – Compilation stage ("compile" / "build").