Граф коммитов

5740 Коммитов

Автор SHA1 Сообщение Дата
Aaron En Ye Shi aee19bb761 Fix hipTestFMA to align with libcxx
The HIP-Clang math headers upstream have been updated
to perform type promotion on math function overloads.
If any argument has integral type, it will be cast to
double.

Change-Id: I38d9e6240c40c4092b946851469498b2ae6500ae


[ROCm/clr commit: 9c041b1984]
2020-12-08 10:48:29 -08:00
Jatin Chaudhary 48f0f9f8ad Adding -Wl,@response_file and @response_file mechanism to hipcc
Change-Id: Ic2053a38034b9366cf82fc01b7ea6b52e0f17077


[ROCm/clr commit: 19e234b420]
2020-12-07 13:38:35 -05:00
Jatin Chaudhary 8aa2ebb4de Adding checks for function, size and params in ihipModuleLaunchKernel to have common message for hipModuleLaunch and hipExtModuleLaunch
Change-Id: I11921ad753930872572571dbfd1c12daba83a725


[ROCm/clr commit: dfe6f1ef27]
2020-12-07 03:17:14 -05:00
Sudheer Kumar 6fd533b393 compiler argument update for nvcc
Change-Id: If40caf20543cc29301482deddfb03d6fccb6f3c9


[ROCm/clr commit: da6de84535]
2020-12-06 23:21:14 -05:00
sumanthtg 21c7f6e264 [dtest] hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags() - Additional test
Additional test for flag

SWDEV-238517 for enhancing hip unit tests

Change-Id: Ieca443678c122e291b9d4cd16f7198505cd5d6c3


[ROCm/clr commit: 8ad39c41d8]
2020-12-06 23:19:23 -05:00
Satyanvesh Dittakavi 78101c1e6b Modify atomicAdd float to use clang builtin
SWDEV-261229: Change atomicAdd float implementation to use clang builtin
along with deprecating atomicAddNoRet
Change-Id: I5e98034fec54ee1a2b85d5f56273e34945d49ea3


[ROCm/clr commit: 542d3219dc]
2020-12-03 23:59:10 -05:00
Saleel Kudchadker c43e5d83dd Add a new flag for profilingInfo to record gpu TS
Add a flag to record gpu TS in a marker, also disable marker flush
if there was already a marker submitted before.

Change-Id: I9cdf8e49137690c0050fe9370764dd059855a2f8


[ROCm/clr commit: db7ed1a78c]
2020-12-03 13:45:39 -05:00
agodavar 9ae4798aa7 SWDEV-256810 : hipMemcpy2D API handle width, src/dst pitch 0
Change-Id: I4f60b220624f4235c0c3daf68adcd5a496e93696


[ROCm/clr commit: 273e83ff6c]
2020-12-03 10:34:12 -05:00
Sarbojit Sarkar 83e94d189c SWDEV-258579: hipMemcpy2D better error handling
Change-Id: I09378d6e31da99451e22cbe9276a5ff1ad4a1840


[ROCm/clr commit: a08ddb4b53]
2020-12-03 05:50:42 -05:00
agodavar 2e6334e080 SWDEV-259210 : Handle invalid inputs for hipDeviceGetByPCIBusId and hipDeviceGetPCIBusId APIs
Change-Id: Iab48604941c4c715ee3357ace2e2d26dbc8cad33


[ROCm/clr commit: ef415ec610]
2020-12-02 00:01:54 -05:00
Sourabh Betigeri fc68222435 SWDEV-255397: Added new perf test for hipMemset* APIs
Change-Id: Icb12360ebde003e006cc4dceccac7ebe42712a3f


[ROCm/clr commit: 4b3c04c3b0]
2020-12-01 12:30:58 -05:00
Yaxun (Sam) Liu bf2c3ef2dd Update documentation for supported clang options
Change-Id: I5d7017cd5c4335959fe5bae322e90aa46cdbc672


[ROCm/clr commit: b49d801c5d]
2020-12-01 12:00:10 -05:00
Michael LIAO 927ab284f9 Fix hostcall test build.
- As `long`/`ulong` on Windows has different bit sizes from Linux
  platforms, even compiled in 64-bit mode. Need to use portable data
  type `int64_t`/`uint64_t` as possible or use `long long` ones to
  match the prototype in LLVM IR.

