Commit Graph
64512 Commits
Author SHA1 Message Date
Maneesh Gupta 8fbdd2eb87 SWDEV-1 - Add missing checks in hipMemcpy2DToArrayAsync.cc
[ROCm/hip-tests commit: 4f5e85735b]
2022-10-10 20:54:27 +05:30
Maneesh Gupta 4f5e85735b SWDEV-1 - Add missing checks in hipMemcpy2DToArrayAsync.cc 2022-10-10 20:54:27 +05:30
Maneesh Gupta 7a9fa6f7fd SWDEV-1 - Add missing checks in hipMemcpy2DToArrayAsync.cc
[ROCm/hip commit: 7cac37358a]
2022-10-10 20:54:27 +05:30
Maneesh Gupta 7cac37358a SWDEV-1 - Add missing checks in hipMemcpy2DToArrayAsync.cc 2022-10-10 20:54:27 +05:30
Jenkins ebd279ed8d SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I3ddbbc4724b90a55c57b85d2297ea1cfca711772


[ROCm/hip commit: 2765aae00d]
2022-10-10 07:10:35 -04:00
Jenkins 2765aae00d SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I3ddbbc4724b90a55c57b85d2297ea1cfca711772
2022-10-10 07:10:35 -04:00
Maneesh Gupta 464596a377 SWDEV-1 - Add missing checks in memset.cc
[ROCm/hip-tests commit: 4d588564ad]
2022-10-10 16:15:08 +05:30
Maneesh Gupta 4d588564ad SWDEV-1 - Add missing checks in memset.cc 2022-10-10 16:15:08 +05:30
Maneesh Gupta 1fcc9841d9 SWDEV-1 - Add missing checks in memset.cc
[ROCm/hip commit: 37dac38f54]
2022-10-10 16:15:08 +05:30
Maneesh Gupta 37dac38f54 SWDEV-1 - Add missing checks in memset.cc 2022-10-10 16:15:08 +05:30
Maneesh Gupta 38bb87ae09 SWDEV-1 - Add missing checks in hipMemcpy2DToArray.cc
[ROCm/hip-tests commit: 60bf95dc23]
2022-10-10 16:14:04 +05:30
Maneesh Gupta 60bf95dc23 SWDEV-1 - Add missing checks in hipMemcpy2DToArray.cc 2022-10-10 16:14:04 +05:30
Maneesh Gupta f14ad3abfe SWDEV-1 - Add missing checks in hipMemcpy2DToArray.cc
[ROCm/hip commit: 86d99b5ee6]
2022-10-10 16:14:04 +05:30
Maneesh Gupta 86d99b5ee6 SWDEV-1 - Add missing checks in hipMemcpy2DToArray.cc 2022-10-10 16:14:04 +05:30
ROCm CI Service Account 618185c951 SWDEV-343493 - hipcc ignores --rocm-path if env var such as ROCM_PATH is set (#2974)
Change-Id: I5723694158f35b73dc0c93e9dd9ee6666df1ca72

[ROCm/hip commit: 825225b232]
2022-10-10 15:25:37 +05:30
ROCm CI Service Account 825225b232 SWDEV-343493 - hipcc ignores --rocm-path if env var such as ROCM_PATH is set (#2974)
Change-Id: I5723694158f35b73dc0c93e9dd9ee6666df1ca72
2022-10-10 15:25:37 +05:30
nives-vukovic abfa6877ba EXSWHTEC-40 - Implement additional Stream Management negative tests (#2922)
- Implement negative test for hipStream<Write/Wait>Value when stream is uninitialized
- Implement negative test for hipStreamSynchronize when stream is uninitialized
- Invalid flag negative test for hipStreamWriteValue API removed as flag parameter is not used

[ROCm/hip-tests commit: 17feaa555d]
2022-10-10 13:18:49 +05:30
nives-vukovic 17feaa555d EXSWHTEC-40 - Implement additional Stream Management negative tests (#2922)
- Implement negative test for hipStream<Write/Wait>Value when stream is uninitialized
- Implement negative test for hipStreamSynchronize when stream is uninitialized
- Invalid flag negative test for hipStreamWriteValue API removed as flag parameter is not used
2022-10-10 13:18:49 +05:30
nives-vukovic 3528b35e47 EXSWHTEC-40 - Implement additional Stream Management negative tests (#2922)
- Implement negative test for hipStream<Write/Wait>Value when stream is uninitialized
- Implement negative test for hipStreamSynchronize when stream is uninitialized
- Invalid flag negative test for hipStreamWriteValue API removed as flag parameter is not used

[ROCm/hip commit: 7fa9b1746c]
2022-10-10 13:18:49 +05:30
nives-vukovic 7fa9b1746c EXSWHTEC-40 - Implement additional Stream Management negative tests (#2922)
- Implement negative test for hipStream<Write/Wait>Value when stream is uninitialized
- Implement negative test for hipStreamSynchronize when stream is uninitialized
- Invalid flag negative test for hipStreamWriteValue API removed as flag parameter is not used
2022-10-10 13:18:49 +05:30
Rakesh Roy f149b21399 SWDEV-351969 - TLS Optimization
- Aggregate all TLS(Thread Local Storage) variables into a single class
- This is to improve cache accesses per thread

Change-Id: Ic8361eaeae290fff00254684e309471958365eb9


[ROCm/clr commit: 8b391ef18c]
2022-10-09 22:08:14 -04:00
Rakesh Roy 8b391ef18c SWDEV-351969 - TLS Optimization
- Aggregate all TLS(Thread Local Storage) variables into a single class
- This is to improve cache accesses per thread

Change-Id: Ic8361eaeae290fff00254684e309471958365eb9
2022-10-09 22:08:14 -04:00
Jenkins 644e4c6870 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I253660c69027162ea3b4baf629775c7f7d0fe7d8


[ROCm/hip commit: 651503b8be]
2022-10-08 07:10:30 -04:00
Jenkins 651503b8be SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: I253660c69027162ea3b4baf629775c7f7d0fe7d8
2022-10-08 07:10:30 -04:00
Chauncey Hui 9fdcdf6cd3 SWDEV-2 - Change OpenCL version number from 3512 to 3513
[ROCm/clr commit: 621faa03ec]
2022-10-08 03:00:09 -04:00
Chauncey Hui 621faa03ec SWDEV-2 - Change OpenCL version number from 3512 to 3513 2022-10-08 03:00:09 -04:00
David Yat Sin 39632a713e Use user requested size for memory fragments
Amount of memory requested by user may be aligned-up internally to
the memory pool granularity. The extra padded memory should not be
considered when validating pointers from the user. Also return the
user requested size when user queries pointer information.

Change-Id: I28b25448ea03c836b44fafdb34b7330cf6887424
2022-10-07 21:32:49 +00:00
David Yat Sin f5dc99bf9e Use user requested size for memory fragments
Amount of memory requested by user may be aligned-up internally to
the memory pool granularity. The extra padded memory should not be
considered when validating pointers from the user. Also return the
user requested size when user queries pointer information.

Change-Id: I28b25448ea03c836b44fafdb34b7330cf6887424


[ROCm/ROCR-Runtime commit: 39632a713e]
2022-10-07 21:32:49 +00:00
Galantsev, Dmitrii 2c171767b3 Compile rdctst and improve CMakeLists
Main CMake improvements:

* Add rdctst with -DBUILD_TESTS=ON
* Set default ROCM_DIR to /opt/rocm/
* Split rdc_libs/CMakeLists.txt into subdirectories
* Package tests into rdc-tests.deb and .rpm

Misc improvements:

* Add .editorconfig to normalize code formatting
* Add .gitignore
* Expand RPATH for gRPC to reduce LD_LIBRARY_PATH usage
* Export compile_commands.json
* Show warning and do not install gRPC if GRPC_ROOT is left as default
* Move .in files into relevant subdirectories
* Move most variables into project CMakeLists.txt to avoid redefinitions
* Normalize CMakeLists.txt formatting (4 spaces indentation)
* Rename DIAGNOSTIC_LIB to RDC_ROCR_LIB
* Update gRPC version in README to 1.44.0
* Remove gtest source
* Pull gtest from github if not installed

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Depends-On: I1039ef61247e3f0ff822925cc869fb0c2bf3af85
Change-Id: I879b21428e6642f19fda67092b365d8b78b7ba7b
2022-10-07 13:58:50 -05:00
Galantsev, Dmitrii 9ff80828e5 Compile rdctst and improve CMakeLists
Main CMake improvements:

* Add rdctst with -DBUILD_TESTS=ON
* Set default ROCM_DIR to /opt/rocm/
* Split rdc_libs/CMakeLists.txt into subdirectories
* Package tests into rdc-tests.deb and .rpm

Misc improvements:

* Add .editorconfig to normalize code formatting
* Add .gitignore
* Expand RPATH for gRPC to reduce LD_LIBRARY_PATH usage
* Export compile_commands.json
* Show warning and do not install gRPC if GRPC_ROOT is left as default
* Move .in files into relevant subdirectories
* Move most variables into project CMakeLists.txt to avoid redefinitions
* Normalize CMakeLists.txt formatting (4 spaces indentation)
* Rename DIAGNOSTIC_LIB to RDC_ROCR_LIB
* Update gRPC version in README to 1.44.0
* Remove gtest source
* Pull gtest from github if not installed

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Depends-On: I1039ef61247e3f0ff822925cc869fb0c2bf3af85
Change-Id: I879b21428e6642f19fda67092b365d8b78b7ba7b


[ROCm/rdc commit: 2c171767b3]
2022-10-07 13:58:50 -05:00
Tao Sang 2be45a82ec SWDEV-318349 - Fix hipGraphKernelNode and hipGraphMemcpyNode
For hipGraphKernelNode, remove func_;
and reorganize functions to naturely support mGPU;
For hipGraphMemcpyNode, make EnqueueCommands() support different
queues' sync
Change-Id: I22708923f454adf4456ff99d25559daffed8c20d


[ROCm/clr commit: f83ba8cd23]
2022-10-07 09:07:56 -04:00
Tao Sang f83ba8cd23 SWDEV-318349 - Fix hipGraphKernelNode and hipGraphMemcpyNode
For hipGraphKernelNode, remove func_;
and reorganize functions to naturely support mGPU;
For hipGraphMemcpyNode, make EnqueueCommands() support different
queues' sync
Change-Id: I22708923f454adf4456ff99d25559daffed8c20d
2022-10-07 09:07:56 -04:00
Jonathan R. Madsen 0ec0d18ac8 Trace thread config + paranoid level + preload (#176)
- OMNITRACE_TRACE_THREAD_BARRIERS config option
  - set to OFF to disable wrapping `pthread_barrier`
- OMNITRACE_TRACE_THREAD_JOIN config option
  - set to OFF to disable wrapping `pthread_join`
- allow PAPI with perf_event_paranoid at level 2
- default to no PAPI events
- setenv LD_PRELOAD to not include libomnitrace after preload
  - closes #175 
- bump version to 1.7.1

[ROCm/rocprofiler-systems commit: a3439d5bf2]
2022-10-06 19:11:08 -05:00
Jonathan R. Madsen a3439d5bf2 Trace thread config + paranoid level + preload (#176)
- OMNITRACE_TRACE_THREAD_BARRIERS config option
  - set to OFF to disable wrapping `pthread_barrier`
- OMNITRACE_TRACE_THREAD_JOIN config option
  - set to OFF to disable wrapping `pthread_join`
- allow PAPI with perf_event_paranoid at level 2
- default to no PAPI events
- setenv LD_PRELOAD to not include libomnitrace after preload
  - closes #175 
- bump version to 1.7.1
2022-10-06 19:11:08 -05:00
agunashe d6e67b33e5 SWDEV-327563 - skip tests for windows (#2977)
* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithPendingWork
Unit_hipStreamWaitEvent_DifferentStreams

* SWDEV-327563 - skip tests for windows

leading spaces

* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithFinishedWork

[ROCm/hip-tests commit: 5dc822afcd]
2022-10-06 09:53:38 -07:00
agunashe 5dc822afcd SWDEV-327563 - skip tests for windows (#2977)
* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithPendingWork
Unit_hipStreamWaitEvent_DifferentStreams

* SWDEV-327563 - skip tests for windows

leading spaces

* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithFinishedWork
2022-10-06 09:53:38 -07:00
agunashe 13d706c6e1 SWDEV-327563 - skip tests for windows (#2977)
* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithPendingWork
Unit_hipStreamWaitEvent_DifferentStreams

* SWDEV-327563 - skip tests for windows

leading spaces

* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithFinishedWork

[ROCm/hip commit: 25c18cbcf3]
2022-10-06 09:53:38 -07:00
agunashe 25c18cbcf3 SWDEV-327563 - skip tests for windows (#2977)
* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithPendingWork
Unit_hipStreamWaitEvent_DifferentStreams

* SWDEV-327563 - skip tests for windows

leading spaces

* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithFinishedWork
2022-10-06 09:53:38 -07:00
Saleel Kudchadker 41d911d637 SWDEV-356482 - Improve logging
Change-Id: I0c6286fcdb9d94398ed66262e95e8837898ff9fe


[ROCm/clr commit: eef2f99513]
2022-10-06 11:13:24 -04:00
Saleel Kudchadker eef2f99513 SWDEV-356482 - Improve logging
Change-Id: I0c6286fcdb9d94398ed66262e95e8837898ff9fe
2022-10-06 11:13:24 -04:00
David Yat Sin 9cb10a3dd8 Fix compile warnings and remove unused variables
Change-Id: I7acaee5e9cf218b358ffaf0e3af6067faf6f3d2a
2022-10-06 10:11:17 -04:00
David Yat Sin 2affd1a1f6 Fix compile warnings and remove unused variables
Change-Id: I7acaee5e9cf218b358ffaf0e3af6067faf6f3d2a


[ROCm/ROCR-Runtime commit: 9cb10a3dd8]
2022-10-06 10:11:17 -04:00
Jenkins 19c08b7b18 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ifcd3a019dbd72336ba22953b0c238630411bda37


[ROCm/hip commit: c3ad9dec98]
2022-10-06 07:10:16 -04:00
Jenkins c3ad9dec98 SWDEV-299127 - Merge 'develop' into 'amd-staging'
Change-Id: Ifcd3a019dbd72336ba22953b0c238630411bda37
2022-10-06 07:10:16 -04:00
Chauncey Hui 3c01989266 SWDEV-2 - Change OpenCL version number from 3511 to 3512
[ROCm/clr commit: 3e3fa68657]
2022-10-06 03:00:06 -04:00
Chauncey Hui 3e3fa68657 SWDEV-2 - Change OpenCL version number from 3511 to 3512 2022-10-06 03:00:06 -04:00
Yifan Zhang f05770610c Adjust the passing value for GPU agent when do max single allocation test
For APU asics, the default configuration size of video memory is
relatively small, while the reserved region becomes larger in recent
generation asics, ratio of max alloc size to the pool size may below
the expected value, so adjust it.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: I0e847c4c13e957cf6e811d3f379842619cf53370
2022-10-05 22:16:58 -04:00
Yifan Zhang 519d3be5ea Adjust the passing value for GPU agent when do max single allocation test
For APU asics, the default configuration size of video memory is
relatively small, while the reserved region becomes larger in recent
generation asics, ratio of max alloc size to the pool size may below
the expected value, so adjust it.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: I0e847c4c13e957cf6e811d3f379842619cf53370


[ROCm/ROCR-Runtime commit: f05770610c]
2022-10-05 22:16:58 -04:00
Sourabh Betigeri f25d8dae77 SWDEV-357246 - Adds a missing return statement
Change-Id: I2216f71f4d4fb6dd3766023b0c821cb3d35d7849


[ROCm/clr commit: 84fbb30b7c]
2022-10-05 16:29:32 -04:00
Sourabh Betigeri 84fbb30b7c SWDEV-357246 - Adds a missing return statement
Change-Id: I2216f71f4d4fb6dd3766023b0c821cb3d35d7849
2022-10-05 16:29:32 -04:00