Ori Messinger
9d6285f6c8
ROCm SMI CLI: Hide Failed Command Warning
...
The purpose of this patch is to hide 'One or more commands failed.'
from showing up, unless an appropriate log level has been set.
You can set the loglevel in the CLI with:
--loglevel <debug/info/warning/error/critical>
Signed-off-by: Ori Messinger <Ori.Messinger@amd.com >
Change-Id: Ifa309cd62596491a6ea5892e0752251f037fc0e9
[ROCm/rocm_smi_lib commit: 007f326c34 ]
2022-02-09 11:52:33 -05:00
Ori Messinger
007f326c34
ROCm SMI CLI: Hide Failed Command Warning
...
The purpose of this patch is to hide 'One or more commands failed.'
from showing up, unless an appropriate log level has been set.
You can set the loglevel in the CLI with:
--loglevel <debug/info/warning/error/critical>
Signed-off-by: Ori Messinger <Ori.Messinger@amd.com >
Change-Id: Ifa309cd62596491a6ea5892e0752251f037fc0e9
2022-02-09 11:52:33 -05:00
agunashe
6fded87b97
SWDEV-273235 - hip change to build catch tests on Windows ( #2472 )
...
* SWDEV-273235 - hip change to build catch tests on Windows
Change-Id: I96de305694609c669cb81480f3572d987ce87d98
* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
[ROCm/hip-tests commit: ec8d624959 ]
2022-02-09 08:17:45 -08:00
agunashe
ec8d624959
SWDEV-273235 - hip change to build catch tests on Windows ( #2472 )
...
* SWDEV-273235 - hip change to build catch tests on Windows
Change-Id: I96de305694609c669cb81480f3572d987ce87d98
* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
2022-02-09 08:17:45 -08:00
agunashe
f8746b1982
SWDEV-273235 - hip change to build catch tests on Windows ( #2472 )
...
* SWDEV-273235 - hip change to build catch tests on Windows
Change-Id: I96de305694609c669cb81480f3572d987ce87d98
* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
[ROCm/hip commit: ffe3f9cf81 ]
2022-02-09 08:17:45 -08:00
agunashe
ffe3f9cf81
SWDEV-273235 - hip change to build catch tests on Windows ( #2472 )
...
* SWDEV-273235 - hip change to build catch tests on Windows
Change-Id: I96de305694609c669cb81480f3572d987ce87d98
* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
2022-02-09 08:17:45 -08:00
Chauncey Hui
4767a9b231
SWDEV-2 - Change OpenCL version number from 3419 to 3420
...
[ROCm/clr commit: c640b395c7 ]
2022-02-09 03:00:06 -05:00
Chauncey Hui
c640b395c7
SWDEV-2 - Change OpenCL version number from 3419 to 3420
2022-02-09 03:00:06 -05:00
Satyanvesh Dittakavi
c128131a6e
SWDEV-314661 - Add hipGraphInstantiateWithFlags API mapping in nvidia path
...
Change-Id: Ibbf54ef18978448e92571f0535124844154726b6
[ROCm/hipother commit: d64b750aec ]
2022-02-09 00:02:55 -05:00
Satyanvesh Dittakavi
d64b750aec
SWDEV-314661 - Add hipGraphInstantiateWithFlags API mapping in nvidia path
...
Change-Id: Ibbf54ef18978448e92571f0535124844154726b6
2022-02-09 00:02:55 -05:00
Satyanvesh Dittakavi
556b1bbc69
SWDEV-314661 - Add hipGraphInstantiateWithFlags API mapping in nvidia path
...
Change-Id: Ibbf54ef18978448e92571f0535124844154726b6
[ROCm/clr commit: 0759f4ff81 ]
2022-02-09 00:02:55 -05:00
Satyanvesh Dittakavi
0759f4ff81
SWDEV-314661 - Add hipGraphInstantiateWithFlags API mapping in nvidia path
...
Change-Id: Ibbf54ef18978448e92571f0535124844154726b6
2022-02-09 00:02:55 -05:00
Hao Zhou
a67543f63a
Merge amd-staging into amd-master 20220209
...
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com >
Change-Id: Ibf40dc4d7c66f2d926d37f09d493d06fb52b183e
[ROCm/rocm_smi_lib commit: 1da93b3dd2 ]
2022-02-09 10:19:19 +08:00
Hao Zhou
1da93b3dd2
Merge amd-staging into amd-master 20220209
...
Signed-off-by: Hao Zhou <Hao.Zhou@amd.com >
Change-Id: Ibf40dc4d7c66f2d926d37f09d493d06fb52b183e
2022-02-09 10:19:19 +08:00
Jonathan R. Madsen
4ae26e2d08
rocm-smi and KokkosTools support ( #23 )
...
* renamed omnitrace_thread_data to thread_data
* initial implementation
* Numerous fixes and updates
- Updated timemory submodule
- Updated perfetto submodule (pulls in fixes for TRACE_EVENT)
- pthread_gotcha only after omnitrace_init_tooling
- omnitrace banner
- config settings for rocm-smi freq and devices
- critical_trace::get_entries
- OMNITRACE_BASIC_PRINT
- rocm_smi perfetto category
- redirect roctracer warnings for ROCm 4.5.0
- property specializations for rocm-smi components
- units fixes data_tracker types
- roctracer entries for pthread_create and start_thread
- omnitrace-avail defaults to settings, not components
- settings have conforming names
- settings warn about duplicates
- ptl named threads
- decreased max freq for sampler SIGALRM
- rocm-smi names thread
- rocm-smi avoids call to hipGetDeviceCount
- name roctracer activity callback threads
- fixed binary rewrite test output names
* Update lulesh example
- supports non-UVM GPU
* Lulesh tweaks + formatting
* KokkosP + Mode + Roctracer sampling deadlock fix
- kokkosp support
- omnitrace_init_library
- config::print_settings()
- config::get_mode()
- omnitrace::Mode
- omnitrace-avail improvements (removes settings)
- handle get_verbose() < 0
- disable dyninst InstrStackFrames by default
- handle perf_event_paranoid > 1 by disabling PAPI
- SIGALRM max freq to 5.0
- Name threads
- rocm-smi handles get_use_perfetto() and get_use_timemory()
- HSA_ENABLE_INTERRUPT=0 when roctracer + sampling (fixes deadlock)
* Tests, API renaming, roctracer
- disable renaming of thread 0
- verbprintf_bare
- enable dyninst merge tramp
- tweaked some omnitrace exe verbose levels
- reworked roctracer::setup and roctracer::shutdown
- rocm_smi::data::poll checks get_state()
- omnitrace_trace_finalize -> omnitrace_finalize
- omnitrace_trace_init -> omnitrace_init
- omnitrace_trace_set_env -> omnitrace_set_env
- omnitrace_trace_set_mpi -> omnitrace_set_mpi
- sampling mode does not disable timemory
- disable roctracer before shutting down rocm-smi
- lulesh tests w/ and w/o kokkosp
- lulesh tests for perfetto only
- with --dynamic-callsites --traps --allow-overlapping
- lulesh tests for timemory only
- with --stdlib --dynamic-callsites --traps --allow-overlapping
* Update timemory submodule
- fix for TIMEMORY_PROPERTY_SPECIALIZATION
* get_verbose() handling + timemory submodule update
- Findroctracer.cmake uses find_package(hsakmt)
* Stability fixes + rework roctracer + perfetto
- reworked roctracer start up
- critical_trace perfetto basic values
- perfetto sampling category
- sampler checks signals
- peak_rss in sampling
- pthread_gotcha::shutdown()
- rocm_smi::device_count()
- HSA_TOOLS_LIB is set
- HSA_ENABLE_INTERRUPT in omnitrace exe
- omnitrace exe verbosity level changes
- Avoid instrumenting Impl ns in Kokkos
- gpu::device_count prefers rocm_smi instead of hip
- ptl blocks signals
- fixed pthread_gotcha roctracer_data values
- removed runtime-instrument-sampling tests
- timemory submodule update
* cmake formatting
* timemory + roctracer updates
- fix timemory issue with papi_common
- fix timemory issue with units
- define roctracer::is_setup()
* Miscellaneous tweaks
- Disable sampling during runtime instrument
- Fixed warnings about dynamic callsites
- Fixed backtrace output when timemory disabled
- Test tweaks
* cmake-format
* omnitrace_target_compile_definitions
* timemory submodule update
* config, omnitrace, State, mpi_gotcha updates
- use OMNITRACE_THROW instead of direct throw
- is_attached()
- is_binary_rewrite()
- get_is_continuous_integration()
- get_debug_init()
- get_debug_finalize()
- max_thread_bookmarks default to 1
- State::Init
- app_thread oneTimeCode
- runtime instrumentation uses waitpid
- fixed init_names
- include main in MPI runs
- fixed sampling setup when disabled
- reworked mpi_gotcha
- disabled critical trace in transpose test
* cmake-format
* handle rocm_smi::device_count() exception
* CI timeouts
* Re-enable runtime-instrument + sampling
[ROCm/rocprofiler-systems commit: 39f17ae8b8 ]
2022-02-08 17:42:17 -06:00
Jonathan R. Madsen
39f17ae8b8
rocm-smi and KokkosTools support ( #23 )
...
* renamed omnitrace_thread_data to thread_data
* initial implementation
* Numerous fixes and updates
- Updated timemory submodule
- Updated perfetto submodule (pulls in fixes for TRACE_EVENT)
- pthread_gotcha only after omnitrace_init_tooling
- omnitrace banner
- config settings for rocm-smi freq and devices
- critical_trace::get_entries
- OMNITRACE_BASIC_PRINT
- rocm_smi perfetto category
- redirect roctracer warnings for ROCm 4.5.0
- property specializations for rocm-smi components
- units fixes data_tracker types
- roctracer entries for pthread_create and start_thread
- omnitrace-avail defaults to settings, not components
- settings have conforming names
- settings warn about duplicates
- ptl named threads
- decreased max freq for sampler SIGALRM
- rocm-smi names thread
- rocm-smi avoids call to hipGetDeviceCount
- name roctracer activity callback threads
- fixed binary rewrite test output names
* Update lulesh example
- supports non-UVM GPU
* Lulesh tweaks + formatting
* KokkosP + Mode + Roctracer sampling deadlock fix
- kokkosp support
- omnitrace_init_library
- config::print_settings()
- config::get_mode()
- omnitrace::Mode
- omnitrace-avail improvements (removes settings)
- handle get_verbose() < 0
- disable dyninst InstrStackFrames by default
- handle perf_event_paranoid > 1 by disabling PAPI
- SIGALRM max freq to 5.0
- Name threads
- rocm-smi handles get_use_perfetto() and get_use_timemory()
- HSA_ENABLE_INTERRUPT=0 when roctracer + sampling (fixes deadlock)
* Tests, API renaming, roctracer
- disable renaming of thread 0
- verbprintf_bare
- enable dyninst merge tramp
- tweaked some omnitrace exe verbose levels
- reworked roctracer::setup and roctracer::shutdown
- rocm_smi::data::poll checks get_state()
- omnitrace_trace_finalize -> omnitrace_finalize
- omnitrace_trace_init -> omnitrace_init
- omnitrace_trace_set_env -> omnitrace_set_env
- omnitrace_trace_set_mpi -> omnitrace_set_mpi
- sampling mode does not disable timemory
- disable roctracer before shutting down rocm-smi
- lulesh tests w/ and w/o kokkosp
- lulesh tests for perfetto only
- with --dynamic-callsites --traps --allow-overlapping
- lulesh tests for timemory only
- with --stdlib --dynamic-callsites --traps --allow-overlapping
* Update timemory submodule
- fix for TIMEMORY_PROPERTY_SPECIALIZATION
* get_verbose() handling + timemory submodule update
- Findroctracer.cmake uses find_package(hsakmt)
* Stability fixes + rework roctracer + perfetto
- reworked roctracer start up
- critical_trace perfetto basic values
- perfetto sampling category
- sampler checks signals
- peak_rss in sampling
- pthread_gotcha::shutdown()
- rocm_smi::device_count()
- HSA_TOOLS_LIB is set
- HSA_ENABLE_INTERRUPT in omnitrace exe
- omnitrace exe verbosity level changes
- Avoid instrumenting Impl ns in Kokkos
- gpu::device_count prefers rocm_smi instead of hip
- ptl blocks signals
- fixed pthread_gotcha roctracer_data values
- removed runtime-instrument-sampling tests
- timemory submodule update
* cmake formatting
* timemory + roctracer updates
- fix timemory issue with papi_common
- fix timemory issue with units
- define roctracer::is_setup()
* Miscellaneous tweaks
- Disable sampling during runtime instrument
- Fixed warnings about dynamic callsites
- Fixed backtrace output when timemory disabled
- Test tweaks
* cmake-format
* omnitrace_target_compile_definitions
* timemory submodule update
* config, omnitrace, State, mpi_gotcha updates
- use OMNITRACE_THROW instead of direct throw
- is_attached()
- is_binary_rewrite()
- get_is_continuous_integration()
- get_debug_init()
- get_debug_finalize()
- max_thread_bookmarks default to 1
- State::Init
- app_thread oneTimeCode
- runtime instrumentation uses waitpid
- fixed init_names
- include main in MPI runs
- fixed sampling setup when disabled
- reworked mpi_gotcha
- disabled critical trace in transpose test
* cmake-format
* handle rocm_smi::device_count() exception
* CI timeouts
* Re-enable runtime-instrument + sampling
2022-02-08 17:42:17 -06:00
Ashutosh Mishra
1f10c39e2a
SWDEV-306262 - Fix RUNPATH
...
RUNPATH was not changed to correct ROCM_RPATH
Packaged proper binaries after RUNPATH correction
Signed-off-by: Ashutosh Mishra <Ashutosh.Mishra@amd.com >
Change-Id: I97443cc0d6cb1ecf7352e3c83ae0fe38a8f339bf
[ROCm/clr commit: e3fe3a6109 ]
2022-02-08 15:14:05 -08:00
Ashutosh Mishra
e3fe3a6109
SWDEV-306262 - Fix RUNPATH
...
RUNPATH was not changed to correct ROCM_RPATH
Packaged proper binaries after RUNPATH correction
Signed-off-by: Ashutosh Mishra <Ashutosh.Mishra@amd.com >
Change-Id: I97443cc0d6cb1ecf7352e3c83ae0fe38a8f339bf
2022-02-08 15:14:05 -08:00
Payam
316c83dd84
SWDEV-321079 - Blender GL interop Linux fix
...
Change-Id: I920d30c575627c443a1d2e93c02abf8658bc3978
[ROCm/clr commit: 9faac0fe8d ]
2022-02-08 14:17:38 -05:00
Payam
9faac0fe8d
SWDEV-321079 - Blender GL interop Linux fix
...
Change-Id: I920d30c575627c443a1d2e93c02abf8658bc3978
2022-02-08 14:17:38 -05:00
Payam
05a9c3057a
SWDEV-315880 - adding Graph nullptr checks
...
Change-Id: I84a70f9c2606cb480b32953631878df40d71a675
[ROCm/clr commit: 1f8c42deee ]
2022-02-07 22:35:24 -05:00
Payam
1f8c42deee
SWDEV-315880 - adding Graph nullptr checks
...
Change-Id: I84a70f9c2606cb480b32953631878df40d71a675
2022-02-07 22:35:24 -05:00
German Andryeyev
0bfb898038
SWDEV-286150 - Don't report OCL2.2 support
...
OCL2.2 requires SPIR-V and runtime doesn't support it.
Make sure PAL backend doesn't report any SPIR-V support.
Change-Id: I8d179069674205b54f7d20d149bcb675bee5cdb0
[ROCm/clr commit: 0bf395af39 ]
2022-02-07 17:34:39 -05:00
German Andryeyev
0bf395af39
SWDEV-286150 - Don't report OCL2.2 support
...
OCL2.2 requires SPIR-V and runtime doesn't support it.
Make sure PAL backend doesn't report any SPIR-V support.
Change-Id: I8d179069674205b54f7d20d149bcb675bee5cdb0
2022-02-07 17:34:39 -05:00
Payam
80026db2b3
SWDEV-321160 - Checking if GL-Context is initialized
...
Change-Id: I5482fa33bcf9a1587ee68ed37f2058b7ed7e706a
[ROCm/clr commit: f501317b5b ]
2022-02-07 15:05:55 -05:00
Payam
f501317b5b
SWDEV-321160 - Checking if GL-Context is initialized
...
Change-Id: I5482fa33bcf9a1587ee68ed37f2058b7ed7e706a
2022-02-07 15:05:55 -05:00
German Andryeyev
bd96ef9a34
SWDEV-307184 - Add support for the new metadata
...
Metadata in Codeobject version 5 is the extension of CO3 and CO4.
Add the detection of the new fields and program them in
the setup of the kernel arguments.
Change-Id: I27e58df77320ad00f4f16d35912668db803826af
[ROCm/clr commit: be6a06384e ]
2022-02-07 14:05:58 -05:00
German Andryeyev
be6a06384e
SWDEV-307184 - Add support for the new metadata
...
Metadata in Codeobject version 5 is the extension of CO3 and CO4.
Add the detection of the new fields and program them in
the setup of the kernel arguments.
Change-Id: I27e58df77320ad00f4f16d35912668db803826af
2022-02-07 14:05:58 -05:00
Sourabh Betigeri
40e2603bd0
SWDEV-294375 - Adding coalesced_groups to ROCm CG
...
Change-Id: I4098e1970ae2c388171fa73deb5bc023ed1b7a68
[ROCm/clr commit: 523e5a007c ]
2022-02-07 11:29:46 -05:00
Sourabh Betigeri
523e5a007c
SWDEV-294375 - Adding coalesced_groups to ROCm CG
...
Change-Id: I4098e1970ae2c388171fa73deb5bc023ed1b7a68
2022-02-07 11:29:46 -05:00
Jenkins
e3e59dfe6d
SWDEV-299127 - Merge 'develop' into 'amd-staging'
...
Change-Id: Id8a135b981217008c0cf1f4c3eb1f8301d022a78
[ROCm/hip commit: a4c96fcf37 ]
2022-02-06 07:10:26 -05:00
Jenkins
a4c96fcf37
SWDEV-299127 - Merge 'develop' into 'amd-staging'
...
Change-Id: Id8a135b981217008c0cf1f4c3eb1f8301d022a78
2022-02-06 07:10:26 -05:00
Satyanvesh Dittakavi
51f8fc06e1
SWDEV-306940 - Fix hipamd errors/warnings found by CppCheck
...
Change-Id: Ia93d4f5262ea4269d8031edbfd27033b887e5300
[ROCm/clr commit: 6e562f4d83 ]
2022-02-05 08:42:47 -05:00
Satyanvesh Dittakavi
6e562f4d83
SWDEV-306940 - Fix hipamd errors/warnings found by CppCheck
...
Change-Id: Ia93d4f5262ea4269d8031edbfd27033b887e5300
2022-02-05 08:42:47 -05:00
Maneesh Gupta
6bf79c91be
SWDEV-320978 - Revert "SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation ( #2438 )" ( #2469 )
...
This reverts commit ed7cd9b7e1 .
[ROCm/hip commit: ee16f95c77 ]
2022-02-04 09:52:41 -08:00
Maneesh Gupta
ee16f95c77
SWDEV-320978 - Revert "SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation ( #2438 )" ( #2469 )
...
This reverts commit 9799a0278a .
2022-02-04 09:52:41 -08:00
Ajay
61905bdb9f
SWDEV-320586 - rpath to use cmake_prefix_path for install/lib/libamdhip64
...
Change-Id: I70c4f66d27c29e874275be6e594dc7d22491054d
[ROCm/clr commit: c792ff7bfc ]
2022-02-04 11:58:42 -05:00
Ajay
c792ff7bfc
SWDEV-320586 - rpath to use cmake_prefix_path for install/lib/libamdhip64
...
Change-Id: I70c4f66d27c29e874275be6e594dc7d22491054d
2022-02-04 11:58:42 -05:00
Bill(Shuzhou) Liu
ffc5db221b
Install libprotobuf under lib64 folder
...
When compile grpc on SLES, the libprotobuf is created under lib64
folder, install it to lib folder as well.
Change-Id: I9ccf2133c3b1b71e623d9009a86cf580a19e76cf
2022-02-04 09:02:31 -05:00
Bill(Shuzhou) Liu
5e7c19624b
Install libprotobuf under lib64 folder
...
When compile grpc on SLES, the libprotobuf is created under lib64
folder, install it to lib folder as well.
Change-Id: I9ccf2133c3b1b71e623d9009a86cf580a19e76cf
[ROCm/rdc commit: ffc5db221b ]
2022-02-04 09:02:31 -05:00
Chauncey Hui
69ccfd83e7
SWDEV-2 - Change OpenCL version number from 3418 to 3419
...
[ROCm/clr commit: d554960ae7 ]
2022-02-04 03:00:04 -05:00
Chauncey Hui
d554960ae7
SWDEV-2 - Change OpenCL version number from 3418 to 3419
2022-02-04 03:00:04 -05:00
German Andryeyev
e77c8bebde
SWDEV-300515 - Expose RT CU granularity
...
Change-Id: I15369eb522c29035cd67cd36a9a88517ef3aca59
[ROCm/clr commit: 81ed495bbd ]
2022-02-04 00:04:58 -05:00
German Andryeyev
81ed495bbd
SWDEV-300515 - Expose RT CU granularity
...
Change-Id: I15369eb522c29035cd67cd36a9a88517ef3aca59
2022-02-04 00:04:58 -05:00
Ashutosh Mishra
e785dbbcd5
changeing major_ver of targetlist to decimal
...
Change-Id: Iada6cf9d2ba3bce4c042dffbf97f1588ffe10a8a
[ROCm/rocminfo commit: 6b4d69d011 ]
2022-02-03 23:38:24 +05:30
Ashutosh Mishra
6b4d69d011
changeing major_ver of targetlist to decimal
...
Change-Id: Iada6cf9d2ba3bce4c042dffbf97f1588ffe10a8a
2022-02-03 23:38:24 +05:30
kiumars
f7c3908e62
replace the set of CMAKE_SHARED_LINKER_FLAGS with add_link_options.
...
Change-Id: I2696ccd53b234e700e1464b0b3852aac1e3fc3b3
[ROCm/roctracer commit: e56146ff7c ]
2022-02-03 12:55:15 -05:00
kiumars
e56146ff7c
replace the set of CMAKE_SHARED_LINKER_FLAGS with add_link_options.
...
Change-Id: I2696ccd53b234e700e1464b0b3852aac1e3fc3b3
2022-02-03 12:55:15 -05:00
Freddy Paul
9b9c49596e
hip:Fix and install cmake targets for hip package
...
hip-targets.cmake was missing from the install after the switch
to new method.
Added hip-targets, hip-lang-targets for the build type and fixed
hard coding to ROCm install path.
Change-Id: Idd6d58f9eeeca6d9dc5ac8632d6ffb4956d845e1
[ROCm/clr commit: 8c3965ec55 ]
2022-02-03 12:36:43 -05:00
Freddy Paul
8c3965ec55
hip:Fix and install cmake targets for hip package
...
hip-targets.cmake was missing from the install after the switch
to new method.
Added hip-targets, hip-lang-targets for the build type and fixed
hard coding to ROCm install path.
Change-Id: Idd6d58f9eeeca6d9dc5ac8632d6ffb4956d845e1
2022-02-03 12:36:43 -05:00