Grafico dei commit

13402 Commit

Autore SHA1 Messaggio Data
Aaron En Ye Shi ff24c82f34 Fix header for OpenMP AMDGCN support
Add ifndef for __OPENMP_AMDGCN__ target, which shares
these header files with HIP.

Change-Id: I720693cfbcfb7836cd2f361d48530fb55ee3557a


[ROCm/clr commit: 01bd165507]
2020-10-20 14:04:48 -04:00
Vladislav Sytchenko 5ba1294a49 [PAL] Change free mem tracking logic to use PAL size
PAL may internally align up the allocation size to the page size
reported by KMD. This will cause a mismatch in size between OCL and PAL.

To avoid this, use PAL size when updating the free memory counter on
both alloc and free.

Change-Id: Ic6e8c861a52170476474fb70a769eef93be3261f


[ROCm/clr commit: be66e29e94]
2020-10-20 12:10:14 -04:00
kjayapra-amd 16b7ecf4ec SWDEV-250005 - Fixing error code propagation to HIP outer layer.
Change-Id: I0c0e87dbace0b1182f24411200abdfd9cab3f865


[ROCm/clr commit: c18a791c80]
2020-10-20 09:43:57 -04:00
Chauncey Hui 3658a989d3 SWDEV-2 - Change OpenCL version number from 3216 to 3217
[ROCm/clr commit: 5d6f656c3f]
2020-10-20 03:00:04 -04:00
Sarbojit Sarkar a5f78cf686 SWDEV-256325 : Fix for hipMemset2D crash
Change-Id: I1f434602fecd4fb935d2bc72f2c72d6a2d4c45fe


[ROCm/clr commit: a73d1a1fe0]
2020-10-20 02:54:29 -04:00
Rahul Garg 8605c53e75 Bump version to 4.0
Change-Id: Ia8c3b21ccd58f07c95aa3030bc787144f934f80e


[ROCm/clr commit: 3979d063a1]
2020-10-19 21:00:13 -04:00
Jason Tang 091f1e8e85 Change file mode 755 back to 644
Change-Id: I4ba5d66997ffd3331c56674d4bf805160dcdf049


[ROCm/clr commit: 25cc965c76]
2020-10-19 15:09:32 -04:00
Aaron En Ye Shi f3c39a8cfa Fix header invalid sqrt fwd decl and ifdef
The __ocml_sqrt_* functions only accept a single arg,
not two args. Also, change ifdef for if because the flag
__HCC_OR_HIP_CLANG__ is always defined.

Change-Id: Id9dc4eaf0f25df1df27a1bf643cb545ac23653f8


[ROCm/clr commit: bd9ed9ad3d]
2020-10-19 18:01:14 +00:00
Rahul Garg e7e9d74c79 Fix PCI bus domain ID query
SWDEV-256338

Change-Id: I5db361bd2899a5bf761ecf05ecd4635f9e3dce1d


[ROCm/clr commit: 4b7c8f5fc1]
2020-10-19 12:02:50 -04:00
Tao Sang 6c7b785a53 Fix ocltst test issue
Fix dumpImage() issue exposed on Win10.
It's called by internal compiler on Navi14

Change-Id: I693ffd45b6b03657822afdc872781901bc69b65d


[ROCm/clr commit: b74d120627]
2020-10-18 22:10:59 -04:00
Chauncey Hui 48aabb82bf SWDEV-2 - Change OpenCL version number from 3215 to 3216
[ROCm/clr commit: 5c1b96c844]
2020-10-17 03:00:04 -04:00
German Andryeyev 9f4f72faef Upgrade PAL interface version to 632
Change-Id: I1b8b936cc9bc59ff80296cc6bf5137c3af398c5d


[ROCm/clr commit: cb4e6bd264]
2020-10-16 13:12:16 -04:00
Sourabh Betigeri 04b5141029 SWDEV-254134: Added new perf test - Vector Dot product in performance/compute
Change-Id: Ic2900fe9a1b6b197cdc8c2dd0f93723a8f73f14c


