We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling hipMemcpyHtoD(dst, src, size) with the same types of arguments as a succesful call to cuMemcpyHtoD gives
hipMemcpyHtoD(dst, src, size)
cuMemcpyHtoD
error: invalid conversion from 'const void*' to 'void*' [-fpermissive] 48 | .....(hipMemcpyHtoD(dst, src, size)); | ^~~ | | | const void*
So the problem is with the second argument, i.e. src with is of type const void* and not void*, which hipMemcpyHtoD needs, contrary to cuMemcpyHtoD .
src
const void*
void*
hipMemcpyHtoD
This means that just running hipconvertinplace-perl.sh is insufficient.
hipconvertinplace-perl.sh
NAME="Rocky Linux" VERSION="8.9 (Green Obsidian)"
AMD EPYC 7282 16-Core Processor
AMD Radeon Pro W6800
ROCm 6.0.0
No response
Call hipMemcpyHtoDAsync with a const void* type second argument while not using -fpermissive.
hipMemcpyHtoDAsync
-fpermissive
The text was updated successfully, but these errors were encountered:
An internal ticket has been created to track the investigation.
Sorry, something went wrong.
@HannoSpreeuw, sorry for the slow response. Issue will be addressed in an upcoming ROCm release. Thanks.
No branches or pull requests
Problem Description
Calling
hipMemcpyHtoD(dst, src, size)
with the same types of arguments as a succesful call tocuMemcpyHtoD
givesSo the problem is with the second argument, i.e.
src
with is of typeconst void*
and notvoid*
, whichhipMemcpyHtoD
needs, contrary tocuMemcpyHtoD
.This means that just running
hipconvertinplace-perl.sh
is insufficient.Operating System
NAME="Rocky Linux" VERSION="8.9 (Green Obsidian)"
CPU
AMD EPYC 7282 16-Core Processor
GPU
AMD Radeon Pro W6800
ROCm Version
ROCm 6.0.0
ROCm Component
No response
Steps to Reproduce
Call
hipMemcpyHtoDAsync
with aconst void*
type second argument while not using-fpermissive
.(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: