76333 Cometimentos
Autor(a) SHA1 Mensagem Data
Jatin Chaudhary 23f6977e49 SWDEV-289409 - Add libstdc++fs to unit test exe
Change-Id: Id668cd450f032a57d880270188cecf6950b69f40
2021-06-24 04:18:53 -07:00
Sean Keely 3d6a18b67c Always execute the first satisfied async signal handler.
Certain special signals do not carry their updates via their signal
value.  These signals are wrappers around special KFD events, of
which the only current instance informs about VM faults.  We either
need to check each signal for this special event type or rely on
the checking done in hsa_amd_signal_wait_any.  Since there will always
be a small number of these signals it doesn't make much since to
penalize the performance path with this check.  Additionally we know
that the signal indicated by hsa_amd_signal_wait_any is satisfied so
don't need to recheck it's conditions.

Change-Id: I9fc6298300ad543d823ecd28ca8fab4ad26c23ef
2021-06-24 02:45:31 -05:00
Sean Keely 183531963c Always execute the first satisfied async signal handler.
Certain special signals do not carry their updates via their signal
value.  These signals are wrappers around special KFD events, of
which the only current instance informs about VM faults.  We either
need to check each signal for this special event type or rely on
the checking done in hsa_amd_signal_wait_any.  Since there will always
be a small number of these signals it doesn't make much since to
penalize the performance path with this check.  Additionally we know
that the signal indicated by hsa_amd_signal_wait_any is satisfied so
don't need to recheck it's conditions.

Change-Id: I9fc6298300ad543d823ecd28ca8fab4ad26c23ef


[ROCm/ROCR-Runtime commit: 3d6a18b67c]
2021-06-24 02:45:31 -05:00
Sean Keely 26808295f8 Correct clang build error.
Clang now warns about set but unused variables.  It also now
recognizes -Wno-error=unused-but-set-variable so this patch moves
that option back to the general options list.

Change-Id: Id800e87eb688b9441b14380e2246ad586179f31a
2021-06-23 15:04:58 -05:00
Sean Keely 4f2d6f763b Correct clang build error.
Clang now warns about set but unused variables.  It also now
recognizes -Wno-error=unused-but-set-variable so this patch moves
that option back to the general options list.

Change-Id: Id800e87eb688b9441b14380e2246ad586179f31a