Change-Id: I62fe16a2e53aa0f2f2b4069b8a1596b8db7050c9


[ROCm/clr commit: f3b63c004a]
2020-11-30 16:47:16 -05:00
Siu Chi Chan fd50c7f4a1 Update HIP docs
Purge all obsoleted information that is only relevant to HCC

Change-Id: Ice6ae174a73ccac9dfe2ca05027d1ecdb32558d7


[ROCm/clr commit: 703816a7e1]
2020-11-27 14:48:09 -05:00
Rupam Chetia d34fa10231 [dtest] Tests for hipExtGetLinkTypeAndHopCount() API
1. Negative Test Cases
2. API functionality tests for hopcount and linktype using rocm-smi library.
3. API functionality test for hopcount when devices are reversed.
4. Disabling test case 7.
5. Implemented External Review Comments.
6. Created a new header file hipP2pLinkTypeAndHopFunc.h.
7. Removed test case 0x7 from directed test.
8. Put testMaskedDevice() under __linux__, placed TODO in line 404 (comments) and replaced '&=' with '='.

SWDEV-238517 for enhancing hip unit tests

Change-Id: I1ae256ecfd637d6c25bca293c1724b026be20eca


[ROCm/clr commit: 4b16d3896d]
2020-11-26 09:30:38 -05:00
Sudheer Kumar 8727d68f2e [dtest] Additional tests for d2d transfer
- Test d2d transfer after doing copy from pinned host buffer
- Test d2d transfer after doing copy from unpinned host buffer

SWDEV-238517 for enhancing hip unit tests

Change-Id: Ib262185ce2692036e11c0f95ccb850eb3bce1c81


[ROCm/clr commit: 50524ae60c]
2020-11-26 08:22:55 -05:00
Rupam Chetia cfda23d283 [dtest] Tests for hipModuleGetTexRef() API
1. Negative Test Cases
2. API functionality test using multiple streams.
3. API functionality validation using multiple GPUs.
4. Setting hipTexRefSetFlags() with HIP_TRSF_READ_AS_INTEGER flag instead of 0 as suggested in SWDEV-256096.
5. Enabling test cases 0x03 (short) and 0x04 (char).
6. Implemented external code review comments.

SWDEV-238517 for enhancing hip unit tests

Change-Id: If42796047ec1cf2e3695dc2b7f40a2d9dd50f5bd


[ROCm/clr commit: 4f039d1bf5]
2020-11-26 06:51:49 -05:00
Satyanvesh Dittakavi 37f121bda2 Fix hipLaunchCooperativeKernel failure on nvidia platform
SWDEV-262064 - compilation fails when hipLaunchCooperativeKernel C++ routine is invoked 
on nvcc path.
Change-Id: Icde35dd1a7008b406401bb3996c06d7acfb27d8d


[ROCm/clr commit: 80cb172fef]
2020-11-25 01:15:55 -05:00
Sarbojit Sarkar 65126bb8db SWDEV-260281: Fixed rpm dependencies
Change-Id: Ifd05db15d5d2098a0623fd6dd9e977d050a9c4a6


[ROCm/clr commit: c807f11580]
2020-11-25 00:24:37 -05:00
Michael LIAO 07aeadae82 Add initalize _wassert support.
Change-Id: I8922867ec77c975cdb235276fffc3c6272253a11


[ROCm/clr commit: 65f3439a0d]
2020-11-24 11:24:54 -05:00
Tony 0d2004544b Add additional targets
Add support for loading the following targets:

- gfx705
- gfx805
- gfx90c
- gfx1031
- gfx1032
- gfx1033

Change-Id: Ib7f61c33662619757409e95fb0b50068f9e11065


[ROCm/clr commit: 8493142a22]
2020-11-23 20:31:45 +00:00
Aryan Salmanpour 9f6dc2f7b3 [dtest] add a test case for hipExtStreamGetCUMask API
Change-Id: I2b03f06fc96c4af0c3dcf4efc0b83126971aab46


[ROCm/clr commit: e086f2bbff]
2020-11-20 14:08:02 -05:00
Aryan Salmanpour 4376b55b25 Add support for hipExtStreamGetCUMask API
Change-Id: I0fa67ad581dd75556f17c7410af2c1d5cb6ae99a