[ROCm/clr commit: 7513454a28]
2020-10-16 13:07:13 -04:00
Reshabh Sharma 202d12ae03 SWDEV-253557 Strip debug symbols for release builds
Change-Id: I4f75a0c08020ecd76e1eec159f266cd1f754af92


[ROCm/clr commit: 255c168ad7]
2020-10-16 16:10:51 +05:30
Reshabh kumar Sharma 6b51a4e16a Revert "SWDEV-253557 Strip debug symbols for release builds"
This reverts commit 78e8224ad3.

Reason for revert: Breaks mainline build

Change-Id: Ia1fc5e5723ec688d47544cc26127b680fad59b58


[ROCm/clr commit: 3997b03026]
2020-10-16 04:03:07 -04:00
Chauncey Hui f98b217573 SWDEV-2 - Change OpenCL version number from 3214 to 3215
[ROCm/clr commit: f28b011746]
2020-10-16 03:00:03 -04:00
Reshabh Sharma 78e8224ad3 SWDEV-253557 Strip debug symbols for release builds
Change-Id: I50032cb6aae7b1ed1a95c8e84fa8ce5cce476570


[ROCm/clr commit: 4c15a8f190]
2020-10-15 23:41:27 -04:00
German Andryeyev ff4819a791 Reduce the number of allocated signals
Enable this optimization when the barrier is disabled, since
reuse requires a signal wait.
Use the size of pending AQL signals as the size of signal pool.

Change-Id: I2754a0f8b67e19d2601c58945e10fdf0e8be1624


[ROCm/clr commit: a5661192b6]
2020-10-15 16:39:33 -04:00
Alex Xie 23a7abc8e8 SWDEV-251360 - Add tracing for memory allocation/free.
This can be used to debug VM fault

Change-Id: I7685485b0450ea84d10b710639ad7b6c5ec2fcf3


[ROCm/clr commit: e4e6c46356]
2020-10-15 15:38:55 -04:00
Rahul Garg 7b0edf7aa0 Fix PCI bus domain ID
SWDEV-256338

Change-Id: I09afdca4f1a08f99ce662a4c4ed8a51d85500699


[ROCm/clr commit: a224dc2a7b]
2020-10-15 14:59:57 -04:00
Chauncey Hui 99c1c2ba89 SWDEV-2 - Change OpenCL version number from 3213 to 3214
[ROCm/clr commit: f714bbffc1]
2020-10-15 03:00:04 -04:00
Rahul Garg c829e74be7 Revert "SWDEV-253557 Strip shared lib for release builds"
Fixes SWDEV-256563 - Mainline build breaking issue.

This reverts commit fe7bf0e7e5.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ib2e9ef362dc7dece9f4bbe7611b4be45087aa18e


[ROCm/clr commit: 6d9ceed2f4]
2020-10-14 17:53:04 -04:00
Rahul Garg b5abdead82 Fix maxTexture1D query
Needed by SWDEV-254068

Change-Id: Ib43a3e5e96d3882af354208063e5502673c0f35a


[ROCm/clr commit: cc1101f97a]
2020-10-14 17:32:04 -04:00
Rahul Garg 40b90694c6 Add image1DMaxWidth_ for maxTexture1D property
Needed by SWDEV-254068

Change-Id: Ic650dfb6e5b38d7544ba647c53de52deda39b92d


[ROCm/clr commit: c0f8b52f06]
2020-10-14 17:30:43 -04:00
Vladislav Sytchenko 36c8902ed8 [PAL] Allow more heaps for non-SVM suballocations
On ReBar systems the invible heap is not present, so in theory we should
fail creating the suballocation chunk, however PAL doesn't report any
errors.

To make sure we never fail, allow creating the allocation in the visible
heap and system memory.

Change-Id: Iea9cc68d98b9cb396a2b7a37398b98b66274083b


[ROCm/clr commit: 330b674821]
2020-10-14 16:56:12 -04:00
Vladislav Sytchenko 3e6989c1c2 [PAL] Allow for embedding debug info into IBs
Change-Id: I4473b9c5aa36370d9af37f22a78f4414eaa21e01


