Gráfico de Commits

6428 Commits

Autor SHA1 Mensagem Data
Rahul Garg a797475e35 SWDEV-294828 - Move roc-obj binaries from hip to hipamd
Change-Id: I2a234c46d8516737b7153594e7f978ce3247d6e8
2021-07-30 15:11:47 -04:00
Sourabh Betigeri 8dfb12b6d2 SWDEV-292523 - Marking streamOperations as a Beta feature in documentation
Change-Id: Ib7323ff92df1bd111891b0c7c5e69b31e8ad8e68
2021-07-30 15:09:59 -04:00
Satyanvesh Dittakavi 5816d20752 SWDEV-289401 - Catch2 tests for hip event APIs
Change-Id: I7c28f842282e07c21656fb92ddbb1a9ad32d752c
2021-07-30 07:15:00 -04:00
Tao Sang 5b739b0373 SWDEV-294586 - Fix hipDynamicShared failure on NV
1. In kernel/hipDynamicShared
 Fix shared memory size and type mismatch in host and kernel.

2. In kernel/hipDynamicShared2
Cuda kernels relying on shared memory allocations over 48 KB require
to explicitly set size using hipFuncSetAttribute().

Change-Id: I4248b6cebd3dc156f9d5d427e1897da22fb964ed
2021-07-29 16:59:25 -04:00
Satyanvesh Dittakavi 80d2fee4d8 SWDEV-295427 - Update hipStreamACb_StrmSyncTiming test inorder to fix random failures
Change-Id: I5167fba79338fd2fdd059a9ad83007570bae46be
2021-07-29 12:32:57 -04:00
Tao Sang ec7e25b7e0 SWDEV-294591 - Fix hipEventIpc failure on NV
Remove unnecessary codes

Change-Id: I4248b2cebd3dd156f9d5d427e1897da22fb964ec
2021-07-29 10:16:07 -04:00
anusha GodavarthySurya 25a142dc69 SWDEV-287869 - [HIP] Package rename
Change-Id: I8690c02a8c210c11ad9f7037314ad8cc2124dfc9
2021-07-29 06:56:52 -04:00
kjayapra-amd f61dff826a SWDEV-292175 - Use gfx90a guards around image kernel device library call.
Change-Id: I29aaac940c75fcab0cddbc263d60c0076ea76068
2021-07-29 06:55:18 -04:00
Jatin Chaudhary cc7237d27d SWDEV-289409 - minor fixes for hipStream tests
Change-Id: I68288f33724b636715ee732e9044f82790e5da47
2021-07-29 02:04:31 -04:00
jujiang 5bcd842486 SWDEV-288929 - update document for the flag __HIP_USE_CMPXCHG_FOR_FP_ATOMICS
Change-Id: If7027d6a63c524e4c829288fe794258c7ecbf064
2021-07-28 20:16:54 -04:00
Tao Sang c053d60282 SWDEV-294591 - Fix hipEventIpc failure on NV
make hipIpcOpenEventHandle has the same behavour of cudaIpcOpenEventHandle.
Add Api usages.

Change-Id: I4248b2cebd3de156f9d5d427e1797da22fb964eb
2021-07-28 15:28:39 -04:00
jujiang 5d6ed58dcb SWDEV-288929 - add HIP version in FAQ
Change-Id: I260133a95e484919a362106e1bd36715358247f2
2021-07-28 12:47:51 -04:00
Tao Sang 5a0b463d60 SWDEV-294594 - Enable hipPointerGetAttributes test on NV
Change-Id: I3fe6dbc45a7a149a9109df297b7885df83d2804d
2021-07-28 08:59:34 -04:00
Anusha GodavarthySurya 08aa662166 SWDEV-240806 - Update graph test to use hipGraphGetNodes, hipGraphGetRootNodes and hipGraphAddDependencies
Change-Id: I33249d2b625d8ff03c9fe4a71a541cac5fef9d24
2021-07-27 02:12:26 -04:00
Tao Sang a0b301089c SWDEV-294596 - Fix module test failure on NV
Remove unecessary codes

Change-Id: I4248b2cebd3de156f9d5d427e0697da22fb964ea
2021-07-25 21:21:12 -04:00
Tao Sang ae30c5cd6b SWDEV-294596 - Fix module test failure on NV
1.Fix hipModuleNegative failure on all NV GPUs
a.Add signal handler for signal sent by cuda functions.
b.Make hipModuleGetGlobal match cuModuleGetGlobal behavour.
That is, if one of the first two parameters is nullptr, ignore it.

2.Fix hipModuleLoadDataMultThreaded failure on NV RTX5000
Improve lamda function.

Change-Id: I3fe6dbc35a7a14aa9119df197b7885df83d28047
2021-07-23 22:04:19 -04:00
Rahul Garg a7f321dfae SWDEV-288929 - Fix typo
Change-Id: I076bc34779f92820cbd8a36c1dfc62a45d6de9b5
2021-07-23 07:13:55 -04:00
Rahul Garg da2c352eb3 SWDEV-293742 - Update copyright year
Change-Id: I4248b2cebd3de056f9d5d417e0697da22fb964ef
2021-07-23 07:13:33 -04:00
Sarbojit Sarkar aca0437750 SWDEV-292547 - hipStreamPerThread support
Change-Id: I66d5b9a34ef26cfbd8ab608db20655a3b1d9c49a
2021-07-23 00:27:27 -04:00
Sourabh Betigeri 6deaba3fa7 SWDEV-292523 - [hip]Change in the signature of streamOperations APIs, particularly 'value' arg to unsigned 'value
Change-Id: If97e3de553dfef19c8bf2d9797a6c68ec94a0ff6
2021-07-22 15:35:06 -04:00
jujiang 992b7a56a5 SWDEV-288929 - Update HIP documents
Change-Id: Ic633e6783162a1e697597a1e077d814c23ceaa07
2021-07-22 13:06:48 -04:00
Vladislav Sytchenko d3b06fd5a6 SWDEV-281658 - Workaround for Windows build
Currently hip_prof_str.h does not include any header files. All HIP
declarations are being resolved by accident.

Pushing it to the end of hip_runtime_api.h will allow it to include the
definition of GLuint.

Change-Id: Ibb33b93cc7eab2028ba96f166bcb06f2f079feef
2021-07-22 10:49:31 -04:00
Jatin Chaudhary 25f1caac8b SWDEV-289409 - Add hiprtc tests
Change-Id: Ib26527b704aed32ae3f3ed38bf6e2fd412462c8e
2021-07-22 00:34:53 -04:00
Anusha GodavarthySurya 91ac5744ef SWDEV-240806 - Added API hipGraphAddMemcpyNode1D
Change-Id: I32440de0e890b001274fc7ca564fd91363d716d8
2021-07-21 23:12:47 -04:00
Tao Sang 586165ebc2 SWDEV-294588 - Enable NV printf DTests
Enable NV printf DTests as many as possible.
Fix the bugs due to behavour difference between
Hip-Rocclr and Cuda.
Add hipLimitPrintfFifoSize.

Change-Id: I3fe6dbc35a7a140a9919df197b7885df83d28049
2021-07-20 21:22:11 -04:00
Christophe Paquot b7c0b21814 SWDEV-240807 - Fix header file
Removed #ifdef __cplusplus around Graph API

Change-Id: I24000d49acd3b93cb19ae2f52618ae8c4a506e3b
2021-07-20 14:49:33 -07:00
DURGESH KROTTAPALLI bdc90769fb SWDEV-292393 - [catch2][dtest] hipMemcpyAtoH and hipMemcpyHtoA APIs to catch2
Migrated functional and negative scenarios of
hipMemcpyAtoH and
hipMemcpyHtoA APIs to catch2 framework

Change-Id: I68bb37d99fc371b8803e64ebf1533c0870b14fab
2021-07-20 18:08:17 +05:30
Satyanvesh Dittakavi 77cc05444f SWDEV-284207 - Modify HIP samples to run on Navi and MI100 Asics
Change-Id: I5b8d4f8df36a5be2ea4c381b88454832c59253e6
2021-07-20 02:56:19 -04:00
sumanthtg 44e1ae449a SWDEV-238517 - [dtest] Catch2 unit tests for device files.
Changes contain Device files under "hip/tests/src/runtimeApi/device" migrated to Catch2 and some additional device tests.

Change-Id: Ie88adc3c32c2079456b14e029cfc6c319b48d8f6
2021-07-19 13:38:30 -04:00
Aaron En Ye Shi 9fbd19a675 SWDEV-292904 - Extend HIP coherency tests to gfx940
Change-Id: I54d57572d55c302ebaed29c7e11570e3d1b44a8e
2021-07-19 12:13:53 -04:00
Tao Sang 4b5468e8e6 SWDEV-266829 - Enable more NV DTests
Enable NV DTests as many as possible.

Change-Id: I3fe6dba35a7a140a9a19df197b7885df83d28044
2021-07-19 11:07:43 -04:00
Tao Sang c74e2da333 SWDEV-295037 - Fix passed() in DTests
passed() should not call exit(0) which will prevent object
destructor being called.

Change-Id: Ibaee0d85cb616727dc5db557bb9422702670b688
2021-07-19 10:59:04 -04:00
Tao Sang 63586279ba SWDEV-294582 - Fix hipStdComplex in NV
Use cuda::std instead of std name space for complex
operations.

Change-Id: I43b23384ac7a129fcd7f41204f796105576cd628
2021-07-19 10:50:11 -04:00
Sarbojit Sarkar 56ed52e69a SWDEV-289406 - Occuancy test migration
Change-Id: Ic6bce9bbad908bd210727f9981f7a3fc750a91ed
2021-07-19 06:15:00 +00:00
DURGESH KROTTAPALLI f6e9d2491b SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy2DFromArray and hipMemcpy2DFromArrayAsync apis.
Added functional and negative scenarios for hipMemcpy2DFromArray and
hipMemcpy2DFromArrayAsync APIs

Change-Id: I269499b1d538affd505d9f529e7516cb3aa17863
2021-07-16 16:03:00 -04:00
Tao Sang a2fdc8cfbd SWDEV-295381 - Fix hipSimpleAtomicsTest
Fix hipSimpleAtomicsTest failure on amd and nvidia devices.

Change-Id: I43b23384ab70129ccd7f41204f796105576cd605
2021-07-15 20:45:51 -04:00
Jatin Chaudhary b337a5586b SWDEV-283267 - Add rtc document and remove hip header from tests
Change-Id: I43a23384ab70128ccd7f41204f796105576cd604
2021-07-14 11:00:38 -04:00
Rupam Chetia 1b53e0c51c SWDEV-230423 - [dtest] Adding Stress tests.
http://ontrack-internal.amd.com/browse/SWDEV-230423

1. Moving stress folder from hip/test/src to hip/test.
2. Adding Stream stress tests.
   These stress tests create multiple streams and launches kernel on them
   in multiple combinations for 100000 iterations. These tests will test
   the stability of streams created using hipStreamCreate, hipStreamCreateWithPriority
   and hipStreamCreateWithFlags.
3. Adding printf stress tests using simple kernels.
4. Adding printf stress tests using a complex kernel.

Change-Id: Idcd26707fb9504ab8dbe6cebcbb32ade61bf1483
2021-07-14 04:40:30 -04:00
Anusha GodavarthySurya 6e7ea5b612 SWDEV-240806 - Added Implementation for few more graph APIs
Change-Id: I1e443cf1b4e3a1e85f6fb9c1db8fdfa7c1fdfe06
2021-07-14 01:58:03 -04:00
DURGESH KROTTAPALLI b77fe6cc9f SWDEV-292393 - [catch2][dtest] hipMemcpy2D related dtests to catch2 framework
Migrated functional and negative scenarios of
hipMemcpy2D and
hipMemcpy2DAsync APIs to catch2 framework

Change-Id: I339f0914cc76fee194fff53dd9686b0c16d85af9
2021-07-14 00:04:27 +05:30
DURGESH KROTTAPALLI aa6b01f793 SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy3D and hipMemcpyParam2D APIs
Added functional and negative scenarios for
    hipMemcpy3D and
    hipMemcpyParam2D APIs in catch2 framework

Change-Id: I3473eb952c23aba6bc500d78ca93d52a9f7a5d6f
2021-07-13 12:22:43 -04:00
sumanthtg 6a8fd2b762 SWDEV-238517 - [dtest] Catch2 multiprocess tests for device files.
Changes contain Catch2 device multiprocess tests which were covered under "hip/tests/src/runtimeApi/device" and some additional tests. These test files makes use of fork call or sets visible devices env variable and validates various device aspects.

Change-Id: Iaaca37598d386104da9e5f37f92ab176bc8a2845
2021-07-13 08:42:41 -04:00
German Andryeyev a20ad647ea SWDEV-293583 - correct a typo in hipStreamAttachMemAsync
Change-Id: Ib9c634053a152353ae657a00fea4b072a824c5ba
2021-07-12 12:40:14 -04:00
DURGESH KROTTAPALLI 48c2a0fb27 SWDEV-292393 - [catch2][dtest] Tests for hipMemcpyPeer and hipMemcpyPeerAsync APIs.
Added functional and negative scenarios for
hipMemcpyPeer and
hipMemcpyPeerAsync APIs

Change-Id: Ibaee0d84cb616727dc5db057bb9422702670b686
2021-07-09 01:06:30 -04:00
Anusha GodavarthySurya 9c9b62f0b8 SWDEV-240806 - Enable graph test on nvidia platform
Change-Id: Ia196dd7c650693155f786871671aec4dda0e886f
2021-07-08 23:27:20 -04:00
Tao Sang 818aa18d59 SWDEV-292273 - Add cmake tests
Add test on CXX and Fortran build in cmake.
Add test on hip::device interface linking in cmake.

Change-Id: I3fe6dba05a7a140a9a19df107b7885df83d28042
2021-07-08 12:51:46 -04:00
DURGESH KROTTAPALLI edb1a96cdb SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy2DToArray and hipMemcpy2DToArrayAsync apis.
Added functional and negative scenarios for hipMemcpy2DToArray and
hipMemcpy2DToArrayAsync APIs

Change-Id: I97331a587fb1d51583faeec998cdb4ac09bfa564
2021-07-08 04:22:43 -04:00
Anusha GodavarthySurya 4025725ed6 SWDEV-240806 - updated hipMemcpyKind in nvidia tyes from enum to typedef
Change-Id: Id6a100257d47211cc9868ba84a2964302e4f069c
2021-07-08 02:54:36 -04:00
agunashe d529637fbc SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00
Satyanvesh Dittakavi 966741a0b3 SWDEV-293819 - Fix HIP Directed tests build failure
- add std=c++11 to the g++ test hipMalloc.cpp to avoid failure on centos
- Also, enabled gcc test hipMalloc.c on amd platform

Change-Id: I3ff6dba05a70140a9a19df107b7885df83d28041
2021-07-07 06:28:17 -04:00