[ROCm/clr commit: 00268eaeed]
2020-11-20 13:41:38 -05:00
jujiang 2d3f3335bc SWDEV-249486-add disclaimer
Change-Id: Ic2f478a354ddb6520c8fb762c8978676eb7d3835


[ROCm/clr commit: 51b55c9137]
2020-11-20 11:27:18 -05:00
Satyanvesh Dittakavi 8d4b0ecb0c SWDEV-255614: Fix Caffe2 Test Failure
Change-Id: I043caa89b2a43dace7f18c739f30d2a7bfa644ca
Fixes the issue when memcpy DtoH is performed on device 0 where the device buffer 
is allocated on device1 and the destination pinned buffer is allocated from device 0.


[ROCm/clr commit: 60ec2a3e46]
2020-11-20 10:24:50 -05:00
Vladislav Sytchenko 07f463ab3f Report maxTexture1DLinear property
Change-Id: If562bbee80d8b98712806cb8258b5a7482d33bf6


[ROCm/clr commit: 63167e4b70]
2020-11-20 10:18:20 -05:00
cjatin 762fd48e96 Adding hip support email to cmake packaging
Change-Id: Ibef7ae5a631ba759bc378478c91d562d4fde3079


[ROCm/clr commit: da1f0cdc67]
2020-11-19 02:08:51 -05:00
Jatin Chaudhary c1aa765b33 Adding -x hip/c/none after each input file, this should allow compilations like 'hipcc a.cc b.o c.c'
Change-Id: If35571c0f8ff8bf51aebd793fc0c81c0e418ca5c


[ROCm/clr commit: d48c1d359a]
2020-11-19 02:04:33 -05:00
Rahul Garg 5a56ff9cfa Fix async flag in hipMemset3DAsync
Change-Id: I3dc717c14bdd1d46873e03c687bdf57f9202663e


[ROCm/clr commit: 236352a64d]
2020-11-18 20:32:18 -05:00
Yaxun (Sam) Liu 24d1c8c229 Fix embedding PCH
Change-Id: Ibaf043c9e331f15965185cd4195da98d9441cba3


[ROCm/clr commit: cdc7f3f49e]
2020-11-18 00:56:42 -05:00
Michael LIAO 16a93d1b42 Fix cooperative group tests.
- `gm` should be a global variable instead of auto local variable.

Change-Id: Ibde1e54ee83fa5725f21820b4b792a97bf7df6ad


[ROCm/clr commit: 28e1fb0cf7]
2020-11-17 14:09:16 -05:00
Rahul Garg 908decb338 Fix hipDeviceGetByPCIBusId
SWDEV-260845

Change-Id: I2d6db15906d794c9ebfa85b745a2c1bbb6f3e731


[ROCm/clr commit: d11027c522]
2020-11-16 23:28:52 +00:00
Tao Sang f3b3c0ba9c Remove unnecessary stuff from hip cmakefile
Remove the following from hip cmakefile,
1.find_package cmds of hsa-runtime64 and amd_comgr;
2.macros of USE_COMGR_LIBRARY and COMGR_DYN_DLL
because they have already been used in Rocclr cmakefile.
cmake mechanism will make hip cmakefile inherite them.

Change-Id: I03b527fc4135c79bb35cbbfe419211ec363cb067


[ROCm/clr commit: 10f4918d97]
2020-11-13 15:01:32 -05:00
Sarbojit Sarkar d15073560c [SWDEV-259216] Minor test bug
Change-Id: Ib2ece421af88c99ded41514b6a2dc432b78be682


[ROCm/clr commit: 25c8b41cb5]
2020-11-13 02:23:45 -05:00
Sarbojit Sarkar 48041d1790 [SWDEV-257048] fix for softhang in dtest
Change-Id: Ic77f5d9c13852c4e3da7afb41b1db7d43c5cbf75


[ROCm/clr commit: c68a36fe14]
2020-11-13 02:21:00 -05:00
agodavar 4bb6e01ea3 SWDEV-249870: Generate Pre-Compiled Headers from includes in source repo for Online Compilation
Change-Id: I663f510603e983927f80f7944df4d039ba7bc0b0


[ROCm/clr commit: 9ef681a618]
2020-11-12 10:50:33 -05:00
jujiang 37a2c6c86d SWDEV-259096-update HIP documents
Change-Id: I78294ca55649634ef9eff5c4e38636cb17f5e640


