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

13402 Коммитов

Автор SHA1 Сообщение Дата
kjayapra-amd 095c775e83 SWDEV-251941 - Adding gfx1030,gfx1031 support to mainline
Change-Id: I752dff86651a55f4fbf719e84ee7d3ec49f5f207


[ROCm/clr commit: 11b723a605]
2020-09-14 09:07:44 -04:00
Sarbojit Sarkar 438e7b78b4 Updated hip_porting_guide.md
Change-Id: Iaf32033597513aa2cbfde267487af35317ac67fe


[ROCm/clr commit: b7dc406ccd]
2020-09-14 00:30:51 -04:00
Chauncey Hui babdf88595 SWDEV-2 - Change OpenCL version number from 3198 to 3199
[ROCm/clr commit: a35de40c13]
2020-09-13 03:00:03 -04:00
Vladislav Sytchenko 60b435a7c3 Fix typo
Change-Id: I571e84cab9258dfd5e94b70865505f452ed89016


[ROCm/clr commit: be0d98b433]
2020-09-12 20:16:27 -04:00
Vladislav Sytchenko 061f949567 Add missing include
Change-Id: I21683ddb981581a0456ad0aa79843a44422a6ab0


[ROCm/clr commit: 29efce7520]
2020-09-12 20:16:09 -04:00
Chauncey Hui ea5fd8fa2e SWDEV-2 - Change OpenCL version number from 3197 to 3198
[ROCm/clr commit: 33138c7a52]
2020-09-12 03:00:02 -04:00
Julia Jiang cb20d658ff SWDEV-249486-Update Doxygen configuration file to link correct documents
Change-Id: I2bbe2a0dedec2d182bd3108c3d5af04f3d8beed8


[ROCm/clr commit: 683f2eed2f]
2020-09-11 16:45:07 -04:00
kjayapra-amd cfb12e710b SWDEV-240800 - Adding dtest for hipDeviceGetP2PAttribute.
Change-Id: Icf1dc56c98247de43c638d9fdc16de045d2a1da9


[ROCm/clr commit: a05c0b7286]
2020-09-11 14:25:11 -04:00
Jason Tang 61c85339c3 SWDEV-252095 - Fix progvar_prog_scope_misc test Aborted (core dumped)
The progvar_prog_scope_misc test expects CL_DEVICE_MAX_MEM_ALLOC_SIZE to be multiple of integer.

Change-Id: Ic0690f5ab06ffa3feafb718beabbcf83ab53978c


[ROCm/clr commit: 740f1ba0aa]
2020-09-11 12:36:39 -04:00
Chauncey Hui 55538a93e3 SWDEV-2 - Change OpenCL version number from 3196 to 3197
[ROCm/clr commit: 51d0c6bbef]
2020-09-11 03:00:03 -04:00
Jason Tang 342a8161a7 SWDEV-251394 - Support CL_DEVICE_IL_VERSION
Change-Id: If8459d6822d26107914f81d219e94165facd0827


[ROCm/clr commit: ac956ac8cb]
2020-09-10 18:09:15 -04:00
Rahul Garg e09740cd9b grid size optimization
Change-Id: I68b197548b961e1c0aa63119eecc8d9a25350cf2


[ROCm/clr commit: 590d00dd7c]
2020-09-10 15:10:55 -04:00
Vladislav Sytchenko 6ecd2ba352 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: I53f9c054e5df19bd8b130e7610d71b91d525474a


