quil-lang / qvm

The high-performance and featureful Quil simulator.
Other
411 stars 57 forks source link

Make QVM-INTRINSICS work again. #289

Closed karlosz closed 2 years ago

karlosz commented 2 years ago
stylewarning commented 2 years ago

We need to figure out how to make sure this won't break downstream users. I don't think all current virtualized cloud users of QVM have AVX2 but do benefit considerably from the intrinsics.

karlosz commented 2 years ago

OK, I think we can just frob (sb-alien:extern-alien "avx2_supported" int) then to do the check. Maybe just checking it at read time is enough.