Skip to content

Commit

Permalink
* Move 'remote' builder test under 'builder' directory
Browse files Browse the repository at this point in the history
  • Loading branch information
khalatepradnya committed Feb 13, 2024
1 parent 3db62ae commit b404381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@

@pytest.fixture(scope="session", autouse=True)
def startUpMockServer():
cudaq.set_target("remote-mqpu",
auto_launch=str(num_qpus))
cudaq.set_target("remote-mqpu", auto_launch=str(num_qpus))
yield
cudaq.reset_target()

Expand Down
5 changes: 1 addition & 4 deletions python/tests/kernel/test_remote_platform_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

num_qpus = 3


skipRemoteBackendForEagerMode = pytest.mark.skipif(
os.getenv("CUDAQ_PYTEST_EAGER_MODE") == 'ON',
reason="remote qpu supported only for MLIR mode of execution")
Expand All @@ -31,9 +30,7 @@ def do_something():

@pytest.fixture(scope="session", autouse=True)
def startUpMockServer():
cudaq.set_target("remote-mqpu",
remote_execution=True,
auto_launch=str(num_qpus))
cudaq.set_target("remote-mqpu", auto_launch=str(num_qpus))
yield
cudaq.reset_target()

Expand Down

0 comments on commit b404381

Please sign in to comment.