[NVQC] New launch kernel is failing for NVQC
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.1k
- Forks
- 455
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 165
Description
Required prerequisites
- Consult the security policy. If reporting a security vulnerability, do not report the bug using this form. Use the process described in the policy to report the issue.
- Make sure you've read the documentation. Your issue may be addressed there.
- Search the issue tracker to verify that this hasn't already been reported. +1 or comment there if it has.
- If possible, make a PR with a failing test to give us a starting point to work on!
Describe the bug
A code with state pointer argument (targettests/Remote-Sim/state_init.cpp) currently fails for NVQC with a message from old argument synthesis:
error: 'func.func' op synthesis: unsupported argument type for remote devices and simulators: state*
Note that command line tells to execute the new argument synthesis:
nvq++ %cpp_std --enable-mlir --target remote-mqpu -fkernel-exec-kind=2 %s -o %t && %t | FileCheck %s
Steps to reproduce the bug
Run targettests/Remote-Sim/state_init.cpp for NVQC
Expected behavior
The test should execute successfully.
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
- CUDA Quantum version:
- Python version:
- C++ compiler:
- Operating system:
Suggestions
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with targettests/Remote-Sim/state_init.cpp and run the provided nvq++ command for NVQC. Trace why the state pointer reaches old argument synthesis despite the new argument-synthesis flag, and consider the work complete when the test executes successfully without the unsupported argument type error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- quantum-computing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100