Fix rocprofv3 supported counters not being detected (#832)
* Fix rocprofv3 supported counters not being detected
* Fix rocprof interface deprecation warning appearing twice
[ROCm/rocprofiler-compute commit: dbcaccb9de]
This commit is contained in:
@@ -245,14 +245,6 @@ def detect_rocprof(args):
|
||||
)
|
||||
return rocprof_cmd
|
||||
|
||||
console_warning(
|
||||
"rocprof v1 / v2 / v3 interfaces will be deprecated in favor of "
|
||||
"rocprofiler-sdk interface in a future release. To use rocprofiler-sdk "
|
||||
"interface, please set the environment variable ROCPROF to 'rocprofiler-sdk' "
|
||||
"and optionally provide the path to librocprofiler-sdk.so library via the "
|
||||
"--rocprofiler-sdk-library-path option."
|
||||
)
|
||||
|
||||
# detect rocprof
|
||||
if not "ROCPROF" in os.environ.keys():
|
||||
# default rocprof
|
||||
|
||||
Reference in New Issue
Block a user