[ROCm/clr commit: d078dab53b]
2020-09-10 11:31:46 -04:00
Sarbojit Sarkar 2e95688d9d Fix for hipPointerGetAttributes [github#2137]
Change-Id: I5295575638ecc4d3b7129552a9c26c6f6a7195fc


[ROCm/clr commit: 74cdf8f9e3]
2020-09-10 10:51:30 -04:00
Sarbojit Sarkar f111d53228 Fix for memory leak detected in hipModule*load [SWDEV:250740]
Change-Id: I8c4930b64764620a896079b14b27f6f87fbad292


[ROCm/clr commit: 677208f2de]
2020-09-10 10:50:46 -04:00
Chauncey Hui 103a6fcca8 SWDEV-2 - Change OpenCL version number from 3195 to 3196
[ROCm/clr commit: e01cdb5530]
2020-09-10 03:00:03 -04:00
Laurent Morichetti c863b2074b Use std::atomic
Replace amd::Atomic with std::atomic. Remove make_atomic uses by
converting the variable to std::atomic and making sure the memory
order is relaxed when synchronizes-with is not needed.

Delete utils/atomic.hpp.

Change-Id: I0b36db8d604a8510ac6e36b32885fd16a1b8ccfa


[ROCm/clr commit: 5d4b6f74d3]
2020-09-09 14:55:29 -04:00
agodavar 0db6f96d07 SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
Change-Id: Ibcb365ce2ff27c4c2379609964078da42e1226b1


[ROCm/clr commit: 38ce8784c0]
2020-09-09 13:44:13 -04:00
Siu Chi Chan f06ca83a59 fix no matching push_macro warmnings
Change-Id: I352fe1170cfc9e8de5307536a21c86f0b483c68e


[ROCm/clr commit: da92c6b8cb]
2020-09-09 11:41:07 -04:00
Jason Tang 92cf96e1d0 Export tiny_printf in PAL build
Change-Id: I6166bb3a4d177f03c60e14116c41b9b6da6e6ed2


[ROCm/clr commit: cef70aa8d3]
2020-09-09 10:55:35 -04:00
German Andryeyev 6e0c211730 Reduce the default size of the signal pool
Implement dynamic signal pool grow per allocated queue

Change-Id: Ie8b17937d72c29cc49e59639c4b2023ea984b14c


[ROCm/clr commit: e68d671a51]
2020-09-09 09:53:52 -04:00
Chauncey Hui 674d95539b SWDEV-2 - Change OpenCL version number from 3194 to 3195
[ROCm/clr commit: bd6002039f]
2020-09-09 03:00:03 -04:00
Jason Tang 407ec7182f Call callback even if clBuildProgram is not successful
Change-Id: I3be1d500ecc712c738cfaf252eca83663cad6b77


[ROCm/clr commit: 8b4eb43a4a]
2020-09-08 14:41:20 -04:00
Tao Sang c6a000f618 Fix compiling issue exposed by opencl TC build
1.Some files are not built in rocclr so the issues are
not found in rocclr build. But the issues are exposed
in TC build.
2.Clear unused codes in test cmake file.

Change-Id: I1ad4decdf4df5237b93e1ea2547eb39a19f7dc4a


[ROCm/clr commit: 65075e72f1]
2020-09-08 12:40:22 -04:00
Jason Tang eaf65e59ae Remove gfxipVersion_ from device level
Change-Id: I11485beffdb9371a20d7abcaa1d1774c102db574


[ROCm/clr commit: 5ecce5c287]
2020-09-07 11:33:49 -04:00
Jason Tang 0d1525545c Add support for CL_PROFILING_COMMAND_COMPLETE
Change-Id: I2acabab8975f7c8619c180795000cb47d4f532ca


[ROCm/clr commit: 7ec780519a]
2020-09-07 11:15:31 -04:00
Chauncey Hui d6635aa2eb SWDEV-2 - Change OpenCL version number from 3193 to 3194
[ROCm/clr commit: f5c5721345]
2020-09-07 03:00:03 -04:00
Alex Xie f8dd901fc2 SWDEV-250136 - [LNX][Navi21][OCL over ROCr] OpenCL-GL sharing failed
Change-Id: Id61f649f035964d14f6399dbea03137c11f8eaea


[ROCm/clr commit: 2c2665665d]
2020-09-06 10:40:56 -04:00
Chauncey Hui 6aabbba6f5 SWDEV-2 - Change OpenCL version number from 3192 to 3193
[ROCm/clr commit: 0380045f85]
2020-09-04 03:00:03 -04:00
kjayapra-amd bfaa8f8ab5 SWDEV-240800 - P2P device attributes support
Change-Id: I2b060a66715f676dfb7136940e69e21288f509d8


[ROCm/clr commit: 0163d8acc0]
2020-09-03 14:41:53 -04:00
Vladislav Sytchenko 618619e903 Navi21 support
Change-Id: I7263556fdb85dc0152a2a72cc0ec4d7cd5e978a6


[ROCm/clr commit: d6e89ec371]
2020-09-03 11:14:37 -04:00
kjayapra-amd ff668fe6d2 SWDEV-240800 - P2P device attributes support
Change-Id: Ia32b87ffea17e0d98b69a07f2633ba14e7637b8a


[ROCm/clr commit: 27c5f8049e]
2020-09-03 09:41:05 -04:00
Jenkins 4dd0773792 Merge 'amd-master-next' into 'amd-npi-next'
Change-Id: I88aec6ceb6b6e49caf48a0287ee2379b8ed9b296


[ROCm/clr commit: da80d765da]
2020-09-03 05:09:55 -04:00
Rahul Garg 977c59d511 Fix dependency on rocm-dkms pkg
SWDEV-249463- hipcc can't find the rocm_agent_enumerator

Change-Id: I768a0d09753047508734d8360eb3d154edc0b0ef


[ROCm/clr commit: 9db9bed960]
2020-09-03 03:30:59 -04:00
Satyanvesh Dittakavi 04201d5db5 SWDEV-248293 - Fix elapsedTime
Fixes the elapsed time for the scenarios where HIP API takes one of the start/stop events
and another one is recorded using hipEventRecord.


Change-Id: I51831b2651fc8e7207ff0e3fcc6dc7c1b4239fa8


[ROCm/clr commit: f80044bd6a]
2020-09-02 03:22:47 -04:00
Chauncey Hui 98c442504a SWDEV-2 - Change OpenCL version number from 3191 to 3192
[ROCm/clr commit: 59e45d5c85]
2020-09-02 03:00:03 -04:00
Sarbojit Sarkar a5c2a7ff84 Fix for HIP_VISIBLE_DEVICE [SWDEV-247751]
Change-Id: Iff0ca6646f9d97b1ffa378c3cdc44159b6bf8ad0


[ROCm/clr commit: 8ac8384aea]
2020-09-02 02:08:56 -04:00
agodavar 04f34e929a SWDEV-246142: Improve performance for sync with multiple streams
Change-Id: Ifc625c4c1311ac235b08ea705a3df216d47b2c5e


[ROCm/clr commit: 9124285f18]
2020-09-02 00:56:46 -04:00
Laurent Morichetti 0f18c47edd Periodically wake up the thread in monitor::wait
There is a small window where a thread can go to sleep in
Monitor::wait after releasing the lock but before another thread
notifies the monitor and updates the on-deck thread.

A simple approach to fix this problem is to wake-up the Monitor::wait
every 10 milliseconds and check if it is on-deck.

Change-Id: I4b9abda89d1fc653cdae2b4c84cdda01efde1cf2


[ROCm/clr commit: 5079410c94]
2020-09-01 18:09:38 -04:00
Laurent Morichetti d0b6c2b538 Improve queueLock and lastCmdLock
Reduce the size of the queueLock and lastCmdLock critical sections
to improve lock contention performance. The smaller the critical
sections are the better.

lasCmdLock is still needed to guarantee that getLastEnqueueCommand_
can retain the command before it is swapped out and released.

Change-Id: Id35d4a77c035b2da0de4c15568b153d49e958bb7


[ROCm/clr commit: 080dcfe857]
2020-09-01 18:09:31 -04:00
Laurent Morichetti 5f5f1a3a84 Fix indentation with clang-format
Change-Id: I7aeadef3c613d5efc31a98e666bfb819ae34bdf5


[ROCm/clr commit: c95c613edc]
2020-09-01 18:09:19 -04:00
Saleel Kudchadker 20845c2560 Revert "SWDEV-241977 [ROCm QA] Random Soft hang observed while running TF and Caffe2 benchmarks"
This reverts commit c6649a8c7f.

Change-Id: Ib56493c92eca793f1dfb6f1cbefb32f0b4f65e89


[ROCm/clr commit: 1c24072d13]
2020-09-01 18:09:10 -04:00
Alex Xie e0cb881d91 SWDEV-249516 - [Lnx][Navi][rocm]conformance image read write tests data error
Change-Id: Ie1c4fda953198b49ed66fea9da23e62c686d9cea


[ROCm/clr commit: 7e8f7b5927]
2020-09-01 17:20:58 -04:00
Saleel Kudchadker e17f998c20 Fix hipPrintf* tests
The test needs to check dup2 syscall status and not the
errno val

Change-Id: Ic88eb2047b839adbc9e12965b098d8960cd7e2b8


[ROCm/clr commit: 99f1830ed6]
2020-09-01 15:00:49 -04:00
Tao Sang d21b94e2b0 Replace private libelf with elfio
Change-Id: I59ae33f7cc55e73f6519af14be91dd9863b03af3


[ROCm/clr commit: 2332174c8a]
2020-09-01 10:29:11 -04:00
Chauncey Hui 2f20f0b06d SWDEV-2 - Change OpenCL version number from 3190 to 3191
[ROCm/clr commit: fb4904f6dc]
2020-09-01 03:00:02 -04:00
Rahul Garg e633304e19 Revert "[dtest] Additional tests for Memcpy"
This reverts commit 6443ff4197.

Reason for revert: All the PSDBs on the CI are failing with the below error and its been root caused to this commit:
......................................................................................... Passed 0.59 sec 99% tests passed, 1 tests
failed out of 211 Total Test time (real) = 287.02 sec The following tests FAILED: 139 - directed_tests/runtimeApi/memory/hipMemcpyNegativeMThrdMSize_Negative_tests.tst
(Child aborted) Errors while running CTest Restoring clocks to: auto

Change-Id: I4ea0e14ba5f92cd61677f4a3b9482fea00902310


[ROCm/clr commit: f2d9d83a7c]
2020-09-01 00:48:20 -04:00
Jatin Chaudhary a06d43114e Adding dim3 conversion operator to __hip_builtin_threadIdx_t
Change-Id: Ib7f9e45872ec6d48c0e5b7fc93ccecaafaeac754


[ROCm/clr commit: 9d4bdd466a]
2020-08-31 21:30:14 -04:00
kjayapra-amd 92f42b116f SWDEV-245296 - Adding performance test for hipModuleLoad/hipModuleGetFunction
Change-Id: I4b66d33dc58430e88be4b9b39bc4037e4e53d11e


[ROCm/clr commit: 4cc919fb66]
2020-08-31 13:43:58 -04:00
Tao Sang 5f84733220 Fix OpenCL test crash on some devices
Replace constexpr with const in kernel source
codes because some kernel compiler doesn't
support constexpr.

Replace scheduler with __amd_rocclr_scheduler
due to name change.

Change-Id: I1ad4ddcdf1df5237b83e1ea2447eb39a19f7dc4a


[ROCm/clr commit: 9c5465f9e1]
2020-08-29 12:29:07 -04:00