Commit Graph

6756 Commits

Author SHA1 Message Date
ROCm CI Service Account f331637ff6 SWDEV-379789 - Correct virtual function support information (#3154)
Change-Id: Ife63b2f4bb3ecdb7fed3b796bc3cd582c1b5ad20
2023-02-08 17:42:07 -08:00
ROCm CI Service Account 905512e255 SWDEV-306306 - Update information for hipMemGetInfo API (#3155)
Change-Id: Ib2b7f81189a82fd47f28cd0056f2997d4ead0e34
2023-02-08 17:41:30 -08:00
searlmc1 58008d8f65 Tweak print msg (#3147)
Add newline
Fix grammatical error
2023-02-08 12:10:22 -08:00
ROCm CI Service Account 0a20904eb6 SWDEV-356879 - find_dependency instead of hsa path search (#3139)
Change-Id: I728c11146eb355b72ec0e01b20832787b93afb5b
2023-02-06 11:12:53 -08:00
ROCm CI Service Account e18cbe64c1 SWDEV-380238 - hipcc passes incorrect device lib path to clang on windows (#3150)
hipcc should not pass --hip-device-lib-path to clang by default so that clang
decicde device lib path by itself.

hipcc only passes --hip-device-lib-path to clang if env var DEVICE_LIB_PATH
is specified.

DEVICE_LIB_PATH should be depricated in the future and users should use
--hip-device-lib-path instead.

Change-Id: I1ada35fb438643cbe68da777e3881aaa935162fa
2023-01-31 23:45:01 -08:00
ROCm CI Service Account 436ba9757b SWDEV-377267 - Update hip_build document for ROCm 5.5 (#3146)
Change-Id: I9fb1527572487c8fa97c7a7c289ec6081f17305d
2023-01-26 08:20:58 -08:00
Siu Chi Chan a388eb1e6f SWDEV-355608 - deprecate/cleanup hipcc link flags (#3128)
- deprecate -use-staticlib, -use-sharedlib which no longer provide any
functional values
- use --hip-link instead of specifying the HIP runtime by name when
linking
- fix linker option bug in HIT test's cmake
- update build options for unit tests requiring pthread or rt

Change-Id: Ib49978773c80fb40c71dc52b050ce921943ee3e4
2023-01-23 22:42:52 -08:00
ROCm CI Service Account d8f39ab8d2 SWDEV-364604 - Add hipEventDisableReleaseToSystem (#3132)
Add the above flag to be used with hipEventCreateWithFlags API

Change-Id: I4dcd259e579546178865879f69b78410f5ad1b57
2023-01-23 14:58:47 -08:00
arjun-raj-kuppala a148d22cac fetch tests from hip-tests (#3133)
* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Temporarily disable failing tests
2023-01-20 19:11:25 -08:00
ROCm CI Service Account b90b4ebffb SWDEV-376697 - Adding hipDeviceMallocUncached flag for uncached memory. (#3136)
Change-Id: Id2761e9ec27c04106598fa13082009974e19ab91
2023-01-16 20:41:08 -08:00
Maneesh Gupta b7d1ae99e4 Create VERSION 2023-01-16 09:53:41 +05:30
ROCm CI Service Account e40f199f30 SWDEV-374365 - adding define for hipExternalMemoryDedicated (#3130)
Change-Id: Ibea8f7e05bf29652358b81e14215725a19973757
2023-01-09 16:51:18 -08:00
ROCm CI Service Account a2a6d6e279 SWDEV-368881 - Add hipModuleLaunchCooperative* interfaces (#3113)
- Add interfaces for hipModuleLaunchCooperativeKernel, hipModuleLaunchCooperativeKernelMultiDevice

Change-Id: Idf7f4b01ba243774c86b979f8da3460fd5d9c759
2023-01-09 14:01:11 +05:30
ROCm CI Service Account a95b8c94df SWDEV-374402 - Fix hipExtLaunchKernel documentation (#3126)
Change-Id: I90ad2a3a9a7d940f6853f976b329ee0eb5a161b8
2023-01-06 11:59:31 -08:00
ROCm CI Service Account a4a172d5d6 SWDEV-287842 - Update HIP_RTC markdown doc (#3114)
Change-Id: I8242abc9edde89320f64d7f7dac6210fd6bd8592
2023-01-05 21:31:30 -08:00
ROCm CI Service Account 73086b0c84 SWDEV-361374 - Adding support for hipPointerSetAttributes (#3125)
Change-Id: I9d654185902e1a53338cbdaf7bbb6c1ebc4b043c
2023-01-05 17:59:29 -08:00
ROCm CI Service Account 6f8ca12d4d SWDEV-352878 - Removed relative path based CLANG include, CLANGRT dependencies (#3124)
Change-Id: Ifdcd117679bff548a6351ba915a8272689e647de
2023-01-05 13:07:15 -08:00
ROCm CI Service Account afeeaba3a3 SWDEV-369618 - hipOccupancyMaxPotentialBlockSizeVariableSMemWithFlags invalid flag scenario (#3121)
Change-Id: I98f185db82f23514976ecf562894acb65006c352
2023-01-03 23:48:17 -08:00
ROCm CI Service Account 9b7e42dd5e SWDEV-353281 - Expose graph interface for mempool (#3115)
Change-Id: I4f0c37d27758a6bc80b5a34c85dfd07bc45b0a4c
2023-01-03 17:20:38 -08:00
ROCm CI Service Account c437ca95d2 SWDEV-364373 - updated doxygen for the API hipDeviceSetCacheConfig (#3112)
Change-Id: Icbbeb16b043b73c4d810710e3504dae593c34295
2023-01-02 10:13:56 +05:30
ROCm CI Service Account d2555768ac SWDEV-359882 - hipcc compiler does not work when installation path contains spaces (#3117)
Change-Id: I35fb67091f1d65ad9474e80f71826a3031c9654e
2022-12-21 12:38:04 -08:00
ROCm CI Service Account 464abba716 SWDEV-345571 - template parameter redefines error disable temporarily for shfl changes (#3109)
Change-Id: Ife1e274c5442854d2beddf9a1b5ac87358df19f2
2022-12-20 11:16:16 -08:00
ROCm CI Service Account e1bbdf5750 SWDEV-372006 - Removed HSA_PATH variable from hipconfig.pl (#3120)
HSA_PATH is not required in hipcc and removed from hipvars and hipcc.pl as part of SWDEV-345870.
The incomplete removal is causing build failure in pytorch due to invalid hip version
Removing HSA_PATH from hipconfig.pl, so that hipconfig will provide the hip version without any warning

Depends-On: Ia461cb4da2c0e0967703033f5c2c79b67732f5b5
Change-Id: I8f18b27f40f4080b68a936450ba6e092f997ec47
2022-12-20 09:35:27 +05:30
ROCm CI Service Account 0c443d1201 SWDEV-344620 - hipcc fails to parse version of clang in some cases (#3119)
Change-Id: I46f716c82a7500b9a2bcaf5f9ff4ad8a8f982770
2022-12-19 17:21:12 -08:00
ROCm CI Service Account 31009ea884 SWDEV-372171 - Correct section for hipLaunchHostFunc (#3116)
Change-Id: I48bd381bfadafe079e34b5d2877a1133fd405a9a
2022-12-19 12:51:34 -08:00
Maneesh Gupta 0a478fb801 Update hipDeviceReset.cc
- Don't destroy the stream after reset since behavior is not consistent.
2022-12-05 08:56:05 +05:30
Maneesh Gupta a0cb54fa79 Remove hipGetSymbolSizeAddress.cc from AMD compilation temporarily 2022-12-02 12:41:06 +05:30
Mirza Halilčević 72134a78f2 EXSWHTEC-3 - Implement tests for hipDeviceReset (#2873)
* Implement tests for hipDeviceReset

- Basic test for behaviour validation
- Multithreaded test similar to basic test.

* Update license boilerplate.

Signed-off-by: Dino Music <dino.music@htecgroup.com>

* EXSWHTEC-3 - Add stream and memory checks to hipDeviceReset tests.

* EXSWHTEC-3 - Corrected expected error code for hipStreamDestroy

* EXSWHTEC-3 - Corrected check ordering in
Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Exclude hipDeviceSetGetCacheConfig checks for AMD

* EXSWHTEC-3 - Corrected merge error in device/CMakeLists.txt

* EXSWHTEC-3 - Remove NVIDIA guards from tests and relax the code.

* EXSWHTEC-3 - Update tests to take into account unsupported operations on AMD

* EXSWHTEC-3 - Fix bug in Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Disable hipDeviceReset tests for AMD.
2022-11-30 20:37:20 -08:00
music-dino 1f774ad632 EXSWHTEC-81 - Implement tests for hipGetSymbolAddress and hipGetSymbolSize (#3002)
- Implement negative tests for hipGetSymbolAddress
- Implement negative tests for hipGetSymbolSize
- Reimplement positive test for both apis
- Expand positive test with memcpy to and from symbol
- Disable test sections that cause a segfault in CUDA
2022-11-30 17:28:13 +05:30
ROCm CI Service Account 0c0645a561 SWDEV-351024 - [catch2][dtest] Multiprocess test cases for the API hipMemGetInfo() (#2864)
Change-Id: Icaf780a4f11e8f62622b3f81ba84646c734d79e1
2022-11-30 15:27:36 +05:30
ROCm CI Service Account 13a228ff29 SWDEV-241672 - Catch2 dtest migration of hipMathFunctions.cpp having pow tests (#2595)
* SWDEV-241672 - Catch2 dtest migration of hipMathFunctions.cpp having pow tests

Change-Id: I13961461398439534dd5dfd91d9dcd5fbb8ca124
2022-11-30 15:27:07 +05:30
ROCm CI Service Account da6d35142b SWDEV-366314 - Move hip_bfloat16 implementation to hipamd (#3102)
hip_bfloat16 header in hip repo just includes the amd_hip_bfloat16 from hipamd

Change-Id: Ie96f908009cf96f37d868f2cd9a97d5f3e8b0ade
2022-11-30 13:21:04 +05:30
ROCm CI Service Account 9884dc7084 SWDEV-366085 - update doc on deprecated API list (#3104)
Change-Id: Ib0f3552974f00bcf646effe7d4d2b91ef6d20ce0
2022-11-30 13:20:50 +05:30
ROCm CI Service Account 165843e94b SWDEV-362823 - Duplicate symbol linking (#3105)
hip-clang can handle hip offload-bundles now, so no need to extract them separately in archives (.a) or object files (.o)

Change-Id: I764243c172a4912d64dbfb318470bf36e066756d
2022-11-30 13:20:38 +05:30
ROCm CI Service Account 58790104f2 SWDEV-363038 - Add Unit_hipGraphKernelNodeGetSetParams_Functional (#3062)
Add unit test: Unit_hipGraphKernelNodeGetSetParams_Functional

Add kernel node to graph with certain kernel params, now get kernel node parameters with hipGraphKernelNodeGetParams, then update the kernel node params with hipGraphKernelNodeSetParams, finally check taking effect after launching graph.

Change-Id: I2216f72f4dade6dd37663d3b0d821cb3d35d7856
2022-11-29 07:08:27 +05:30
ROCm CI Service Account c0e05cf582 SWDEV-345571 - Fix template parameter redefines default argument (#3101)
Change-Id: I1f22f0dd17831d31d9119e878f698312f29ce036
2022-11-28 16:45:34 -08:00
ROCm CI Service Account 0e06303fe2 SWDEV-345188 - Windows: fix warnings while building catch (#3071)
fixes deprecated warning for 'getenv' on Windows

Change-Id: I5ecdaca451a936e843691c4611910ee338b22e46
2022-11-28 20:17:09 +05:30
ROCm CI Service Account 955f1e4979 SWDEV-346657 - add more hipStreamAcb test (#3064)
* SWDEV-346657 - add more hipStreamAcb test

Change-Id: If94628ec9c285e9689ce471931b3c40b7d3ece84
2022-11-28 20:16:16 +05:30
ROCm CI Service Account d76a487187 SWDEV-306122 - [catch2][dtest] Added test for hipUserObjectCreate, hipUserObjectRelease, hipUserObjectRetain, hipGraphReleaseUserObject, hipGraphRetainUserObject API (#3061)
* SWDEV-306122 - [catch2][dtest] Added test for hipUserObjectCreate, hipUserObjectRelease, hipUserObjectRetain, hipGraphReleaseUserObject, hipGraphRetainUserObject API

Change-Id: I7fd25bcc23f0629d92296ab7b20258a6e268a58b
2022-11-28 20:15:49 +05:30
ROCm CI Service Account 8202097629 SWDEV-306410 - Add Unit_hipEventMGpuMThreads* (#3095)
Change-Id: Ieaaed1d15b4d258103d8341d4b17d9f83a9e4785
2022-11-28 14:04:36 +05:30
ROCm CI Service Account 8c79142035 SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamBeginCapture() API (#3094)
Change-Id: I7b89dcb6aa24eae0daf2974733ddeb6d3902cafa
2022-11-28 14:04:25 +05:30
ROCm CI Service Account 92f705e9bd SWDEV-368417 - Update FAQ on library support (#3092)
Change-Id: I940f840be45e6c45b960ec03ae007472e965cb5e
2022-11-28 14:04:14 +05:30
ROCm CI Service Account 5e50c01e44 SWDEV-367463 - Add unit test for hipMallocManaged call w/ large size (#3089)
Change-Id: I9e9f6687ec837f3aaa1567d8b00f15925b7dd2c2
2022-11-28 14:04:01 +05:30
ROCm CI Service Account d8efb5fd4d SWDEV-348684 - Fixed catch-2 test failure (#3073)
Change-Id: Ib21c26a3c8e51f0b7f132ecd4ad209dfef1d0689
2022-11-28 14:03:51 +05:30
ROCm CI Service Account 5698fed162 SWDEV-327563 - deviceLib build fix for nvidia (#3072)
Change-Id: Ic66242caa21f9ba6f41255d84a3fd3e54b481b46
2022-11-28 14:03:31 +05:30
ROCm CI Service Account 388432384f SWDEV-345870 - Correct HIP path for new directory layout and removed the usage of HSA_PATH in hipcc (#3065)
With file reorganization, HIP installed in /opt/rocm-ver
Use the install path rather than using backward compatible path.
HSA_PATH is not at all required in hipcc and removed the same

Change-Id: Ia461cb4da2c0e0967703033f5c2c79b67732f5b5
2022-11-24 09:33:05 +05:30
Maneesh Gupta d3e7e5a23b Disable Unit_hipMemset_Negative_OutOfBoundsPtr 2022-11-23 15:06:16 +05:30
Maneesh Gupta 385a114025 Disable wall clock test temporarily 2022-11-23 14:13:59 +05:30
Maneesh Gupta 81c12ab01d Better handle failures in CI infra (#3098)
* Update Jenkinsfile
* Update tests/catch/unit/CMakeLists.txt
2022-11-23 12:34:02 +05:30
ansurya 1cdb2d5be5 SWDEV-325711 - Added new Graph APIs (#3097)
- hipGraphDebugDotPrint
- hipGraphKernelNodeCopyAttributes
- hipGraphNodeGetEnabled
- hipGraphNodeSetEnabled

Change-Id: Ic6156e00cfc6a4614649eda12b81187e6b186efb
2022-11-23 09:44:27 +05:30