This commit is contained in:
Ryan Oldenburg 2022-06-27 00:35:09 -05:00
parent cf70022144
commit 741234786c
2 changed files with 1 additions and 1 deletions

View file

@ -3,7 +3,7 @@ import bumpy, chroma, common, system/memory, vmath
const allowSimd* = not defined(pixieNoSimd) and not defined(tcc) const allowSimd* = not defined(pixieNoSimd) and not defined(tcc)
when defined(amd64) and allowSimd: when defined(amd64) and allowSimd:
import nimsimd/runtimecheck, nimsimd/sse2, simd/avx import nimsimd/runtimecheck, nimsimd/sse2, runtimechecked/avx
let cpuHasAvx* = checkInstructionSets({AVX}) let cpuHasAvx* = checkInstructionSets({AVX})
template currentExceptionAsPixieError*(): untyped = template currentExceptionAsPixieError*(): untyped =