Graphe des révisions

3473 Révisions

Auteur SHA1 Message Date
Tao Sang edaf06b435 Hide elf Apis for internal use only
Hide elf Apis so that there won't be mixing with external libelf

Change-Id: I2b3d25a8ab3b161f4dd969e31ad45e8aa627263b


[ROCm/clr commit: 02cd18813f]
2020-04-16 11:47:34 -04:00
Chauncey Hui dba7192bc5 SWDEV-2 - Change OpenCL version number from 3122 to 3123
[ROCm/clr commit: 04563c4503]
2020-04-16 03:00:03 -04:00
Vlad Sytchenko 4720e03e65 Revert "(SWDEV-210228)"
This reverts commit 9ce8e0eeb8.

Change-Id: I1e24ce384ae4cc7b39b019dac328e17cca687d38


[ROCm/clr commit: e57dbb684f]
2020-04-14 16:15:58 -04:00
Chauncey Hui 0fc2a48327 SWDEV-2 - Change OpenCL version number from 3121 to 3122
[ROCm/clr commit: b65e80c67f]
2020-04-14 03:00:04 -04:00
kjayapra-amd 93d3d283b5 SWDEV-229480 - Fixing type on commit: 5503b370fa
Change-Id: I19f0bddb9db4140641c10a0e36ed4302c05efe2a


[ROCm/clr commit: 348bb0d59f]
2020-04-13 11:48:35 -04:00
Chauncey Hui 59e8128493 SWDEV-2 - Change OpenCL version number from 3120 to 3121
[ROCm/clr commit: c182db1448]
2020-04-11 03:00:03 -04:00
Payam bb8a9ee6e6 updating copyrights
Change-Id: I592a84b64c85ac07ee7db7bb43c73ce623662246


[ROCm/clr commit: ddea39382b]
2020-04-10 14:45:28 -04:00
Chauncey Hui 6cf1c9ff5c SWDEV-2 - Change OpenCL version number from 3119 to 3120
[ROCm/clr commit: c08deb2327]
2020-04-10 03:00:03 -04:00
Vladislav Sytchenko 668d49db62 Don't call updateFreeMemory() if the allocation failed
Change-Id: I978cb2e463914f6a48b3d4a9057c0f67e7bdb646


[ROCm/clr commit: c781f4d419]
2020-04-09 18:41:11 -04:00
kjayapra-amd 5503b370fa SWDEV-229480 - Fixing itoa conversion in LogError.
Change-Id: I9f11394c0e13e8c57d415c4f19fcd1de7935ef23


[ROCm/clr commit: 6bd52dd052]
2020-04-09 18:30:35 -04:00
Saleel Kudchadker 031b6c87be Fix env var name for CL_AGENT
This got incorrectly renamed to VDI_AGENT
Change-Id: Ifd7f7c89c0a4e4bfc29e0bceae2c22bf6ba01379


[ROCm/clr commit: b4d852de7f]
2020-04-08 14:07:11 -04:00
Chauncey Hui 64821e8189 SWDEV-2 - Change OpenCL version number from 3118 to 3119
[ROCm/clr commit: d3d6af6eef]
2020-04-08 03:00:03 -04:00
Vladislav Sytchenko 040c4fbcc0 Enable large allocations by default for gfx8+ in GSL
Change-Id: Ie386fca59ea3f364d49d5390d87412f7fc869f8e


[ROCm/clr commit: a8e0f92bc4]
2020-04-07 12:37:57 -04:00
Chauncey Hui 2baff63fc4 SWDEV-2 - Change OpenCL version number from 3117 to 3118
[ROCm/clr commit: 2480be8413]
2020-04-05 03:00:03 -04:00
Payam 97f9e8935b removing file path from LOG_LEVEL and adding time stamp
Change-Id: Ia32f21353adad4dcb4928909361fe0420c502c1e


[ROCm/clr commit: 7052e21c87]
2020-04-04 17:56:16 -04:00
Alex Xie 8d5b686e8b SWDEV-229731 - [Lnx][Rocm][Navi]Support images in full Opencl Conformance tests
1. Enable pitch workaround
2. When we use copy image, we don't need to create the custom pitch image
3. wrtBackImageBuffer_ stores device memory object, not amd image object.

Tests:
conformance kernel read / write test pass with this code change.

Change-Id: I7dca3127adde6ac83e78dd270a2256ebed55c60d


[ROCm/clr commit: 43b9863e17]
2020-04-04 09:43:03 -04:00
Alex Xie cd4472490d SWDEV-229731 - [Lnx][ROCm][Navi]Support images in full OpenCL conformance tests
Duplicate similar blit logic from PAL path

Tests:
1D Array image read/write tests and copy image tests passed

