aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorRenaud Kauffmann <rkauffmann@nvidia.com>2024-10-30 13:24:47 -0700
committerGitHub <noreply@github.com>2024-10-30 13:24:47 -0700
commitbfe486fe764667d514124faf2b39afb7e7322640 (patch)
treeec49939dad1db3e48f56d1fed8707bc90be6faa0 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent84a78abdf5999e58e4120e20594ac2ad37472295 (diff)
downloadllvm-bfe486fe764667d514124faf2b39afb7e7322640.zip
llvm-bfe486fe764667d514124faf2b39afb7e7322640.tar.gz
llvm-bfe486fe764667d514124faf2b39afb7e7322640.tar.bz2
Passing descriptors by reference to CUDA runtime calls (#114288)
Passing a descriptor as a `const Descriptor &` or a `const Descriptor *` generates a FIR signature where the box is passed by value. This is an issue, as it requires a load of the box to be passed. But since, ultimately, all boxes are passed by reference a temporary is generated in LLVM and the reference to the temporary is passed. The boxes addresses are registered with the CUDA runtime but the temporaries are not, thus preventing the runtime to properly map a host side address to its device side counterpart. To address this issue, this PR changes the signatures to the transfer functions to pass a descriptor as a `Descriptor *`, which will in turn generate a FIR signature with that takes a box reference as an argument.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions