Julia Jiang
48b91908bc
SWDEV-286322 - clean up trailing space - part2 ( #2383 )
...
Change-Id: Id659c029a33874bc9a7d4c42bffd06cdc1845e2e
2021-11-25 15:08:06 +05:30
TomSang
57f6cd0827
SWDEV-302654 - Fix cooperative_streams_half_capacity ( #2376 )
...
Fix random failure of cooperative_streams_half_capacity by adding HIPCHECK(hipSetDevice(dev))
Change-Id: Ic4baf10a2c69f981aa7134a999c4779642852f53
2021-10-06 17:27:39 +05:30
TomSang
b05a0503f1
SWDEV-299966 - Enable texture test ( #2340 )
...
Enable the following test directed_tests/runtimeApi/module/hipModuleTexture2dDrv --tests 0x14
Change-Id: I98eabb7412f615733a999bf5e89c2c80b91cfbb2
2021-10-06 17:23:33 +05:30
Julia Jiang
c61bbcce35
SWDEV-286322 - remove unnecessary executable permission ( #2362 )
...
Change-Id: Iebcac3f717ed916554d57a4b839d27b0427efd84
2021-09-24 16:28:03 +05:30
Julia Jiang
44581b4d3c
SWDEV-286322 - clean up trailing space ( #2361 )
...
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c
2021-09-24 16:27:51 +05:30
TomSang
de8bb09c29
SWDEV-299755 - Fix hiprtc failure on NV ( #2341 )
...
1. Add missing nvrtc lib.
2. Add context creation before call module(driver) api.
3. Remove obsolete saxpy_pch test.
Change-Id: I5add27ebabcf021fa3ef99d09004c5d13423a297
2021-09-14 13:37:56 +05:30
TomSang
ae73179d40
SWDEV-298338 - Fix memory test failure on NV MGPUs ( #2339 )
...
1. Fix hipMallocManagedMultiChunkMultiDevice
Add device setting before kernel launching
Add stream sync
2. Fix hipMemcpyAtoH and hipMemcpyHtoA
Fix primary context initialization issue when device
is changed on cuda
Change-Id: I3fe6dbc35b7b24abb21ada297b7885df83d28152
2021-09-14 13:37:46 +05:30
TomSang
7dba6dc28e
SWDEV-299960 - Fix .hipTestAtomicAdd test on NV ( #2338 )
...
1. Add --gpu-architecture=compute_60 to fully support AtomicAdd()
2. Add atomicAddNoRet() for NV.
Change-Id: I5add28ebabcfa21fb3ef99d09004c5d13423a290
2021-09-14 13:37:30 +05:30
TomSang
3fd16c0b5b
SWDEV-266829 - Enable more tests on AMD and NV devices ( #2336 )
...
* SWDEV-266829 - Enable more tests on AMD and NV devices
1. Enable tests on AMD and NV devices
tests/src/runtimeApi/event/hipEventMultiThreaded.cpp
Loops and threads per core are changed smaller so that test can
finish in a shorter time.
tests/src/runtimeApi/stream/hipStreamCreateWithPriority.cpp
Fix logic error on how to get priority_normal
2. Simply enable test on AMD device
tests/src/runtimeApi/memory/hipManagedKeyword.cpp
tests/src/runtimeApi/module/hipManagedKeyword.cpp
tests/src/runtimeApi/stream/hipStreamACb_MultiThread.cpp
tests/src/runtimeApi/memory/p2p_copy_coherency.cpp
3. Simply enable test on NV device
tests/src/runtimeApi/module/hipModuleLoadDataMultThreaded.cpp
4. Fix typo
tests/src/runtimeApi/stream/hipStreamAddCallbackCatch.cpp
5. Remove useless tests
tests/src/hipC.c
tests/src/hipHcc.cpp
Change-Id: Ia4406353e64d69bd34c58ebb56185701f7ce1caa
* Remove tests/src/runtimeApi/module/hipModuleLoadDataMultThreaded.cpp for cuda test
Co-authored-by: anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com >
Co-authored-by: Jenkins <jenkins-compute@amd.com >
2021-09-14 13:36:32 +05:30
Julia Jiang
56d6d27a6f
SWDEV-286322 - remove unnecessary executable permission in some HIP files ( #2329 )
...
Change-Id: If992963761a73d709e08330bc36f2c979d5dcae9
2021-09-02 08:47:57 +05:30
TomSang
c57e0f8fe5
SWDEV-294589 - Fix hipCGMultiGridGroupType* failure on NV ( #2326 )
...
Fix the following failed tests on NV,
hipCGMultiGridGroupType
hipCGMultiGridGroupTypeViaBaseType
hipCGMultiGridGroupTypeViaPublicApi
1. Fix wrong logic in kernel for both AMD and NV.
2. Remove unnecessary hipDeviceSynchronize().
3. In hipCGMultiGridGroupTypeViaBaseType.cpp, change
multi_grid_group as thread_group which is originally expected.
4. hipFree(syncResultD) is fixed as hipHostFree(syncResultD)
5. Optimize some host codes.
Change-Id: I3fe6dac35a7b14bab12adf397b7885df83d28059
2021-08-27 08:51:15 +05:30
TomSang
67b3681d26
SWDEV-298459 - Fix cooperative_streams on NV ( #2325 )
...
Enable cooperativeGrps/cooperative_streams on NV.
Add test cases of the least/half/full capacity.
Verify data in terms of AMD/NV devices.
Optimize codes
Change-Id: I3fe6dbc35b7b24abb11adf297b7885df83d28154
2021-08-27 08:51:02 +05:30
Julia Jiang
c2be66db76
SWDEV-286322 - remove unnecessary executable permission ( #2323 )
...
Change-Id: I61674df72bc1d42d4e0d56bf66f08abe85269697
2021-08-25 16:57:22 -07:00
TomSang
48d8040b06
SWDEV-294597 - Add more hipNormalizedFloatValueTex cases ( #2310 )
...
Add test cases for filter modes: hipFilterModePoint and hipFilterModeLinear
Change-Id: I3fe6dbc35a7b14aab12adf297b7885df83d28056
2021-08-19 10:28:14 +05:30
arjun-raj-kuppala
402211e28e
Jenkins pipeline code to enable external ci on develop branch ( #2302 )
...
* Create Jenkinsfile
* Temporarily disable hipModuleLoadDataMultThreaded test on nvidia
Change-Id: Id061e8a43cccdf0d944081268758b946d2448a6e
2021-08-10 10:16:04 +05:30
Tao Sang
148f1bd59d
SWDEV-294597 - Fix hipNormalizedFloatValueTex
...
Enable hipNormalizedFloatValueTex on AMD and NV.
Add thresh_hold for comparing data.
Change-Id: I3fe6dbc35a7b14aab11adf297b7885df83d28049
2021-08-02 16:54:51 -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
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
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
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
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
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
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
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
Anusha GodavarthySurya
6e7ea5b612
SWDEV-240806 - Added Implementation for few more graph APIs
...
Change-Id: I1e443cf1b4e3a1e85f6fb9c1db8fdfa7c1fdfe06
2021-07-14 01:58:03 -04:00
Anusha GodavarthySurya
9c9b62f0b8
SWDEV-240806 - Enable graph test on nvidia platform
...
Change-Id: Ia196dd7c650693155f786871671aec4dda0e886f
2021-07-08 23:27:20 -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
Satyanvesh Dittakavi
f5703d57cd
SWDEV-292618 - Enable/Fix more dtests on Nvidia Platform
...
Change-Id: I0fdac4ddefa693674dfce66ba29306f34ad886c9
2021-07-07 03:23:42 -04:00
Satyanvesh Dittakavi
57569c62f4
SWDEV-292618 - Enable/Fix few of the dtests on Nvidia Platform
...
Change-Id: I6f4e37b293aac9054a768f9d692b914f52d42756
2021-06-30 01:23:29 -04:00
Anusha GodavarthySurya
7c5afff964
SWDEV-240806 - Enable hipgraph test on amd platform
...
Change-Id: I470a9c410704ec2074eb32030311df671da5e8bb
2021-06-22 01:41:25 -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
Tao Sang
87ba31e596
SWDEV-291011 - Fix ModuleLaunchKernel on NV
...
Should not add extra for non-parameter dummyKernel()
in hipModuleLaunchKernel()
Change-Id: If6f881ebb027bd3e8435d3de5295b00277e96a6a
2021-06-16 11:52:38 -04:00
Tao Sang
fd50af8c77
SWDEV-291001 - Disable sincos() for NV
...
Disable sincos() for NV temporarily in order
to prevent kernel launch failure for NVA100.
Change-Id: Ic9ec976c5c486c4e1d3b83e1578081673f97efa3
2021-06-15 13:31:20 -04:00
cjatin
575be36c2e
SWDEV-245414 - Add Copyright and exlude mipmap test on Nvidia platform
...
Change-Id: Iba29caa0e9021488378625506197384c275a3282
2021-06-07 11:15:00 -04:00
Tao Sang
792415f960
SWDEV-287768 - Fix hipTestClock test
...
Use long long instead of int as clock64() return.
Change-Id: Id3e4645c05959e13f58efd88bc43f3a1d3e50d59
2021-06-04 15:45:07 -04:00
Vladislav Sytchenko
88242ad446
Revert "SWDEV-255979 - Enable __managed__ test for amd platform"
...
This reverts commit e519600383 .
Change-Id: Ib1be007535dcfb24d9e4eddbdb706d3be4acc20c
2021-06-01 17:37:30 -04:00
Joseph Greathouse
bec284b26a
SWDEV-288361 - Implement funnel shift operators
...
Change-Id: I0c73809366f2d21e75f98fdeac7fed0c7591ee34
2021-06-01 11:10:11 -04:00
Anusha GodavarthySurya
d9fffacfb3
SWDEV-255979 - Add support for dynamic __managed__ variables
...
Change-Id: I62b790853ea3ab3b7ac57bab389046c627fdecce
2021-06-01 05:09:51 -04:00
Tao Sang
9ba66fc157
SWDEV-276853 - Add kernelVerify
...
Add kernelVerify for data verification and memory
reading performance checking in kernel.
Change-Id: Id3f9bcad75d643f493daf9d5f47b3a012a427179
2021-05-31 12:45:10 -04:00