[ROCm/clr commit: f2d68da7c4]
2020-11-11 16:29:52 -05:00
Julia Jiang 79807462cb SWDEV-249486-re-organize doxygen HIP API
Change-Id: I3d107de526e428ae16c6dffd97d9388bf54a6358


[ROCm/clr commit: eacb30afcd]
2020-11-11 13:31:56 -05:00
German Andryeyev 0cdff99dd0 Add an early exit if it's a null stream wait
Change-Id: I577f5da2f928bff172d64d511a60e08eda28c81d


[ROCm/clr commit: d4e642203c]
2020-11-11 13:20:04 -05:00
Konstantin Zhuravlyov 1b1b2998ad SWDEV-198415 - Implement Target ID Proposal
Changes from Jatin Chaudhary, Tony Tye

Change-Id: I14904920ad2356ae2098cf827b83613089d33962


[ROCm/clr commit: 73fb01cb3a]
2020-11-10 13:31:43 -05:00
Tao Sang e6a4e455e5 Make hipMemset*Async* tests pass in static lib
3 hipMemset*Async* direct tests will crash in static lib because
some hsa objects are not initialized when hip apis call them.
The fix will make the hip apis called in main() so that hsa objects
have been initialized at that stage.

Change-Id: I41eb29b8c2588acac0cd3ae6d96b14fb1abd235a


[ROCm/clr commit: 272f89a966]
2020-11-03 09:54:30 -05:00
Sourabh Betigeri 69b62789fb SWDEV-255694: Include attributes - hipFuncAttributePreferredSharedMemoryCarveout and hipFuncAttributeMaxDynamicSharedMemorySize
Change-Id: I3569859e6db0c59a10a76c8ea356d4bc0a0bb906


[ROCm/clr commit: b0664a0087]
2020-11-02 19:39:39 -05:00
agodavar 1ea3bf0225 Fix building of tests on nvidia GPU
Change-Id: I02b527ec4135c79bb35cbbfe419211ec363cb065


[ROCm/clr commit: c7aa311537]
2020-11-02 09:42:28 -05:00
Tao Sang d8e8f2c833 Make directed_test support static libs
1.Make directed_test apps linked against static libs
    of hip, rocclr, rocr, roct and amd_comgr.
    2.Remove custom_target amdhip64_static_combiner.
    3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
    4.Simplify argument list parsing.
    5.Install rocclr when rocm is installed.
    6.Fix some original small bugs.

Revert "Revert "Make directed_test support static libs""
This reverts commit f1cc6bef64.

Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702


[ROCm/clr commit: 6db4976759]
2020-10-26 12:39:58 -04:00
German Andryeyev 321f0964fc Update documentation
Add managed memory section for the doxygen documentation.
No code changes.

Change-Id: I2e9db4ec13422159e265193916f0a3cdb721732d


[ROCm/clr commit: ae8aec4834]
2020-10-23 18:28:43 -04:00
Rahul Garg 60f4e26c45 Fix performance tests for OSDB failures
SWDEV-257745- [ROCm CI][mainline] hiprocclrtests broken on OSDB - vg20 and mi100

Change-Id: I36b4ace7e8c2673809c4b0be569250e8f9b06da8


[ROCm/clr commit: 9252b3a3d9]
2020-10-23 00:48:08 +00:00
agodavar 9132d92ccd cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839


[ROCm/clr commit: 8717a78bf7]
2020-10-21 07:26:14 -04:00
Sudheer Kumar 878f5f6885 [dtest] Tests for loading hip apis dynamically
SWDEV-238517 for enhancing hip unit tests

Change-Id: I9b6ef41db2f02ee3679360d0fae709a404a0ea4f


[ROCm/clr commit: f9d3e5a7be]
2020-10-21 02:49:49 -04:00
Sourabh Betigeri 19f45f83f3 SWDEV-251091: Added null checks and empty file check in hip_module and hip_platform
Change-Id: Iad99f996dcf90ffb86f62e79bf4cbd53b35b7e3b


[ROCm/clr commit: b65314d168]
2020-10-20 19:55:01 -04:00
Payam e37d37fb26 Cleaning lintian warning SWDEV-247996 Part2
Change-Id: I40eb29b8c2588acac0cd3ae6d96b14fb1abd2350


[ROCm/clr commit: 4e96bfecd5]
2020-10-20 19:27:38 -04:00