You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't find how this script is used. It assumes some ubuntu defaults which makes hip non-compile-able on other platforms.
In particular, the parameter "OPT_PROF_API" I'm having a hard time finding. Exactly what should its value be?
It's called effectively like so, I believe;
But this fails to do the right thing, producing a malformed header file as it spits out this warning message:
/home/aphid/src/rocm/09_hip/clr/hipamd/src/hip_prof_gen.py Warning: src directory /home/aphid/src/rocm/09_hip/hip/include/hip/hip_runtime_api.h' not found
Clearly, the order of arguments is wrong or the arguments are badly specified or badly named. Now, I can analyze the code and try to piece back together exactly what the parameters should be, but expecting everyone who compiles it to do that work is a bit much...
Could this script get a standard linux/unix -h function that explains its use, and, in particular, what each parameter is. Or a man page. Ideally, include an example, in particular the standard way it's used within the cmake of hip/clr.
Attach any links, screenshots, or additional evidence you think will be helpful.
No response
The text was updated successfully, but these errors were encountered:
AphidGit
changed the title
[Documentation]: hipamd/src /hip_prof_gen.py no explanation of its use.
[Documentation]: hipamd/src/hip_prof_gen.py no explanation of its use.
Jul 13, 2024
Description of errors
I can't find how this script is used. It assumes some ubuntu defaults which makes hip non-compile-able on other platforms.
In particular, the parameter "OPT_PROF_API" I'm having a hard time finding. Exactly what should its value be?
It's called effectively like so, I believe;
Then, I specified the following, intending to use
rocprofiler
as profile API;But this fails to do the right thing, producing a malformed header file as it spits out this warning message:
Clearly, the order of arguments is wrong or the arguments are badly specified or badly named. Now, I can analyze the code and try to piece back together exactly what the parameters should be, but expecting everyone who compiles it to do that work is a bit much...
Could this script get a standard linux/unix
-h
function that explains its use, and, in particular, what each parameter is. Or a man page. Ideally, include an example, in particular the standard way it's used within the cmake of hip/clr.Attach any links, screenshots, or additional evidence you think will be helpful.
No response
The text was updated successfully, but these errors were encountered: