Commit Graph

13526 Commits

Author SHA1 Message Date
Tony 8e1b19fb19 Add additional targets
Add:

- gfx602
- gfx705
- gfx805
- gfx90c
- gfx1032
- gfx1033

Change-Id: Idfe7d42bacd133413ac3ffd058b7ff9d298677e2


[ROCm/clr commit: 4f8067beab]
2020-11-23 20:00:01 +00:00
Aryan Salmanpour 265afae619 don't update maxComputeUnits_ if any exception occurs during conversion of global CU mask string
Change-Id: I7664809fe84d7422b18b1272ffeb642e03a39f1a


[ROCm/clr commit: 72277c29b0]
2020-11-23 09:51:19 -05:00
Chauncey Hui df7f58d43d SWDEV-2 - Change OpenCL version number from 3231 to 3232
[ROCm/clr commit: 81e22bf4b7]
2020-11-22 03:00:03 -05:00
Jason Tang fdf6d8f1d2 SWDEV-260632 - [PAL] Simplify NullDevice::init()
Change-Id: I9d44162f38806e3742c18da48e382baafeb7060f


[ROCm/clr commit: 3351b9c993]
2020-11-21 10:00:35 -05:00
Chauncey Hui 572fb3b582 SWDEV-2 - Change OpenCL version number from 3230 to 3231
[ROCm/clr commit: 044bc684e6]
2020-11-21 03:00:03 -05: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
Cole Nelson a0549a85db Merge "packaging: conformant package names" into amd-master-next
[ROCm/clr commit: c775ab32ef]
2020-11-20 12:50:42 -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
Cole Nelson 982fb1b666 packaging: conformant package names
This patchset addresses package name requirements:
http://confluence.amd.com/pages/viewpage.action?pageId=234791224

Email contact  corrected: SWDEV-258090

Names as tested (internal example):
rocm-opencl-dev_2.0.0.40000-cpnn.14322_amd64.deb

(release examples):
rocm-opencl-2.0.0.40000-sles152.3022.x86_64.rpm
rocm-opencl-devel-2.0.0.40000-3022.el8.x86_64.rpm

Change-Id: Icb202085ae4065ba264d02d34cadbf1a0f393f9a
Signed-off-by: Cole Nelson <cole.nelson@amd.com>


[ROCm/clr commit: 2174367fb4]
2020-11-20 07:17:35 -08:00
Aryan Salmanpour e8c7cf569f Add an environment variable for setting a global CU mask
Change-Id: I773b152023c7b8e1e679a42015748f9b23fd946d


[ROCm/clr commit: d03ee6eff6]
2020-11-20 10:05:09 -05:00
Chauncey Hui a1bf89f8d7 SWDEV-2 - Change OpenCL version number from 3229 to 3230
[ROCm/clr commit: 393e118b91]
2020-11-19 03:00:04 -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
Vladislav Sytchenko e6b6308e0b [PAL] Force large buffer mappings to use pinned memory
PAL doesn't perform chunking for system memory allocations, hence we
should fall back to using pinned memory for mapping large buffers.

Change-Id: I1b472616b72d12ed0105fb65532acacdb98ac7b3


[ROCm/clr commit: b4e212a0f9]
2020-11-18 17:12:32 -05:00
German Andryeyev 6a6549e474 Add image view allocation
If deferred allocation is disabled, then make sure the image view
is created without a delay. Also reset the allocation state, since
create() method isn't called for a view creation.

Change-Id: I7aa22a62bff18289ade83e56b5d3305ba68c715b


[ROCm/clr commit: 089a5cc4ad]
2020-11-18 09:37:30 -05:00
Chauncey Hui 860733c02d SWDEV-2 - Change OpenCL version number from 3228 to 3229
[ROCm/clr commit: ec22c54d85]
2020-11-18 03:00:08 -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
Vladislav Sytchenko b33dd902e8 Disable branch-fold optimization temporarily for some Adobe apps
Change-Id: I8b4af4decb6b3ba4b856167ffb0ae8200b21a835


[ROCm/clr commit: ec130a5a28]
2020-11-17 12:51:33 -05:00
Rahul Garg 908decb338 Fix hipDeviceGetByPCIBusId
SWDEV-260845

Change-Id: I2d6db15906d794c9ebfa85b745a2c1bbb6f3e731


[ROCm/clr commit: d11027c522]
2020-11-16 23:28:52 +00:00
Chauncey Hui 5300814506 SWDEV-2 - Change OpenCL version number from 3227 to 3228
[ROCm/clr commit: a77b718fc9]
2020-11-14 03:00:03 -05:00
Vladislav Sytchenko f8d007fadb [PAL] Navi23 support
Change-Id: I10bb0653746060bd83ca7feda10fdafc07ced845


