• Daniel Hiltgen's avatar
    Detect lack of AVX and fallback to CPU mode · 667a2ba1
    Daniel Hiltgen authored
    We build the GPU libraries with AVX enabled to ensure that if not all
    layers fit on the GPU we get better performance in a mixed mode.
    If the user is using a virtualization/emulation system that lacks AVX
    this used to result in an illegal instruction error and crash before this
    fix.  Now we will report a warning in the server log, and just use
    CPU mode to ensure we don't crash.
    667a2ba1
gpu.go 9.5 KB