Saleel Kudchadker
a97f206ab1
Change for OpenCL2.2 header promotion
...
Change-Id: Icd579e5c94af6e8d984a3f6c2606be44dec72e91
2020-04-01 16:32:03 -04:00
Vladislav Sytchenko
2a223ecec6
(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
2020-04-01 13:36:44 -04:00
German Andryeyev
481d526859
SWDEV-184709 - support hipLaunchCooperativeKernel()
...
- Enable cooperative groups support, based on ROCr capability
Change-Id: I975bcea0af7865009eaed24454ce71d897ea8fc4
2020-04-01 12:13:33 -04:00
Chauncey Hui
39467ad9e6
SWDEV-2 - Change OpenCL version number from 3114 to 3115
2020-04-01 03:00:03 -04:00
Todd tiantuo Li
b96e25c5f8
SWDEV-222615 - delete VirtualGPU::Queue and return NULL when Pal::IDevice::CreateQueue() fails, in order to avoid undefined behavior and crash.
...
Change-Id: I4b94d3b3b0495530a8bf7840dc77a98aed9aa8ae
2020-03-31 16:50:53 -04:00
Chauncey Hui
b0164a9819
SWDEV-2 - Change OpenCL version number from 3113 to 3114
2020-03-31 03:00:03 -04:00
German Andryeyev
9f795d750d
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
2020-03-30 17:39:21 -04:00
German Andryeyev
7ef8dfdfe7
SWDEV-184709 - support hipLaunchCooperativeKernel()
...
Add ROCr cooperative queue allocation
Change-Id: I1384482692f4080d31255b09e0f68a21ccad3da8
2020-03-30 16:09:09 -04:00
Chauncey Hui
771fa3b2ee
SWDEV-2 - Change OpenCL version number from 3112 to 3113
2020-03-27 03:00:03 -04:00
jujiang
d392082a30
SWDEV-223160, SWDEV-227911- Fix Memory Copy Peer failure on Navi10 MGPU configuration
...
Change-Id: I2bf559b87cba638b5af858c2d4fe5a252d16a5d9
2020-03-26 10:13:19 -04:00
Chauncey Hui
745931d57a
SWDEV-2 - Change OpenCL version number from 3111 to 3112
2020-03-26 03:00:02 -04:00
German Andryeyev
85c09043f3
SWDEV-79445 - Remove cl_amd_object_metadata extension
...
Change-Id: I35502d5e3bd4be4a087f4b49b68098f8aa31fdb4
2020-03-24 19:12:52 -04:00
Chauncey Hui
c506506f36
SWDEV-2 - Change OpenCL version number from 3110 to 3111
2020-03-19 03:00:03 -04:00
kjayapra-amd
d961c64b00
SWDEV-216213 - Function to lookup module functions from COMGR.
...
Change-Id: I3890fb188b5b3ae44d2bb161d1b7e75228e30942
2020-03-18 12:45:21 -04:00
Chauncey Hui
7afd54f844
SWDEV-2 - Change OpenCL version number from 3109 to 3110
2020-03-18 03:00:03 -04:00
Vladislav Sytchenko
52046e41b2
SWDEV-224023
...
Correct typo.
Change-Id: I72131a6e0210e7b961e586cd0ae18608d21fc529
2020-03-15 16:37:25 -04:00
Chauncey Hui
8d91d8fd32
SWDEV-2 - Change OpenCL version number from 3108 to 3109
2020-03-13 03:00:03 -04:00
Jason Tang
9cfb973c3f
SWDEV-207312 - Fix images_write_cube failure for gfx10
...
Change-Id: I7f6a8c77eb712103e4c0a5f36bba95093ffbff98
2020-03-12 17:25:52 -04:00
German Andryeyev
f7c95a7ec5
SWDEV-86035 - Switch PAL version to 572
...
Change-Id: I948bcfdb247a9d2d10c4089fd40d184f8999501b
2020-03-12 14:27:02 -04:00
German Andryeyev
ab85674f8a
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
2020-03-12 14:20:48 -04:00
Payam
1b6f21ad9a
removing AMD emails per palamida scan
...
Change-Id: If7307f5b1f81a43f2725ec5abd3b8989cbddbcc5
2020-03-11 21:26:55 -04:00
Chauncey Hui
c1d1fdd678
SWDEV-2 - Change OpenCL version number from 3107 to 3108
2020-03-11 03:00:03 -04:00
German Andryeyev
c6d3aea572
SWDEV-79445 - Fix a regression in Linux
...
PAL doesn't report queue priorities under Linux
Change-Id: I3e1632ee2bcbbbaf52b45565f6b6aec24c559922
2020-03-10 12:39:56 -04:00
Chauncey Hui
17b8565629
SWDEV-2 - Change OpenCL version number from 3106 to 3107
2020-03-10 03:00:02 -04:00
German Andryeyev
288967eff4
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
2020-03-09 11:10:23 -04:00
Chauncey Hui
5a153ed2cf
SWDEV-2 - Change OpenCL version number from 3105 to 3106
2020-03-09 03:00:03 -04:00
Sameer Sahasrabuddhe
ce4a34bc71
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
2020-03-08 23:57:03 -04:00
Chauncey Hui
ca0a327df2
SWDEV-2 - Change OpenCL version number from 3104 to 3105
2020-03-07 03:00:03 -05:00
Vladislav Sytchenko
e76d867740
SWDEV-224023
...
Each WGP consists of 2 CU, so the number of available SIMD units is doubled.
Change-Id: I43978a8a9139c33f5f776b344a36bee927cc187d
2020-03-06 13:43:36 -05:00
Chauncey Hui
ee5eb0107d
SWDEV-2 - Change OpenCL version number from 3103 to 3104
2020-03-05 03:00:02 -05:00
German Andryeyev
0fc433e076
SWDEV-193956 - [hipclang-vdi-rocm][perf]
...
~45% to 50% of Performance drop on rocBLAS_int8 test
Add support for active waits without blocking the host thread.
Change-Id: Ie7bb48dcafcb4c93d448bf74749b829b626c3578
2020-03-04 17:02:15 -05:00
Payam
9106a7dff4
clean up
...
Change-Id: I1a5bbd12bba35af5d52f9ddc0df71dd0d004d122
2020-03-04 13:35:49 -05:00
Chauncey Hui
cc9f32ed27
SWDEV-2 - Change OpenCL version number from 3102 to 3103
2020-03-04 03:00:02 -05:00
Jason Tang
f51ff32113
Seperate PAL and ROCm
...
Change-Id: I7d0fbbab88c0541f17274da6e8850f2c6783dcd1
2020-03-03 16:06:51 -05:00
Vladislav Sytchenko
243a3c2aa4
SWDEV-224335
...
cl_bool needed to be replaced with uint32_t instead of bool. This is due to cl_bool being a typedef of cl_uint32.
Currently clGetDeviceInfo() reports incorrect size for the return value, due to cl_bool being 4 bytes and c++ bool being 1 byte.
Change-Id: I647a4b8873627059865c84c8ca27694dbc0916de
2020-03-03 11:50:37 -05:00
Chauncey Hui
8038b8262c
SWDEV-2 - Change OpenCL version number from 3101 to 3102
2020-03-03 03:00:03 -05:00
German Andryeyev
622c714165
SWDEV-79445
...
Add MS HWS support. PAL reports just one compute engine
in that mode and runtime needs extra logic to detect RT queues.
Change-Id: I011f1f1b18dec6a7195a4f1fe939f8029bc269ae
2020-02-28 19:05:17 -05:00
Chauncey Hui
3bfaa242c8
SWDEV-2 - Change OpenCL version number from 3100 to 3101
2020-02-26 03:00:03 -05:00
Vladislav Sytchenko
019d1feea5
Remove OpenCL Single Buffer Allocation Restriction
...
Change-Id: I5c37a7f08b02ed74ec6984c6da9ffa5dc9bf0f52
2020-02-25 11:41:18 -05:00
Payam
0eea98b755
removed AMD referenced internal url
...
http://172.24.5.22:8888/palamida/InventoryDetails.htm?inventoryId=80447&projectId=1704
Change-Id: I917942cfddd165018904afda7a1ab76cdbc91595
2020-02-25 11:08:19 -05:00
Chauncey Hui
beda512630
SWDEV-2 - Change OpenCL version number from 3099 to 3100
2020-02-25 03:00:02 -05:00
Payam
19791a242b
clean up
...
Change-Id: Ic0201ffd1231f05d265165c62b475f768756991c
2020-02-25 02:13:12 -05:00
jujiang
518a75ca66
SWDEV-196333-hipCopyhammer_H2D&hipCopyHammer_D2H tests fix return false case
...
Change-Id: I919e098f8b1b8c41b200bd32dcf108977c472b43
2020-02-24 15:08:21 -05:00
German Andryeyev
0fb8e378b1
SWDEV-221395 - [OpenCL] Failure to Create RTQ2
...
Don't add real time queues into the pool of generic queues.
Change-Id: I7f6865df740b8a2fbbec5e897a988a2151ef5a9e
2020-02-21 16:50:10 -05:00
German Andryeyev
77ff161324
SWDEV-193956 - [hipclang-vdi-rocm][perf]
...
Retain command before a wait.
Change-Id: I0ab8f1352af32c96567dad9e31b3687bdf407bf6
2020-02-21 16:43:21 -05:00
Chauncey Hui
ec84e8d6e2
SWDEV-2 - Change OpenCL version number from 3087 to 3099
2020-02-21 15:31:26 -05:00
German Andryeyev
a66d09f5a3
SWDEV-193956 - [hipclang-vdi-rocm][perf]
...
~45% to 50% of Performance drop on rocBLAS_int8 test
Use the last command in the queue for a wait.
Add extra print information about processed commands.
Add an option to disable file location printing.
Change-Id: I4187883e1a90e571fde3128af98368108fda8785
2020-02-21 15:21:15 -05:00
Chauncey Hui
fea14a7201
SWDEV-2 - Change OpenCL version number from 3086 to 3087
...
Change-Id: Iee9ff16e0e41e2468c32a6af82dc65a63714a679
2020-02-21 14:11:33 -05:00
Vladislav Sytchenko
696d00e71b
Correct pitch alignment calculation
...
When we're aligning rowPitch to imagePitchAlignment, rowPitch is in pixels,
but imagePitchAlignment_ is bytes, so we end up overaligning the pitch.
Convert imagePitchAlignment_ to pixels before doing any logic.
Change-Id: Ia5ab9d54bed150fe974e86b060dbadc196165b29
2020-02-20 18:00:27 -05:00
Vladislav Sytchenko
5de65ba4a0
Enable SVM atomics for HIP/Win
...
hip_threadfence_system passes locally with this change. This also fixes
hipHostMalloc() failures when hipHostMallocMapped flag is used.
Change-Id: Id412efe502accc7c6e7676b52c05ccb9d8fbbe67
2020-02-19 23:22:37 -05:00