Change-Id: I838bbde252ad0108bfeb82c0c2b669881747c0af


[ROCm/clr commit: 3e247d2afd]
2020-04-04 09:28:37 -04:00
Chauncey Hui 7a25082f06 SWDEV-2 - Change OpenCL version number from 3116 to 3117
[ROCm/clr commit: a6708a2c26]
2020-04-04 03:00:06 -04:00
German Andryeyev c07677f99d SWDEV-79445 - HIP improvement
- Make sure only one GPU barrier is issued per dispatch
when memory tracking is disabled

Change-Id: I974569ab42a8835304a2930eef87b561a3750327


[ROCm/clr commit: 481cecec78]
2020-04-03 12:21:03 -04:00
kjayapra-amd 817764a12b SWDEV-229840 - Improve Error Codes. RocKernel and RocProgram
Change-Id: I8f785308e0562a50924f8bdd02e88c92a759f01a


[ROCm/clr commit: cd7de89fc3]
2020-04-02 22:30:53 -04:00
Chauncey Hui e8d35db5ac SWDEV-2 - Change OpenCL version number from 3115 to 3116
[ROCm/clr commit: 55fad9b929]
2020-04-02 03:00:03 -04:00
Saleel Kudchadker 2dbe0d2391 Change for OpenCL2.2 header promotion
Change-Id: Icd579e5c94af6e8d984a3f6c2606be44dec72e91


[ROCm/clr commit: a97f206ab1]
2020-04-01 16:32:03 -04:00
Vladislav Sytchenko 9ce8e0eeb8 (SWDEV-210228)
Don't error when querying the number of devices if there are no devices present in the system.

We should just return 0 for the number of devices in this case and let the application handle this situation.

Change-Id: I20614ade5e649f3ce9ddd970d4b38bfe296f6cdb


[ROCm/clr commit: 2a223ecec6]
2020-04-01 13:36:44 -04:00
German Andryeyev 8bda935a71 SWDEV-184709 - support hipLaunchCooperativeKernel()
- Enable cooperative groups support, based on ROCr capability

Change-Id: I975bcea0af7865009eaed24454ce71d897ea8fc4


[ROCm/clr commit: 481d526859]
2020-04-01 12:13:33 -04:00
Chauncey Hui 17a69fc6b9 SWDEV-2 - Change OpenCL version number from 3114 to 3115
[ROCm/clr commit: 39467ad9e6]
2020-04-01 03:00:03 -04:00
Todd tiantuo Li 7de769dcc9 SWDEV-222615 - delete VirtualGPU::Queue and return NULL when Pal::IDevice::CreateQueue() fails, in order to avoid undefined behavior and crash.
Change-Id: I4b94d3b3b0495530a8bf7840dc77a98aed9aa8ae


[ROCm/clr commit: b96e25c5f8]
2020-03-31 16:50:53 -04:00
Chauncey Hui 5d4798bb26 SWDEV-2 - Change OpenCL version number from 3113 to 3114
[ROCm/clr commit: b0164a9819]
2020-03-31 03:00:03 -04:00
German Andryeyev 29c091d624 SWDEV-224639 - Device memory is still occupied
- Add cache free on OCL context destroy
- Remove std::mem_fun() usage, since it was removed in c++17

Change-Id: If6acd08f13a2298912ecd78fc025dcf0b32aee54


[ROCm/clr commit: 9f795d750d]
2020-03-30 17:39:21 -04:00
German Andryeyev 14aa72890e SWDEV-184709 - support hipLaunchCooperativeKernel()
Add ROCr cooperative queue allocation

Change-Id: I1384482692f4080d31255b09e0f68a21ccad3da8


[ROCm/clr commit: 7ef8dfdfe7]
2020-03-30 16:09:09 -04:00
Chauncey Hui 782a76511b SWDEV-2 - Change OpenCL version number from 3112 to 3113
[ROCm/clr commit: 771fa3b2ee]
2020-03-27 03:00:03 -04:00
jujiang 3ee3f4e045 SWDEV-223160, SWDEV-227911- Fix Memory Copy Peer failure on Navi10 MGPU configuration
Change-Id: I2bf559b87cba638b5af858c2d4fe5a252d16a5d9


[ROCm/clr commit: d392082a30]
2020-03-26 10:13:19 -04:00
Chauncey Hui 8b9e84e04a SWDEV-2 - Change OpenCL version number from 3111 to 3112
[ROCm/clr commit: 745931d57a]
2020-03-26 03:00:02 -04:00
German Andryeyev a0b28d035d SWDEV-79445 - Remove cl_amd_object_metadata extension
Change-Id: I35502d5e3bd4be4a087f4b49b68098f8aa31fdb4