[ROCm/clr commit: 026baec57b]
2020-11-13 15:08:04 -05: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
Vladislav Sytchenko 77660d1ae9 [PAL] Navi22 support
Change-Id: I9f1741898b4afaa0e787d8053d8f006ee3d17017


[ROCm/clr commit: 5e60e06a50]
2020-11-13 15:00:57 -05:00
Vladislav Sytchenko 8f87022fde [PAL] Report actual HW limits for max image buffer size
Change-Id: I62aa3f1e9709b91ba223af0abf8bf6395fe8ec59


[ROCm/clr commit: 353a018bce]
2020-11-13 14:59:50 -05:00
German Andryeyev a7adace36e Add direct dispatch simple hack for testing
The hack dosn't really track the commands status. It may be not
necessary for HIP, but will cause early resource release.

Change-Id: I791ad36dd8abd3b6b3d2c9b16a210a555c08ca64


[ROCm/clr commit: 532f0ae951]
2020-11-13 10:36:23 -05:00
Jason Tang f4c4323f8e SWDEV-260376 - [PAL] Fix Windows build
Change-Id: I788198b5980a46981de4b2e7aaa6a495e6e98cad


[ROCm/clr commit: 2ee2392f63]
2020-11-13 09:51:43 -05:00
Chauncey Hui 3896293999 SWDEV-2 - Change OpenCL version number from 3226 to 3227
[ROCm/clr commit: ec8eb12c1b]
2020-11-13 03:00:03 -05:00
Sarbojit Sarkar 91220c7146 SWDEV-258573 : fix for OCLP2PBuffer test failure
Change-Id: I363d4fb2bb94d9bc03e96844d31dec7ef9b2ce33


[ROCm/clr commit: 099f8d61dd]
2020-11-13 02:25:53 -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
Jason Tang 3322d2c663 SWDEV-260376 - [PAL] Use Pal::AsicRevision to match device
A device's offset in Pal::AsicRevision could be changed from time to time, while the current implementation assume the offset never changes.

Change-Id: Id993512aa0da6e0b2356f594d5e58f76d1f97f16


[ROCm/clr commit: b1d75637bd]
2020-11-12 09:49:48 -05:00
Chauncey Hui 28fbcf2c00 SWDEV-2 - Change OpenCL version number from 3225 to 3226
[ROCm/clr commit: 415c3075c7]
2020-11-12 03:00:08 -05:00
jujiang db2ee483a0 SWDEV-259096-update rocclr readme
Change-Id: Ied0cca5ce3e8f81b85e5c01839520d7c31ac3e07


[ROCm/clr commit: 92a7c26f96]
2020-11-11 16:30:26 -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
German Andryeyev f4e62df4cf Add SPM support for RGP
RGP protocol supports SPM collection. Enable it in the PAL backend.

Change-Id: I0fa17334addad037ba6689d11fff0993f7899e66


[ROCm/clr commit: 234a94f838]
2020-11-11 13:10:23 -05:00
Chauncey Hui e24333b132 SWDEV-2 - Change OpenCL version number from 3224 to 3225
[ROCm/clr commit: 11f79812e1]
2020-11-11 03:00: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
Konstantin Zhuravlyov 29cce17291 SWDEV-198415 - Implement Target ID Proposal
Changes from Jason Tang, Tony Tye

Change-Id: Idb9b6923f12dfb61a5773c9aa3d3fbeb1327ec47


[ROCm/clr commit: ee6b0d9294]
2020-11-10 13:22:58 -05:00
Jason Tang 4fc5f10159 SWDEV-256292 - Fix build failure when using lightning to build
clang complains there are multiple definitions of ret_val

Change-Id: I949af23e0658b28b339b378c9c0e4681d83d5f5a


[ROCm/clr commit: ee2e91912b]
2020-11-09 11:39:03 -05:00
Chauncey Hui bbdbe22f6e SWDEV-2 - Change OpenCL version number from 3223 to 3224
[ROCm/clr commit: 115d5ccfd5]
2020-11-04 03:00:06 -05:00
Alex Xie 4029485d75 SWDEV-258132 [LNX][Navi23] Segmentation fault when run clinfo
Change-Id: Ic8833726214b32f70a35f3922baf2afae87b25af


[ROCm/clr commit: f5ce682ac3]
2020-11-03 14:40:31 -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