Browse Source

pytest work without cuda

devel
stefan 2 years ago
parent
commit
1810d40959
  1. 2
      src/kyupy/logic_sim.py

2
src/kyupy/logic_sim.py

@ -291,7 +291,7 @@ class LogicSim(SimOps): @@ -291,7 +291,7 @@ class LogicSim(SimOps):
# logic.bp_or(outputs[0], self.tmp[0], inputs[2])
# logic.bp_not(outputs[0], outputs[0])
@numba.njit()
@numba.njit
def _prop_cpu(ops, vat, c):
for op, o0, i0, i1, i2, i3 in ops:
o0, i0, i1, i2, i3 = [vat[x,0] for x in (o0, i0, i1, i2, i3)]

Loading…
Cancel
Save