提交線圖

6193 次程式碼提交

作者 SHA1 備註 日期
Jatin Chaudhary c02f8be0ac SWDEV-303745 - Add new path of clangrt lib (#2385)
Change-Id: I3bfe28ac5c50884653187d733a466e661ff32f7d

[ROCm/hip commit: 5d57c55c4a]
2021-11-25 15:09:00 +05:30
Julia Jiang 3351c0a2f7 SWDEV-286322 - clean up trailing space - part2 (#2383)
Change-Id: Id659c029a33874bc9a7d4c42bffd06cdc1845e2e

[ROCm/hip commit: 48b91908bc]
2021-11-25 15:08:06 +05:30
Julia Jiang 84395b3b1f SWDEV-291894 - update doxygen for HIP APIs (#2382)
Change-Id: I0ca57d6ced43b962d9b002b098e64221c4b267d7

[ROCm/hip commit: d22fa0012e]
2021-11-25 15:07:52 +05:30
Maneesh Gupta dc6003da81 Revert HIP version back to 4.4.0
[ROCm/hip commit: 26dc58d72a]
2021-11-24 11:06:31 +05:30
Maneesh Gupta 634e465644 Bump HIP version to 5.0.0
[ROCm/hip commit: 3384fbdfe5]
2021-11-16 08:21:00 +05:30
arjun-raj-kuppala 006f6a9fdb Update CI pipeline with catch2 framework tests (#2401)
[ROCm/hip commit: 1c886a8b60]
2021-11-12 10:30:27 +05:30
Sarbojit2019 378995cbe1 SWDEV-304161 - Fix for test build failure on Nvidia (#2387)
[ROCm/hip commit: 96ee9d1397]
2021-10-20 14:27:13 -07:00
Maneesh Gupta 8aad90d0bd Update hipMallocManaged.cc
* Fix integer and size_t comparisions.
* Split basic scenario into two - all devices and HMM enabled devices only.

[ROCm/hip commit: 36dc2b4cc3]
2021-10-06 18:45:15 +05:30
Maneesh Gupta 8143a1dde0 Update hipMemPrefetchAsyncExtTsts.cc
Removed unused variables

[ROCm/hip commit: 15306667ed]
2021-10-06 18:17:08 +05:30
lthakur cbb5deb342 SWDEV-298757 - hipMallocManaged.cc Adding basic and rigorous scenarios related to hipMallocManaged() api. (#2379)
* SWDEV-298757 - Adding test case to test hipMemAdvise() on mmap() memory

Change-Id: Ib8d57d2249d0bb6780c9fdef21907568c22db66c

[ROCm/hip commit: ed460452db]
2021-10-06 17:37:26 +05:30
lthakur 4a3628f75b SWDEV-298757 - Adding test case to test hipMemAdvise() on mmap() memory (#2378)
Change-Id: Ib8d57d2249d0bb6780c9fdef21907568c22db66c

[ROCm/hip commit: 382701025e]
2021-10-06 17:33:26 +05:30
TomSang c21a3f06ad SWDEV-302654 - Fix cooperative_streams_half_capacity (#2376)
Fix random failure of cooperative_streams_half_capacity by adding HIPCHECK(hipSetDevice(dev))

Change-Id: Ic4baf10a2c69f981aa7134a999c4779642852f53

[ROCm/hip commit: 57f6cd0827]
2021-10-06 17:27:39 +05:30
pghafari 5542d66704 SWDEV-245532 - HIP - Vulkan interop example (#2375)
Change-Id: I713ff8fd9da49aa521aee278d1476fd8b4739fc5

[ROCm/hip commit: 75bc66f177]
2021-10-06 17:27:22 +05:30
Jatin Chaudhary e4b9d607dd SWDEV-289409 - Add Infra for process isolation (#2374)
Change-Id: Iada6e5cfd38e2ba6efa14d7328e56f2260a72931

[ROCm/hip commit: 44e844d19d]
2021-10-06 17:26:52 +05:30
Jatin Chaudhary 2b8bf18dc9 SWDEV-296918 - Improve the check on test of unsafe atomic API (#2373)
Change-Id: I2631994af0deb4ed6c32141886676b72b8a30204

[ROCm/hip commit: a935321f9f]
2021-10-06 17:24:26 +05:30
lthakur 1b30fb0783 SWDEV-298757 - hipMemPrefetchAsyncExtTsts.cc - Adding more rigorous tests for hipMemPrefetchAsync() api (#2369)
Change-Id: I321c5c636b6961e9eeee901b98645690783a418b

[ROCm/hip commit: 71e8b09070]
2021-10-06 17:24:04 +05:30
TomSang 3aa91ecfd7 SWDEV-299966 - Enable texture test (#2340)
Enable the following test directed_tests/runtimeApi/module/hipModuleTexture2dDrv --tests 0x14

Change-Id: I98eabb7412f615733a999bf5e89c2c80b91cfbb2

[ROCm/hip commit: b05a0503f1]
2021-10-06 17:23:33 +05:30
Maneesh Gupta 266355ffb3 [dtest] Remove unused variables in hipMemset2DAsyncMultiThreadAndKernel.cc
[ROCm/hip commit: 865b40d8bd]
2021-09-30 13:17:15 +05:30
ansurya ec17bf5601 SWDEV-240806 - Added few more Graph APIs (#2367)
Change-Id: Ibae3a640edf45a90517bee9ebc364ac01731418a

[ROCm/hip commit: b4e84a333d]
2021-09-24 16:30:15 +05:30
lthakur 349a189e7a SWDEV-298757 - hipMallocManagedFlagsTst.cc Added tests to test flags of hipMallocManaged() api. (#2366)
Change-Id: I4294a4e5c3176c9ece8ed6b35cb83e4d1a3e4773

[ROCm/hip commit: 9ae69c5935]
2021-09-24 16:29:39 +05:30
Jatin Chaudhary 6b654c0bf3 SWDEV-297706 - Set HIP_ARCHITECTURE Property to off. Since cmake 3.21 cmake has added this property(https://gitlab.kitware.com/cmake/cmake/-/blob/master/Help/prop_tgt/HIP_ARCHITECTURES.rst) (#2364)
Change-Id: I33580ac0171ac3744341fcbf25cc3421a1512166

[ROCm/hip commit: 6e27c48da7]
2021-09-24 16:28:38 +05:30
Jatin Chaudhary 86a0af8a04 SWDEV-294226 - Add -x c++ if openmp targets are mentioned (#2363)
Change-Id: Ie15d63eebe2b0b86487ac59845b4fc7f5e5a9e86

[ROCm/hip commit: 63dfe6e8a1]
2021-09-24 16:28:25 +05:30
Julia Jiang 3d53651d31 SWDEV-286322 - remove unnecessary executable permission (#2362)
Change-Id: Iebcac3f717ed916554d57a4b839d27b0427efd84

[ROCm/hip commit: c61bbcce35]
2021-09-24 16:28:03 +05:30
Julia Jiang e3c8349e2e SWDEV-286322 - clean up trailing space (#2361)
Change-Id: I03c07e67a8d1fa1a874718ffba43eb396c2aa05c

[ROCm/hip commit: 44581b4d3c]
2021-09-24 16:27:51 +05:30
sumanthtg 2788cb1243 SWDEV-238517 - [dtest] New Catch2 Tests for texture object apis. (#2358)
Seperate Catch2 files are created for each resource type. Future test additions of respective resource type will be added to resource type specific files.

Change-Id: I7ba09f5bd31605bb670ec70ed7f12904e34cf40d

[ROCm/hip commit: abe851ad75]
2021-09-24 16:27:39 +05:30
sumanthtg fc106647e3 SWDEV-303262 - Catch2 test fix for -Wunused-but-set-parameter compilation error. (#2357)
Change-Id: I102d80763103fa792ab1282745bd89f8d24454d2

[ROCm/hip commit: e2dd25333a]
2021-09-24 16:27:17 +05:30
Julia Jiang 798d7c78df SWDEV-302172 - update Coherenty control in HIP programming (#2353)
Change-Id: I5ec4e2afd8b3759ded954d0de7486fdf51a412b5

[ROCm/hip commit: 2312cf8ad3]
2021-09-20 12:13:40 +05:30
Julia Jiang 50fe217aac SWDEV-300860 - Add summary of HIP environment variables in hip_debugging.md (#2352)
Change-Id: Id36dce73346fa5a3259257c78f0cf289f9b9f41a

[ROCm/hip commit: c2ce476d09]
2021-09-20 12:13:01 +05:30
Maneesh Gupta 1ffcd30e5a Revert "SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)" (#2354)
This reverts commit 9ea3c833bc.

[ROCm/hip commit: 61ae7884a4]
2021-09-20 10:47:52 +05:30
Maneesh Gupta 4cf1bd9334 Fix catch2 unit test build failure
Incorrect resolution of merge conflict resulted in not updating tests/catch/unit/memory/CMakeLists.txt correctly

[ROCm/hip commit: e31d5bd8e0]
2021-09-20 09:41:45 +05:30
sumanthtg b7039d9a4a SWDEV-292637 - [dtest] Catch2 unit and multiprocess tests for Memset3d,HostMalloc and MallocConcurrency tests (#2348)
Change-Id: I9025bc13735c1d9fb0f0811a9c9d6ad304adc134

[ROCm/hip commit: 8c0558c448]
2021-09-17 12:11:26 +05:30
sumanthtg 6461d71f55 SWDEV-294470 - [dtest] Catch2 unit tests for hipMemset2d, hipMemset2d Mthread, hipMemset3d files. (#2347)
Change-Id: Ia503f9dd12b8c576dee17c3fcbb018eeac305a7e

Co-authored-by: Maneesh Gupta <maneesh.gupta@amd.com>

[ROCm/hip commit: b537d94974]
2021-09-17 11:54:39 +05:30
dkrottap 9ea3c833bc SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)
Migrated all module related files to CATCH2 framework and optimized to
have single module kernel file

Change-Id: I39aa28ef22c1b2f4d0014ca32b59b9c645b725dc

[ROCm/hip commit: 8763c8c2ad]
2021-09-17 11:39:36 +05:30
sumanthtg 2d35d4b1f5 SWDEV-292643 - [dtest] Catch2 additional unit tests for stream management apis. (#2349)
APIs covered :
hipStreamGetPriority, hipStreamCreate, hipStreamGetFlags, hipExtStreamGetCUMask apis.

Change-Id: I238b4e631938471eab05c598f91477eeb0856054

[ROCm/hip commit: bef1aa7ee6]
2021-09-17 11:39:25 +05:30
sumanthtg 3e6857f698 SWDEV-294470 - [dtest] Catch2 unit tests for memset related tests. (#2345)
Change-Id: Ib227e75cb0bef9273bc787e47fa5b713086fac46

[ROCm/hip commit: f7be53ba75]
2021-09-17 11:37:05 +05:30
sumanthtg bc851a78ac SWDEV-292643 - [dtest] Catch2 unit tests for stream management apis. (#2343)
Catch2 tests for : hipStreamAddCallback, hipStreamCreateWithFlags, hipStreamCreateWithPriority, hipExtStreamCreateWithCUMask

Change-Id: Ia99c06b1e97fc945f1a740e47710f4dcd70f38cd

[ROCm/hip commit: 2a17c5662d]
2021-09-14 13:38:07 +05:30
TomSang b8cc5e4a33 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

[ROCm/hip commit: de8bb09c29]
2021-09-14 13:37:56 +05:30
TomSang 40812160de 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

[ROCm/hip commit: ae73179d40]
2021-09-14 13:37:46 +05:30
TomSang 588a6c250e 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

[ROCm/hip commit: 7dba6dc28e]
2021-09-14 13:37:30 +05:30
TomSang a5ba71000b SWDEV-299773 - Enable performance tests on NV (#2337)
1. Simply enable test on NV
   Some need minor fix
performance/compute/hipPerfDotProduct.cpp
performance/dispatch/hipPerfDispatchSpeed.cpp
performance/memory/hipPerfBufferCopyRectSpeed.cpp
performance/memory/hipPerfBufferCopySpeed.cpp
performance/memory/hipPerfDevMemReadSpeed.cpp
performance/memory/hipPerfDevMemWriteSpeed.cpp
performance/memory/hipPerfMemcpy.cpp
performance/memory/hipPerfMemset.cpp
performance/memory/hipPerfSharedMemReadSpeed.cpp
performance/stream/hipPerfDeviceConcurrency.cpp
performance/stream/hipPerfStreamCreateCopyDestroy.cpp

2. Enable and fix on NV
performance/compute/hipPerfMandelbrot.cpp
   Root cause: coordIdx is random
   Solution: Initialize coordIdx correctly
performance/memory/hipPerfMemFill.cpp
   Root cause: Hip ext Apis called.
   Solution: Exclude case with Hip ext Apis involved
performance/memory/hipPerfMemMallocCpyFree.cpp
   Root cause: Test allocates device memory more than GPU has.
   Solution: Allocate device memory in terms of GPU capacity.
tests/performance/memory/hipPerfSampleRate.cpp
   Root cause: Cuda has no operators += for float2 and float4.
   Solution: Provide the operators.
performance/stream/hipPerfStreamConcurrency.cpp
   Root cause:float4 format doesn't match cude.
              operators are missing in cuda lib.
   Solution: Use (x, y, z, w) format.
             Add necessary float4 operatoris for cuda.

Change-Id: I5add29ebabcfb21fb3ef89d09004c5d13423a291

[ROCm/hip commit: 9035ae3154]
2021-09-14 13:37:13 +05:30
TomSang f4aa2b9977 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>

[ROCm/hip commit: 3fd16c0b5b]
2021-09-14 13:36:32 +05:30
Julia Jiang 12c15c7f71 SWDEV-291894 - Update the launch bounds error message and version note in FAQ (#2335)
Change-Id: I5b876e80c69d3e04fec92bc3eb995fcd3e94edcd

[ROCm/hip commit: 346117774c]
2021-09-14 13:35:51 +05:30
Julia Jiang 0776cd141a SWDEV-291894 - update warning message for hipRuntimeGetVersion (#2334)
Change-Id: Ibec032765cc53c1a438272b0114d57947c9fded7

[ROCm/hip commit: 0e48f796cd]
2021-09-14 13:35:37 +05:30
Jatin Chaudhary 28cfed7879 SWDEV-296918 - Adding unsafe atomics test for gfx90a (#2331)
Change-Id: I3936e0b30e15aff154bdab3efe3f6da2ccce3578

[ROCm/hip commit: 6a09344dba]
2021-09-06 12:21:38 +05:30
Julia Jiang eec75aa436 SWDEV-286322 - remove unnecessary executable permission in some HIP files (#2329)
Change-Id: If992963761a73d709e08330bc36f2c979d5dcae9

[ROCm/hip commit: 56d6d27a6f]
2021-09-02 08:47:57 +05:30
Julia Jiang f800e06fc4 SWDEV-291894 - Add doxygen for hip graph APIs (#2328)
Change-Id: Id878125b34711fc43570dd680c05310d9e2a4015

[ROCm/hip commit: af3c38c477]
2021-09-02 08:47:38 +05:30
TomSang 90927a5ec6 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

[ROCm/hip commit: c57e0f8fe5]
2021-08-27 08:51:15 +05:30
TomSang e2da704d65 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

[ROCm/hip commit: 67b3681d26]
2021-08-27 08:51:02 +05:30
Julia Jiang aa04296fb8 SWDEV-291894 - update branch info in hip install/readme (#2324)
Change-Id: Ie737bfbe3333973d6b42c496b23edcdc0966b9a1

[ROCm/hip commit: b2425ef68a]
2021-08-26 09:19:54 -07:00
Julia Jiang b84eef1623 SWDEV-286322 - remove unnecessary executable permission (#2323)
Change-Id: I61674df72bc1d42d4e0d56bf66f08abe85269697

[ROCm/hip commit: c2be66db76]
2021-08-25 16:57:22 -07:00