[ROCm/clr commit: 2ec5a47c88]
2020-10-14 15:54:48 -04:00
Julia Jiang a4b94d9d3c SWDEV-249486-Update HIP doxygen
Change-Id: Id32772b8f4d495e0f1bd3cb5cd1ec211a06298c3


[ROCm/clr commit: 5a174daa09]
2020-10-14 13:59:58 -04:00
Reshabh Sharma fe7bf0e7e5 SWDEV-253557 Strip shared lib for release builds
Change-Id: I79608406b3295c762a3781abd455bd63e6893dd4


[ROCm/clr commit: eac709a8a9]
2020-10-14 10:50:07 -04:00
Yaxun (Sam) Liu 096e951dae Fix test hipDynamicShared
This test does not work if block size is greater than wave size
since it relies on lock-step execution of the kernel in the block.
If there are more than waves in the block, the threads in the block
miss synchronization since one wave may finish before another wave.

Due to this bug, the test fails on GFX10 wave32 mode.

This patch fixes that so that it works for block size greater than
wave size.

Change-Id: Ie0097066081df36cb6fe025a71d0ee5a83ec00a2


[ROCm/clr commit: 4c4fff6b51]
2020-10-14 10:15:44 -04:00
Jason Tang 40e6b4c685 SWDEV-252150 - No need to send a Marker if the event is completed in Event::notifyCmdQueue()
Change-Id: Iaa1c550ce0849c12298a24812604345dbf877a5e


[ROCm/clr commit: c5184d61b4]
2020-10-14 09:29:24 -04:00
Jason Tang 7457150c80 Add COMGR_DYN_DLL to device/rocm/CMakeLists.txt
Now rocm/rocdevice.cpp also includes comgrctx.hpp, and we don't want to statically link against comgr when buidling shared libs.

Change-Id: Ic330bd860559b3e07b776c951afe6126b0f43f7d


[ROCm/clr commit: b38317cb3c]
2020-10-14 09:28:37 -04:00
Sarbojit Sarkar 7e0e5ac4e2 SWDEV-255975: fix for gcc + hip_fp16.h compilation error
Change-Id: Ia152bad4af71a5b53a16e2f9fd9aeeacc61b39ac


[ROCm/clr commit: 40f27ec83a]
2020-10-14 06:57:25 -04:00
Sarbojit Sarkar 34b9762927 Added sample with __gfx*__ macro used
Change-Id: I80a474947ea1b755082dad5329d1aff3ee78840c


[ROCm/clr commit: 3b8b31a61c]
2020-10-14 06:56:39 -04:00
Chauncey Hui e458cd774d SWDEV-2 - Change OpenCL version number from 3212 to 3213
[ROCm/clr commit: a00981128a]
2020-10-14 03:00:02 -04:00
agodavar bf65eead59 SWDEV-249870: Short-Term solution for Pre-Compiled Headers for Online Compilation - Fix static build
Change-Id: Ib608e73dbffa2d803599cba5ba842cd5a2a2ba9d


[ROCm/clr commit: 4018464960]
2020-10-14 00:37:46 -04:00
German Andryeyev e343bc4b00 Report managed memory capabilities
Change-Id: I241a42e26ee49fb47dcb3ba87c4bd8fb691dffdf


[ROCm/clr commit: 15ba5611ba]
2020-10-13 16:09:43 -04:00
Rahul Garg 7fec05f3cb Clean up unused options
Fixes SWDEV-253092

Change-Id: Ic820c4d7bec1130978b47094f3ad9764e40e6a1f


[ROCm/clr commit: 85715bc20f]
2020-10-13 12:19:20 -04:00
Aryan Salmanpour 0a6ac3c020 Fix a seg fault when unallocated mem handle passed to hipIpcOpenMemHandle API
also validate the flag argument passed to hipIpcOpenMemHandle API and return
error if it is not equal to "hipIpcMemLazyEnablePeerAccess" (defined to 0)
and it is the only supported flag currenlty for this API.

SWDEV-253462

