Gurunath Kadam via llvm-dev
2016-Dec-16 00:06 UTC
[llvm-dev] LLVM CUDA: Load/Store operands not captured
Hi, I am trying to write a CUDA memory instrumentation code. So far I have made little progress, please see attached file. In lines 82 and 88 I get error as: ‘LoadOperand’ is not captured and ‘StoreOperand’ is not captured Unfortunately, I am not able to tell if the error is generic C++ or LLVM related. Earlier I had verified the "syntax" of such code in a dummy C++ implementation, which worked just fine. But I am lost here. Can someone please point me in the right direction? Note: the code is still incomplete (profiling instructions insertion part etc.). And might have more bugs. You can ignore those if you want. thank you. -Gurunath -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161215/0c26bd07/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: CUDAMemTrace.cpp Type: text/x-c++src Size: 3880 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161215/0c26bd07/attachment.cpp>
Maybe Matching Threads
- llvm/cuda: Indentify kernel functions and optimizations
- llvm/cuda: Indentify kernel functions and optimizations
- Assign different RegClasses to a virtual, register based on 'uniform' attribute?
- LLVM/CLANG: CUDA compilation fail for inline assembly code
- LLVM Pass for Instructions in Function (error