76333 İşleme
Yazar SHA1 Mesaj Tarih
Janek van Oirschot b33788a477 Prevent chomp return from overriding HIP_CLANG_TARGET triple information (#2958)
[ROCm/hip commit: 3a9866730d]
2022-09-27 07:46:29 +05:30
Janek van Oirschot 3a9866730d Prevent chomp return from overriding HIP_CLANG_TARGET triple information (#2958) 2022-09-27 07:46:29 +05:30
Siu Chi Chan 6d1409b61f SWDEV-355588 - [hipcc] remove --enable-new-dtags (#2955)
Don't pass the --enable-new-dtags flag to clang, just the LLVM's default

Change-Id: I2bd06181c490e1c0fec3241a404b546de3ebe970

[ROCm/hip commit: 5e7b7e11a5]
2022-09-27 07:46:06 +05:30
Siu Chi Chan 5e7b7e11a5 SWDEV-355588 - [hipcc] remove --enable-new-dtags (#2955)
Don't pass the --enable-new-dtags flag to clang, just the LLVM's default

Change-Id: I2bd06181c490e1c0fec3241a404b546de3ebe970
2022-09-27 07:46:06 +05:30
ROCm CI Service Account d24745cdc0 SWDEV-355608 - hipcc: remove -use_fast_math (#2965)
It doesn't seem to provide any functionality, probably leftover from some experimental codes.

Change-Id: I1720ccf29e057d7f2e18a7dfd1adccd3d51fa80c

[ROCm/hip commit: cb084f4072]
2022-09-27 07:45:11 +05:30
ROCm CI Service Account cb084f4072 SWDEV-355608 - hipcc: remove -use_fast_math (#2965)
It doesn't seem to provide any functionality, probably leftover from some experimental codes.

Change-Id: I1720ccf29e057d7f2e18a7dfd1adccd3d51fa80c
2022-09-27 07:45:11 +05:30
ROCm CI Service Account 4a0fbb5b98 SWDEV-355608 - deprecate a few hipcc-only options (#2962)
Change-Id: I0a57e4afebbad9c4b93b70331869c22c39f1b38e


[ROCm/hip commit: 924db1d9e9]
2022-09-26 16:41:34 -07:00
ROCm CI Service Account 924db1d9e9 SWDEV-355608 - deprecate a few hipcc-only options (#2962)
Change-Id: I0a57e4afebbad9c4b93b70331869c22c39f1b38e
2022-09-26 16:41:34 -07:00
Laurent Morichetti 6ea76c581b Use the "safe" Stack for begin_timestamp
The tracer tool needs to remember the begin timestamps for API
callbacks, and uses a thread_local std::stack for that purpose.

The issue with thread_local objects is that they are destructed
before anything else when the main thread exits. To work around
that issue, we use a "safe" stack in the roctracer API.

Use the same "safe" stack in the tracer tool.

Change-Id: I0d69d4eb44f0205f4102d0d5ef9803a1ec1800a5


[ROCm/roctracer commit: b664937ebd]
2022-09-26 13:44:55 -07:00
Laurent Morichetti b664937ebd Use the "safe" Stack for begin_timestamp
The tracer tool needs to remember the begin timestamps for API
callbacks, and uses a thread_local std::stack for that purpose.

The issue with thread_local objects is that they are destructed
before anything else when the main thread exits. To work around
that issue, we use a "safe" stack in the roctracer API.

Use the same "safe" stack in the tracer tool.

Change-Id: I0d69d4eb44f0205f4102d0d5ef9803a1ec1800a5
2022-09-26 13:44:55 -07:00
Laurent Morichetti e8dc8de195 Fix a typo in HipLoader
rocprof errors out with the following message:
symbol lookup 'KernelNameRef' failed: libamdhip64.so.5: undefined \
  symbol: KernelNameRef

The HipLoader is incorrectly looking for a KernelNameRef symbol
instead of hipKernelNameRef.

Fixed the typo: KernelNameRef -> hipKernelNameRef.

Change-Id: Ia4860e1669707b0c83d67e71b78d362b07a6aaa7


[ROCm/roctracer commit: a287f20961]
2022-09-26 09:31:14 -07:00
Laurent Morichetti a287f20961 Fix a typo in HipLoader
rocprof errors out with the following message:
symbol lookup 'KernelNameRef' failed: libamdhip64.so.5: undefined \
  symbol: KernelNameRef

The HipLoader is incorrectly looking for a KernelNameRef symbol
instead of hipKernelNameRef.

Fixed the typo: KernelNameRef -> hipKernelNameRef.

Change-Id: Ia4860e1669707b0c83d67e71b78d362b07a6aaa7
2022-09-26 09:31:14 -07:00
Wen-Heng (Jack) Chung 27d27e971b Merge pull request #619 from whchung/exp_reduce_code_size
Only use split tree algorithm to reduce kernel code size.

[ROCm/rccl commit: e8af0716c4]
2022-09-26 10:06:27 -05:00
Wen-Heng (Jack) Chung e8af0716c4 Merge pull request #619 from whchung/exp_reduce_code_size
Only use split tree algorithm to reduce kernel code size.
2022-09-26 10:06:27 -05:00
ROCm CI Service Account 0fc914ca05 SWDEV-331160 - [catch2][dtest] Test cases to test api hipDeviceSetLimit() (#2863)
Change-Id: Ifb78392b55b60ce8b3eb7822a0b32c8fac8cc594

[ROCm/hip-tests commit: b95baa3a18]
2022-09-26 19:49:00 +05:30
ROCm CI Service Account b95baa3a18 SWDEV-331160 - [catch2][dtest] Test cases to test api hipDeviceSetLimit() (#2863)
Change-Id: Ifb78392b55b60ce8b3eb7822a0b32c8fac8cc594
2022-09-26 19:49:00 +05:30
ROCm CI Service Account f31ee4bf3d SWDEV-331160 - [catch2][dtest] Test cases to test api hipDeviceSetLimit() (#2863)
Change-Id: Ifb78392b55b60ce8b3eb7822a0b32c8fac8cc594

[ROCm/hip commit: 2d53608d49]
2022-09-26 19:49:00 +05:30
ROCm CI Service Account 2d53608d49 SWDEV-331160 - [catch2][dtest] Test cases to test api hipDeviceSetLimit() (#2863)
Change-Id: Ifb78392b55b60ce8b3eb7822a0b32c8fac8cc594
2022-09-26 19:49:00 +05:30
Jonathan R. Madsen 073ab3882b Fix deadlocks during initialization (#167)
- More to come in later commit, below is just tidying some stuff up
  - clang-tidy
  - mpi_gotcha quiet about not finding funcs
  - update to new papi config
  - sampling block_samples / unblock_samples
    - disable calling component's sample functions within sampler
  - release doesn't strip library
  - remove HSA and ROCP env variables from modulefile / setup-env
- preliminary support for LD_PRELOAD usage
- default sampling rate is 300 interrupts / second
- fixes various deadlock issues at startup

[ROCm/rocprofiler-systems commit: 8f36620e29]
2022-09-26 07:52:14 -05:00
Jonathan R. Madsen 8f36620e29 Fix deadlocks during initialization (#167)
- More to come in later commit, below is just tidying some stuff up
  - clang-tidy
  - mpi_gotcha quiet about not finding funcs
  - update to new papi config
  - sampling block_samples / unblock_samples
    - disable calling component's sample functions within sampler
  - release doesn't strip library
  - remove HSA and ROCP env variables from modulefile / setup-env
- preliminary support for LD_PRELOAD usage
- default sampling rate is 300 interrupts / second
- fixes various deadlock issues at startup
2022-09-26 07:52:14 -05:00
Sylvain Jeaugey fda4362c9e Fix potential deadlock during init in multi-thread mode.
Make sure all calls calling cudaMalloc (including devCommSetup) are
called before the last bootstrapBarrier. That way, we avoid calls to
cudaMalloc be blocked by a NCCL kernel launched on another GPU by
another thread which completed init faster.

Resolve #623.


[ROCm/rccl commit: ecab28a7c9]
2022-09-26 02:13:10 -07:00
Sylvain Jeaugey ecab28a7c9 Fix potential deadlock during init in multi-thread mode.
Make sure all calls calling cudaMalloc (including devCommSetup) are
called before the last bootstrapBarrier. That way, we avoid calls to
cudaMalloc be blocked by a NCCL kernel launched on another GPU by
another thread which completed init faster.

Resolve #623.
2022-09-26 02:13:10 -07:00
nives-vukovic 9989a958c6 EXSWHTEC-15 - Implement additional HipEventElapsedTime tests (#2903)
- Fix minor bug in helper test function in Unit_hipEvent.cc
- Move negative test from Unit_hipEventElapsedTime_DifferentDevices to Unit_hipEventRecord_Negative
- Add Unit_hipEventElapsedTime_NotReady_Negative test when function is called on event that has not been completed

[ROCm/hip-tests commit: f72a34b807]
2022-09-26 13:47:12 +05:30
nives-vukovic f72a34b807 EXSWHTEC-15 - Implement additional HipEventElapsedTime tests (#2903)
- Fix minor bug in helper test function in Unit_hipEvent.cc
- Move negative test from Unit_hipEventElapsedTime_DifferentDevices to Unit_hipEventRecord_Negative
- Add Unit_hipEventElapsedTime_NotReady_Negative test when function is called on event that has not been completed
2022-09-26 13:47:12 +05:30
nives-vukovic 65252464d9 EXSWHTEC-15 - Implement additional HipEventElapsedTime tests (#2903)
- Fix minor bug in helper test function in Unit_hipEvent.cc
- Move negative test from Unit_hipEventElapsedTime_DifferentDevices to Unit_hipEventRecord_Negative
- Add Unit_hipEventElapsedTime_NotReady_Negative test when function is called on event that has not been completed

[ROCm/hip commit: 5bf0dbe5ad]
2022-09-26 13:47:12 +05:30
nives-vukovic 5bf0dbe5ad EXSWHTEC-15 - Implement additional HipEventElapsedTime tests (#2903)
- Fix minor bug in helper test function in Unit_hipEvent.cc
- Move negative test from Unit_hipEventElapsedTime_DifferentDevices to Unit_hipEventRecord_Negative
- Add Unit_hipEventElapsedTime_NotReady_Negative test when function is called on event that has not been completed
2022-09-26 13:47:12 +05:30
Mirza Halilčević 68b3eed631 EXSWHTEC-4 - Implement printing of certain device information (#2884)
* Implement printing out of device count to standard output
* Implement printing out of device attributes retrieved by hipDeviceGetAttribute.
* Implement printing of device properties retrieved by hipGetDeviceProperties.

[ROCm/hip-tests commit: 51a22bb085]
2022-09-26 13:46:38 +05:30
Mirza Halilčević 51a22bb085 EXSWHTEC-4 - Implement printing of certain device information (#2884)
* Implement printing out of device count to standard output
* Implement printing out of device attributes retrieved by hipDeviceGetAttribute.
* Implement printing of device properties retrieved by hipGetDeviceProperties.
2022-09-26 13:46:38 +05:30
Mirza Halilčević 109af3fe8c EXSWHTEC-4 - Implement printing of certain device information (#2884)
* Implement printing out of device count to standard output
* Implement printing out of device attributes retrieved by hipDeviceGetAttribute.
* Implement printing of device properties retrieved by hipGetDeviceProperties.

[ROCm/hip commit: 8cb701166d]
2022-09-26 13:46:38 +05:30
Mirza Halilčević 8cb701166d EXSWHTEC-4 - Implement printing of certain device information (#2884)
* Implement printing out of device count to standard output
* Implement printing out of device attributes retrieved by hipDeviceGetAttribute.
* Implement printing of device properties retrieved by hipGetDeviceProperties.
2022-09-26 13:46:38 +05:30
nives-vukovic 5ce32f14ab EXSWHTEC-37 - Expand tests for hipStreamQuery (#2921)
- Add testing for null stream in Unit_hipStreamQuery_WithNoWork
- Add testing for null stream in Unit_hipStreamQuery_WithFinishedWork

[ROCm/hip-tests commit: 4795cc6265]
2022-09-26 11:03:30 +05:30
nives-vukovic 4795cc6265 EXSWHTEC-37 - Expand tests for hipStreamQuery (#2921)
- Add testing for null stream in Unit_hipStreamQuery_WithNoWork
- Add testing for null stream in Unit_hipStreamQuery_WithFinishedWork
2022-09-26 11:03:30 +05:30
nives-vukovic f90f92fd1e EXSWHTEC-37 - Expand tests for hipStreamQuery (#2921)
- Add testing for null stream in Unit_hipStreamQuery_WithNoWork
- Add testing for null stream in Unit_hipStreamQuery_WithFinishedWork

[ROCm/hip commit: 4afc7866b5]
2022-09-26 11:03:30 +05:30
nives-vukovic 4afc7866b5 EXSWHTEC-37 - Expand tests for hipStreamQuery (#2921)
- Add testing for null stream in Unit_hipStreamQuery_WithNoWork
- Add testing for null stream in Unit_hipStreamQuery_WithFinishedWork
2022-09-26 11:03:30 +05:30
nives-vukovic 2570d7501b EXSWHTEC-24 - Fix issues and refactor code in Stream Management tests (#2916)
- Fix bug in calculation of normal priority in Unit_hipStreamGetPriority_StreamsWithCUMask tests
- Delete duplicate test Unit_hipStreamGetPriority_InvalidPriorityPointer
- Separate Unit_hipStreamAddCallback_ParamTst into positive and negative test
- Remove Unit_hipStreamDestroy_Negative_DoubleDestroy test for Nvidia devices due to error

[ROCm/hip-tests commit: 968e21cd1f]
2022-09-26 11:03:18 +05:30
nives-vukovic 968e21cd1f EXSWHTEC-24 - Fix issues and refactor code in Stream Management tests (#2916)
- Fix bug in calculation of normal priority in Unit_hipStreamGetPriority_StreamsWithCUMask tests
- Delete duplicate test Unit_hipStreamGetPriority_InvalidPriorityPointer
- Separate Unit_hipStreamAddCallback_ParamTst into positive and negative test
- Remove Unit_hipStreamDestroy_Negative_DoubleDestroy test for Nvidia devices due to error
2022-09-26 11:03:18 +05:30
nives-vukovic 263e58230b EXSWHTEC-24 - Fix issues and refactor code in Stream Management tests (#2916)
- Fix bug in calculation of normal priority in Unit_hipStreamGetPriority_StreamsWithCUMask tests
- Delete duplicate test Unit_hipStreamGetPriority_InvalidPriorityPointer
- Separate Unit_hipStreamAddCallback_ParamTst into positive and negative test
- Remove Unit_hipStreamDestroy_Negative_DoubleDestroy test for Nvidia devices due to error

[ROCm/hip commit: d60b65b5dc]
2022-09-26 11:03:18 +05:30
nives-vukovic d60b65b5dc EXSWHTEC-24 - Fix issues and refactor code in Stream Management tests (#2916)
- Fix bug in calculation of normal priority in Unit_hipStreamGetPriority_StreamsWithCUMask tests
- Delete duplicate test Unit_hipStreamGetPriority_InvalidPriorityPointer
- Separate Unit_hipStreamAddCallback_ParamTst into positive and negative test
- Remove Unit_hipStreamDestroy_Negative_DoubleDestroy test for Nvidia devices due to error
2022-09-26 11:03:18 +05:30
nives-vukovic 64b7fa1b80 EXSWHTEC-18 - Implement positive test for hipDeviceGetStreamPriorityRange (#2911)
- Add hipDeviceGetStreamPriorityRange.cc file with a test for simple device stream priority range check
- Add newly created file into CMakeLists.txt

[ROCm/hip-tests commit: 26d316a250]
2022-09-26 11:02:49 +05:30
nives-vukovic 26d316a250 EXSWHTEC-18 - Implement positive test for hipDeviceGetStreamPriorityRange (#2911)
- Add hipDeviceGetStreamPriorityRange.cc file with a test for simple device stream priority range check
- Add newly created file into CMakeLists.txt
2022-09-26 11:02:49 +05:30
nives-vukovic d45eb3bb01 EXSWHTEC-18 - Implement positive test for hipDeviceGetStreamPriorityRange (#2911)
- Add hipDeviceGetStreamPriorityRange.cc file with a test for simple device stream priority range check
- Add newly created file into CMakeLists.txt

[ROCm/hip commit: 66471b01c9]
2022-09-26 11:02:49 +05:30
nives-vukovic 66471b01c9 EXSWHTEC-18 - Implement positive test for hipDeviceGetStreamPriorityRange (#2911)
- Add hipDeviceGetStreamPriorityRange.cc file with a test for simple device stream priority range check
- Add newly created file into CMakeLists.txt
2022-09-26 11:02:49 +05:30
nives-vukovic 9e373a398f EXSWHTEC-16 - Implement hipEventSynchronize tests (#2904)
- Add hipEventSynchronize.cc file with positive unit tests: Simple recorded event synchronization and without event recording
- Add newly created file into CMakeLists.txt

[ROCm/hip-tests commit: bc83dae816]
2022-09-26 11:02:00 +05:30
nives-vukovic bc83dae816 EXSWHTEC-16 - Implement hipEventSynchronize tests (#2904)
- Add hipEventSynchronize.cc file with positive unit tests: Simple recorded event synchronization and without event recording
- Add newly created file into CMakeLists.txt
2022-09-26 11:02:00 +05:30
nives-vukovic 06e3b9bed9 EXSWHTEC-16 - Implement hipEventSynchronize tests (#2904)
- Add hipEventSynchronize.cc file with positive unit tests: Simple recorded event synchronization and without event recording
- Add newly created file into CMakeLists.txt

[ROCm/hip commit: 7b8feec246]
2022-09-26 11:02:00 +05:30
nives-vukovic 7b8feec246 EXSWHTEC-16 - Implement hipEventSynchronize tests (#2904)
- Add hipEventSynchronize.cc file with positive unit tests: Simple recorded event synchronization and without event recording
- Add newly created file into CMakeLists.txt
2022-09-26 11:02:00 +05:30
ROCm CI Service Account 440621fe3d SWDEV-339488 - Catch2 test for hipRTC include path (#2898)
* SWDEV-339488 - Catch2 test for hipRTC include path

Change-Id: I1f5502d1ea72ac4133f79207f2d60f86b934cf36

[ROCm/hip-tests commit: 0e309ebc9e]
2022-09-26 07:39:45 +05:30
ROCm CI Service Account 0e309ebc9e SWDEV-339488 - Catch2 test for hipRTC include path (#2898)
* SWDEV-339488 - Catch2 test for hipRTC include path

Change-Id: I1f5502d1ea72ac4133f79207f2d60f86b934cf36
2022-09-26 07:39:45 +05:30
ROCm CI Service Account 5447a15ca7 SWDEV-339488 - Catch2 test for hipRTC include path (#2898)
* SWDEV-339488 - Catch2 test for hipRTC include path

Change-Id: I1f5502d1ea72ac4133f79207f2d60f86b934cf36

[ROCm/hip commit: 2e641ee60b]
2022-09-26 07:39:45 +05:30
ROCm CI Service Account 2e641ee60b SWDEV-339488 - Catch2 test for hipRTC include path (#2898)
* SWDEV-339488 - Catch2 test for hipRTC include path

Change-Id: I1f5502d1ea72ac4133f79207f2d60f86b934cf36
2022-09-26 07:39:45 +05:30