Skip to content

Commit

Permalink
Add missing override.
Browse files Browse the repository at this point in the history
Add ArgumentConversion module to the python library to resolve symbols.
  • Loading branch information
schweitzpgi committed Aug 14, 2024
1 parent 7b0fc51 commit d9d4185
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/extension/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ declare_mlir_python_extension(CUDAQuantumPythonSources.Extension
../../runtime/cudaq/platform/common/QuantumExecutionQueue.cpp
../../runtime/cudaq/platform/default/rest_server/RemoteRuntimeClient.cpp
../../runtime/cudaq/platform/orca/OrcaQPU.cpp
../../runtime/common/ArgumentConversion.cpp

EMBED_CAPI_LINK_LIBS
CUDAQuantumMLIRCAPI
Expand Down
5 changes: 5 additions & 0 deletions runtime/cudaq/platform/mqpu/custatevec/GPUEmulatedQPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ class GPUEmulatedQPU : public cudaq::QPU {
kernelFunc(args);
}

void launchKernel(const std::string &name,
const std::vector<void *> &rawArgs) override {
throw std::runtime_error("not implemented");
}

/// Overrides setExecutionContext to forward it to the ExecutionManager
void setExecutionContext(cudaq::ExecutionContext *context) override {
cudaSetDevice(qpu_id);
Expand Down

0 comments on commit d9d4185

Please sign in to comment.