[ROCm/clr commit: 85c09043f3]
2020-03-24 19:12:52 -04:00
Chauncey Hui 08afc5ea19 SWDEV-2 - Change OpenCL version number from 3110 to 3111
[ROCm/clr commit: c506506f36]
2020-03-19 03:00:03 -04:00
kjayapra-amd 68fc604f5d SWDEV-216213 - Function to lookup module functions from COMGR.
Change-Id: I3890fb188b5b3ae44d2bb161d1b7e75228e30942


[ROCm/clr commit: d961c64b00]
2020-03-18 12:45:21 -04:00
Chauncey Hui 66ca4de8c4 SWDEV-2 - Change OpenCL version number from 3109 to 3110
[ROCm/clr commit: 7afd54f844]
2020-03-18 03:00:03 -04:00
Vladislav Sytchenko 3f66311210 SWDEV-224023
Correct typo.

Change-Id: I72131a6e0210e7b961e586cd0ae18608d21fc529


[ROCm/clr commit: 52046e41b2]
2020-03-15 16:37:25 -04:00
Chauncey Hui 0911d764ec SWDEV-2 - Change OpenCL version number from 3108 to 3109
[ROCm/clr commit: 8d91d8fd32]
2020-03-13 03:00:03 -04:00
Jason Tang 7c287466c3 SWDEV-207312 - Fix images_write_cube failure for gfx10
Change-Id: I7f6a8c77eb712103e4c0a5f36bba95093ffbff98


[ROCm/clr commit: 9cfb973c3f]
2020-03-12 17:25:52 -04:00
German Andryeyev 60466af0bb SWDEV-86035 - Switch PAL version to 572
Change-Id: I948bcfdb247a9d2d10c4089fd40d184f8999501b


[ROCm/clr commit: f7c95a7ec5]
2020-03-12 14:27:02 -04:00
German Andryeyev 607745e99c SWDEV-224471 - [19H1][Polaris10][Acer]
Test window will quit or show error message when run OpenCL API.

Add a workaround for the race condition with the first page
during pinning.

Change-Id: I9a27b4e173cf94c84aefcb94e255f11169453d94


[ROCm/clr commit: ab85674f8a]
2020-03-12 14:20:48 -04:00
Payam 17f6a41982 removing AMD emails per palamida scan
Change-Id: If7307f5b1f81a43f2725ec5abd3b8989cbddbcc5


[ROCm/clr commit: 1b6f21ad9a]
2020-03-11 21:26:55 -04:00
Chauncey Hui 71f03d82ca SWDEV-2 - Change OpenCL version number from 3107 to 3108
[ROCm/clr commit: c1d1fdd678]
2020-03-11 03:00:03 -04:00
German Andryeyev c650d026d8 SWDEV-79445 - Fix a regression in Linux
PAL doesn't report queue priorities under Linux

Change-Id: I3e1632ee2bcbbbaf52b45565f6b6aec24c559922


[ROCm/clr commit: c6d3aea572]
2020-03-10 12:39:56 -04:00
Chauncey Hui b8eadc709e SWDEV-2 - Change OpenCL version number from 3106 to 3107
[ROCm/clr commit: 17b8565629]
2020-03-10 03:00:02 -04:00
German Andryeyev f70545256b SWDEV-193956 - Fix a regression in OCL for user events
- Check the queue for nullptr, since the user events may not have
a queue, associated with them

Change-Id: Ib969a052acc9108ca3fd0c063157fe4d47c5b244


[ROCm/clr commit: 288967eff4]
2020-03-09 11:10:23 -04:00
Chauncey Hui a3bcc34fc2 SWDEV-2 - Change OpenCL version number from 3105 to 3106
[ROCm/clr commit: 5a153ed2cf]
2020-03-09 03:00:03 -04:00
Sameer Sahasrabuddhe bf4070b67d SWDEV-204784 - implement printf based on hostcall
The printf call in the device code is expanded by the compiler into a
series of hostcalls that together form a "message". This change
introduces the following functionality in the runtime:
1. Receive a generic message consisting of a series of hostcalls.
2. Process a printf message.

Change-Id: I9d667d6f91607a907a96e46cc5fca55734339747


[ROCm/clr commit: ce4a34bc71]
2020-03-08 23:57:03 -04:00
Chauncey Hui a6643076ac SWDEV-2 - Change OpenCL version number from 3104 to 3105
[ROCm/clr commit: ca0a327df2]
2020-03-07 03:00:03 -05:00
Vladislav Sytchenko ab1c00cee9 SWDEV-224023
Each WGP consists of 2 CU, so the number of available SIMD units is doubled.

Change-Id: I43978a8a9139c33f5f776b344a36bee927cc187d


[ROCm/clr commit: e76d867740]
2020-03-06 13:43:36 -05:00