added in decorator to mark GPU
This commit is contained in:
@@ -22,7 +22,7 @@ def time(func):
|
|||||||
time = end - start
|
time = end - start
|
||||||
return time, res
|
return time, res
|
||||||
|
|
||||||
|
@pytest.mark.gpu
|
||||||
@pytest.mark.parametrize("nqubits", [1, 2, 5, 10])
|
@pytest.mark.parametrize("nqubits", [1, 2, 5, 10])
|
||||||
def test_eval(nqubits: int):
|
def test_eval(nqubits: int):
|
||||||
import qibotn.cutn
|
import qibotn.cutn
|
||||||
|
|||||||
Reference in New Issue
Block a user