[ROCm/ROCR-Runtime commit: 26808295f8]
2021-06-23 15:04:58 -05:00
Eiden Yoshida 66349efb1d Fix static builds (#393)
[ROCm/rccl commit: 5c3e7d8b67]
2021-06-23 09:19:48 -06:00
Eiden Yoshida 5c3e7d8b67 Fix static builds (#393) 2021-06-23 09:19:48 -06:00
cjatin 3d223b1631 SWDEV-289409 - Add first batch of device tests, add new exe, helper functions and update test Guidelines
Change-Id: I71929caf44725ba2cab7a6f0224bc37b9d04bcbb


[ROCm/hip-tests commit: 068e1f5043]
2021-06-23 00:51:50 -07:00
cjatin 068e1f5043 SWDEV-289409 - Add first batch of device tests, add new exe, helper functions and update test Guidelines
Change-Id: I71929caf44725ba2cab7a6f0224bc37b9d04bcbb
2021-06-23 00:51:50 -07:00
cjatin 0b66166621 SWDEV-289409 - Add first batch of device tests, add new exe, helper functions and update test Guidelines
Change-Id: I71929caf44725ba2cab7a6f0224bc37b9d04bcbb


[ROCm/hip commit: 456af4ea39]
2021-06-23 00:51:50 -07:00
cjatin 456af4ea39 SWDEV-289409 - Add first batch of device tests, add new exe, helper functions and update test Guidelines
Change-Id: I71929caf44725ba2cab7a6f0224bc37b9d04bcbb
2021-06-23 00:51:50 -07:00
gilbertlee-amd f2a72b1e0b [TransferBench] Fixing a typo in TransferBench usage example (#401)
[ROCm/rccl commit: 2b0b608270]
2021-06-22 17:08:57 -06:00
gilbertlee-amd 2b0b608270 [TransferBench] Fixing a typo in TransferBench usage example (#401) 2021-06-22 17:08:57 -06:00
Wenkai Du 929d72b3b9 Deduct ROCM_PATH from CXX unless specified (#400)
[ROCm/rccl commit: e75bc53e06]
2021-06-22 13:29:08 -07:00
Wenkai Du e75bc53e06 Deduct ROCM_PATH from CXX unless specified (#400) 2021-06-22 13:29:08 -07:00
Wenkai Du 90ae176437 Fixes for NCCL_MAX_NCHANNELS and topo_expl (#398)
[ROCm/rccl commit: fa6d7e9a63]
2021-06-22 08:41:49 -07:00
Wenkai Du fa6d7e9a63 Fixes for NCCL_MAX_NCHANNELS and topo_expl (#398) 2021-06-22 08:41:49 -07:00
Anusha GodavarthySurya 1b0be33247 SWDEV-240806 - Enable hipgraph test on amd platform
Change-Id: I470a9c410704ec2074eb32030311df671da5e8bb


[ROCm/hip commit: 7c5afff964]
2021-06-22 01:41:25 -04:00
Anusha GodavarthySurya 7c5afff964 SWDEV-240806 - Enable hipgraph test on amd platform
Change-Id: I470a9c410704ec2074eb32030311df671da5e8bb
2021-06-22 01:41:25 -04:00
gilbertlee-amd 0a636f20a3 [TransferBench] Switching from little-endian fill pattern to big-endian (#399)
[ROCm/rccl commit: 720374a767]
2021-06-21 14:28:51 -06:00
gilbertlee-amd 720374a767 [TransferBench] Switching from little-endian fill pattern to big-endian (#399) 2021-06-21 14:28:51 -06:00
Aaron En Ye Shi 42e61e12ab SWDEV-263964 - hip version check for hipcc or clang++ only
If the user decides to use a non-hipcc or non-clang++
compiler, we should skip the version checking.

Change-Id: I1424585c606ec0c63103f512161eb88cac27d71d


[ROCm/hip commit: 7a43de757e]
2021-06-21 18:14:09 +00:00
Aaron En Ye Shi 7a43de757e SWDEV-263964 - hip version check for hipcc or clang++ only
If the user decides to use a non-hipcc or non-clang++
compiler, we should skip the version checking.

Change-Id: I1424585c606ec0c63103f512161eb88cac27d71d
2021-06-21 18:14:09 +00:00
Julia Jiang 51e7881e4c SWDEV-286322 - Add filter attribute
Change-Id: I8b82ab254535f53435cbcb8672e70c7b7d44b5b1


[ROCm/hip commit: 8169c4d047]
2021-06-21 13:56:05 -04:00
Julia Jiang 8169c4d047 SWDEV-286322 - Add filter attribute
Change-Id: I8b82ab254535f53435cbcb8672e70c7b7d44b5b1
2021-06-21 13:56:05 -04:00
Wenkai Du 1670bddea0 Remove hard coded /opt/rocm from cmake (#396)
[ROCm/rccl commit: 59d2867b01]
2021-06-21 08:29:23 -07:00
Wenkai Du 59d2867b01 Remove hard coded /opt/rocm from cmake (#396) 2021-06-21 08:29:23 -07:00
Vladislav Sytchenko 2618d65ffb SWDEV-273235 - Allow overwriting HIP_LLVM_ROOT
Change-Id: I1ae89d97671fff0f2d8968313501893fecc5093c


[ROCm/clr commit: 44e8b72267]
2021-06-21 11:19:16 -04:00
Vladislav Sytchenko 44e8b72267 SWDEV-273235 - Allow overwriting HIP_LLVM_ROOT
Change-Id: I1ae89d97671fff0f2d8968313501893fecc5093c
2021-06-21 11:19:16 -04:00
Jatin Chaudhary 1725284e3a SWDEV-277697 - Disable Saxpy test in catch
Change-Id: I9ca0ac1baa39ea31fa503c01ca8d362b6b0626a9


[ROCm/hip-tests commit: 6890dc3ea1]
2021-06-21 10:59:42 -04:00
Jatin Chaudhary 6890dc3ea1 SWDEV-277697 - Disable Saxpy test in catch
Change-Id: I9ca0ac1baa39ea31fa503c01ca8d362b6b0626a9
2021-06-21 10:59:42 -04:00
Jatin Chaudhary 606862d59c SWDEV-277697 - Disable Saxpy test in catch
Change-Id: I9ca0ac1baa39ea31fa503c01ca8d362b6b0626a9


[ROCm/hip commit: b21882ac59]
2021-06-21 10:59:42 -04:00
Jatin Chaudhary b21882ac59 SWDEV-277697 - Disable Saxpy test in catch
Change-Id: I9ca0ac1baa39ea31fa503c01ca8d362b6b0626a9
2021-06-21 10:59:42 -04:00
Maneesh Gupta adc4c3aabe SWDEV-285388 - Bring back the inline asm till we have a proper compiler support
Change-Id: Ibafe33dd8298f6e19f8b6a6d2aa220b633b76862


[ROCm/clr commit: f4680d98a9]
2021-06-21 09:15:34 -04:00
Maneesh Gupta f4680d98a9 SWDEV-285388 - Bring back the inline asm till we have a proper compiler support
Change-Id: Ibafe33dd8298f6e19f8b6a6d2aa220b633b76862
2021-06-21 09:15:34 -04:00
Sarbojit Sarkar 4ca7898ce2 SWDEV-261977 - Added HIP symbol version
Change-Id: I108e2112a03351b29c659981023805213704a970


[ROCm/clr commit: 2d17f2776d]
2021-06-21 03:39:37 -04:00
Sarbojit Sarkar 2d17f2776d SWDEV-261977 - Added HIP symbol version
Change-Id: I108e2112a03351b29c659981023805213704a970
2021-06-21 03:39:37 -04:00
Julia Jiang afd774c477 SWDEV-288929 - Add hiprtc support in programming guide
Change-Id: I22d69801bbb36b610c855657a7248c24b9981b80


[ROCm/hip commit: 3f503283e1]
2021-06-18 19:57:16 -04:00
Julia Jiang 3f503283e1 SWDEV-288929 - Add hiprtc support in programming guide
Change-Id: I22d69801bbb36b610c855657a7248c24b9981b80
2021-06-18 19:57:16 -04:00
Aaron En Ye Shi 26f834670a SWDEV-291481 - Port hipcc.bat and hipconfig.bat
Add the hipcc.bat and hipconfig.bat files previously
only residing in P4 to CMake builds. Ship this .bat
file as part of bin directory on Windows.

Change-Id: I2822e1419f1f6a0a6cdde9e292231995a83df77d


[ROCm/hip commit: a6d568b9ca]
2021-06-18 18:54:37 +00:00
Aaron En Ye Shi a6d568b9ca SWDEV-291481 - Port hipcc.bat and hipconfig.bat
Add the hipcc.bat and hipconfig.bat files previously
only residing in P4 to CMake builds. Ship this .bat
file as part of bin directory on Windows.

Change-Id: I2822e1419f1f6a0a6cdde9e292231995a83df77d
2021-06-18 18:54:37 +00:00
Bill(Shuzhou) Liu 5a4bf97327 rdcd process uses 100% CPU
The rdcd uses another thread to listen the GPU events. That thread
runs in a tight loop which consume 100% CPU.
The fix will add a sleep to yield CPU.

Bug: SWDEV-291576
Change-Id: I7996720aab4a80346d79b1c73ee532d2abcd93cc
2021-06-18 13:49:45 -04:00
Bill(Shuzhou) Liu ac15d50b0c rdcd process uses 100% CPU
The rdcd uses another thread to listen the GPU events. That thread
runs in a tight loop which consume 100% CPU.
The fix will add a sleep to yield CPU.

Bug: SWDEV-291576
Change-Id: I7996720aab4a80346d79b1c73ee532d2abcd93cc


[ROCm/rdc commit: 5a4bf97327]
2021-06-18 13:49:45 -04:00
Christophe Paquot 81c1c4048e SWDEV-281658 - Fix compilation warnings
In file included from /extra/lmoriche/hip-vdi/hip/rocclr/hip_internal.hpp:25,
                 from /extra/lmoriche/hip-vdi/hip/rocclr/hip_hmm.cpp:22:
/extra/lmoriche/hip-vdi/hip/rocclr/hip_prof_api.h: In constructor ‘api_callbacks_table_t::api_callbacks_table_t()’:
/extra/lmoriche/hip-vdi/hip/rocclr/hip_prof_api.h:72:59: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct api_callbacks_table_t::hip_cb_table_t’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
   72 |      memset(&callbacks_table_, 0, sizeof(callbacks_table_));
      |                                                           ^
/extra/lmoriche/hip-vdi/hip/rocclr/hip_prof_api.h:67:10: note: ‘struct api_callbacks_table_t::hip_cb_table_t’ declared here
   67 |   struct hip_cb_table_t {
      |          ^~~~~~~~~~~~~~

Address the above warning by providing default initialization of the
api_callbacks_table_t::hip_cb_table_t class members.

Change-Id: I69ea7c390c28cf3f8aec57f23566d6a3061a0365


[ROCm/clr commit: 0f7a47a95f]
2021-06-18 07:03:35 -07:00
Christophe Paquot 0f7a47a95f SWDEV-281658 - Fix compilation warnings
In file included from /extra/lmoriche/hip-vdi/hip/rocclr/hip_internal.hpp:25,
                 from /extra/lmoriche/hip-vdi/hip/rocclr/hip_hmm.cpp:22:
/extra/lmoriche/hip-vdi/hip/rocclr/hip_prof_api.h: In constructor ‘api_callbacks_table_t::api_callbacks_table_t()’:
/extra/lmoriche/hip-vdi/hip/rocclr/hip_prof_api.h:72:59: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct api_callbacks_table_t::hip_cb_table_t’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
   72 |      memset(&callbacks_table_, 0, sizeof(callbacks_table_));
      |                                                           ^
/extra/lmoriche/hip-vdi/hip/rocclr/hip_prof_api.h:67:10: note: ‘struct api_callbacks_table_t::hip_cb_table_t’ declared here
   67 |   struct hip_cb_table_t {
      |          ^~~~~~~~~~~~~~

Address the above warning by providing default initialization of the
api_callbacks_table_t::hip_cb_table_t class members.

Change-Id: I69ea7c390c28cf3f8aec57f23566d6a3061a0365
2021-06-18 07:03:35 -07:00
Christophe Paquot db81554097 SWDEV-281658 - Fix the gen-prof-api-str-header target
There is no OUTPUT_FILE option for add_custom_command (it is an option
for execute_process). Instead, redirect stdout to the output file.

Change-Id: Ic649bc6c4f709c3c42166500a72fce5014690a47


[ROCm/clr commit: f3a54f0823]
2021-06-18 09:57:02 -04:00
Christophe Paquot f3a54f0823 SWDEV-281658 - Fix the gen-prof-api-str-header target
There is no OUTPUT_FILE option for add_custom_command (it is an option
for execute_process). Instead, redirect stdout to the output file.

Change-Id: Ic649bc6c4f709c3c42166500a72fce5014690a47
2021-06-18 09:57:02 -04:00
Tao Sang f37d157aaf SWDEV-291009 - Fix LaunchCoopMultiKernel on NV
Fix compiling error of hipLaunchCoopMultiKernel on
NV A100.
Fix test failure on all NV devices.

Change-Id: Iba20caa0e9021480378625506197384c275a3289


[ROCm/hip commit: f70b109cc3]
2021-06-18 09:07:17 -04:00
Tao Sang f70b109cc3 SWDEV-291009 - Fix LaunchCoopMultiKernel on NV
Fix compiling error of hipLaunchCoopMultiKernel on
NV A100.
Fix test failure on all NV devices.

Change-Id: Iba20caa0e9021480378625506197384c275a3289
2021-06-18 09:07:17 -04:00
Maneesh Gupta 353f42059a SWDEV-291578 - Fix includes to match filename change
Change-Id: Ie88ff30df6135cf13e86f163ba41dba8ed9d0c87


[ROCm/hip commit: 25ed6bc573]
2021-06-18 02:01:30 -04:00