Skip to content

Commit

Permalink
update another launchKernel override.
Browse files Browse the repository at this point in the history
  • Loading branch information
schweitzpgi committed Sep 27, 2024
1 parent b3446f4 commit 3177732
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/cudaq/platform/mqpu/custatevec/GPUEmulatedQPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class GPUEmulatedQPU : public cudaq::QPU {
}

void launchKernel(const std::string &name, void (*kernelFunc)(void *),
void *args, std::uint64_t, std::uint64_t) override {
void *args, std::uint64_t, std::uint64_t,
const std::vector<void *> &rawArgs) override {
cudaq::info("QPU::launchKernel GPU {}", qpu_id);
cudaSetDevice(qpu_id);
kernelFunc(args);
Expand Down

0 comments on commit 3177732

Please sign in to comment.