Change-Id: Ie1c8b79c680a29dc72bf262cf53ae5e011fb1247


[ROCm/clr commit: 89964dbbd4]
2020-10-13 11:14:41 -04:00
Lakhan singh Thakur 21fa1d0f75 [dtest] Adding Test case for hipFuncSetSharedMemConfig() and hipFuncSetAttribute()
SWDEV-251504 - QA task for validation

Change-Id: I11ed98f648352cb32161c41290516c77231236bc


[ROCm/clr commit: 04b773471b]
2020-10-13 11:11:00 -04:00
Rupam Chetia 07c5bbbf6c [dtest] hipModuleLoad and related API tests
APIs: hipModuleLoad, hipModuleLoadData and hipModuleLoadDataEx,
      hipModuleGetGlobal(), hipModuleGetFunction
Functional and negative tests
Repeated call to ModuleLoadXX/ModuleUnloadXX
Few tests are disabled now, will be enabled when functional

SWDEV-238517 for enhancing hip unit tests

Change-Id: I65c12027e32db80213468fdee1c5cc1aa3e60bfd


[ROCm/clr commit: 4f48154f46]
2020-10-13 11:10:11 -04:00
Julia Jiang 427cb5bf4c SWDEV-249487-remove two HCC related APIs
Change-Id: Icf90ece0808643e0c5f0cc00b6644d5171b553d8


[ROCm/clr commit: c144b57d54]
2020-10-13 11:08:37 -04:00
Vladislav Sytchenko fcae92ce47 [PAL] Allow overriding reported asic revision
This is helpfull to do when debugging issues on lowend asics. Navi14 can be emulated as Navi10. So can Navi22 be emulated as Navi21.

Change-Id: I693ffd45a5b03657822afdc872781901bc69b65c


[ROCm/clr commit: 26d1b28b16]
2020-10-13 09:36:15 -04:00
agodavar 0914a414db SWDEV-254185 : hiprtc headers - handle empty headerIncludeNames
Change-Id: Ie06278c18b62cef1bdfbb8ac82728ed5667b2047


[ROCm/clr commit: 92f1ce41dc]
2020-10-13 09:23:43 -04:00
German Andryeyev 2b3377b0bc Add ROCr queries for HMM support
Change-Id: I2b5508bf0faf8f48dd7348d6a5202fb28de09876


[ROCm/clr commit: c05de4f2f9]
2020-10-13 09:12:00 -04:00
agodavar 52c79e6b63 SWDEV-255853: CUDA device P2P attributes
Change-Id: I7deffd04101b565f68a72a179f9faeaa22cab97d


[ROCm/clr commit: e65bbb0329]
2020-10-13 05:32:29 -04:00
agodavar 815e10863c SWDEV-254909:Support for missing texture/array cuda driver types
Change-Id: I9c769f6335ec3e7feacaa8929719c666bff91934


[ROCm/clr commit: fae443cb36]
2020-10-13 05:30:31 -04:00
Chauncey Hui 1c84317ddf SWDEV-2 - Change OpenCL version number from 3211 to 3212
[ROCm/clr commit: 2a5f1ccadf]
2020-10-13 03:00:03 -04:00
Freddy Paul 2f1964292f HIP:Break dependency to rocm-dev package
Check for rocm_agent_enumerator instead of rocminfo or
.info/version.

Change-Id: I1718bd4f70b3e527ea3afe19c1a685ab7ed70808


[ROCm/clr commit: 5a46d80682]
2020-10-12 17:53:53 -04:00
agodavar de8da71c9a SWDEV-254185 - Added support to pass include headers to hipRTC
Change-Id: Ia19e6806a476d3c6ecd3e9a89c3ed72953a4900c


[ROCm/clr commit: 7d67573a4f]
2020-10-12 06:04:14 -04:00
agodavar 6dddb8ffac SWDEV-254185 - Added support to pass include headers to hipRTC
Change-Id: Ic7f2957b04e518c57e2fd3fc9d839de07232405e


[ROCm/clr commit: ac72e50adc]
2020-10-12 03:46:04 -04:00