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

3847 Коммитов

Автор SHA1 Сообщение Дата
Chauncey Hui 044bc684e6 SWDEV-2 - Change OpenCL version number from 3230 to 3231 2020-11-21 03:00:03 -05:00
Aryan Salmanpour d03ee6eff6 Add an environment variable for setting a global CU mask
Change-Id: I773b152023c7b8e1e679a42015748f9b23fd946d
2020-11-20 10:05:09 -05:00
Chauncey Hui 393e118b91 SWDEV-2 - Change OpenCL version number from 3229 to 3230 2020-11-19 03:00:04 -05:00
Vladislav Sytchenko b4e212a0f9 [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
2020-11-18 17:12:32 -05:00
German Andryeyev 089a5cc4ad 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
2020-11-18 09:37:30 -05:00
Chauncey Hui ec22c54d85 SWDEV-2 - Change OpenCL version number from 3228 to 3229 2020-11-18 03:00:08 -05:00
Vladislav Sytchenko ec130a5a28 Disable branch-fold optimization temporarily for some Adobe apps
Change-Id: I8b4af4decb6b3ba4b856167ffb0ae8200b21a835
2020-11-17 12:51:33 -05:00
Chauncey Hui a77b718fc9 SWDEV-2 - Change OpenCL version number from 3227 to 3228 2020-11-14 03:00:03 -05:00
Vladislav Sytchenko 026baec57b [PAL] Navi23 support
Change-Id: I10bb0653746060bd83ca7feda10fdafc07ced845
2020-11-13 15:08:04 -05:00
Vladislav Sytchenko 5e60e06a50 [PAL] Navi22 support
Change-Id: I9f1741898b4afaa0e787d8053d8f006ee3d17017
2020-11-13 15:00:57 -05:00
Vladislav Sytchenko 353a018bce [PAL] Report actual HW limits for max image buffer size
Change-Id: I62aa3f1e9709b91ba223af0abf8bf6395fe8ec59
2020-11-13 14:59:50 -05:00
German Andryeyev 532f0ae951 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
2020-11-13 10:36:23 -05:00
Jason Tang 2ee2392f63 SWDEV-260376 - [PAL] Fix Windows build
Change-Id: I788198b5980a46981de4b2e7aaa6a495e6e98cad
2020-11-13 09:51:43 -05:00
Chauncey Hui ec8eb12c1b SWDEV-2 - Change OpenCL version number from 3226 to 3227 2020-11-13 03:00:03 -05:00
Sarbojit Sarkar 099f8d61dd SWDEV-258573 : fix for OCLP2PBuffer test failure
Change-Id: I363d4fb2bb94d9bc03e96844d31dec7ef9b2ce33
2020-11-13 02:25:53 -05:00
Jason Tang b1d75637bd 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
2020-11-12 09:49:48 -05:00
Chauncey Hui 415c3075c7 SWDEV-2 - Change OpenCL version number from 3225 to 3226 2020-11-12 03:00:08 -05:00
jujiang 92a7c26f96 SWDEV-259096-update rocclr readme
Change-Id: Ied0cca5ce3e8f81b85e5c01839520d7c31ac3e07
2020-11-11 16:30:26 -05:00
German Andryeyev 234a94f838 Add SPM support for RGP
RGP protocol supports SPM collection. Enable it in the PAL backend.

Change-Id: I0fa17334addad037ba6689d11fff0993f7899e66
2020-11-11 13:10:23 -05:00
Chauncey Hui 11f79812e1 SWDEV-2 - Change OpenCL version number from 3224 to 3225 2020-11-11 03:00:04 -05:00
Konstantin Zhuravlyov ee6b0d9294 SWDEV-198415 - Implement Target ID Proposal
Changes from Jason Tang, Tony Tye

Change-Id: Idb9b6923f12dfb61a5773c9aa3d3fbeb1327ec47
2020-11-10 13:22:58 -05:00
Chauncey Hui 115d5ccfd5 SWDEV-2 - Change OpenCL version number from 3223 to 3224 2020-11-04 03:00:06 -05:00
Alex Xie f5ce682ac3 SWDEV-258132 [LNX][Navi23] Segmentation fault when run clinfo
Change-Id: Ic8833726214b32f70a35f3922baf2afae87b25af
2020-11-03 14:40:31 -05:00
Chauncey Hui 137c61d20c SWDEV-2 - Change OpenCL version number from 3222 to 3223 2020-11-03 03:00:04 -05:00
Tao Sang ce4cc6095c Fix wrong include path
Fix wrong include path of ROCclrConfig.cmake.in

Change-Id: Ic5a1387a426cf02a985a4ef8ff8ff15e6a871cbb
2020-10-30 18:19:34 -04:00
Chauncey Hui a253c82430 SWDEV-2 - Change OpenCL version number from 3221 to 3222 2020-10-27 03:00:02 -04:00
Tao Sang 6a6faf1d58 Fix crash in delete of TempWrapper
OCLTST crashing at oclruntime.OCLKernelBinary for
Tahiti because of deleting on pointer vector which
is however a single pointer. The fix will correct
the wrong deleting in TempWrapper destructor.

Change-Id: Ic5a1387a426c102b085a4ef8ff8ff05e6a870cba
2020-10-26 16:04:39 -04:00
Jason Tang d943cae31f Add CommandKindString to the log
Change-Id: Ie23123a85cff82b1732da85f5bffbff6958c02e5
2020-10-26 09:16:03 -04:00
Jason Tang 1da0fe4263 SWDEV-254181 - Fix ocl min_max_image_buffer_size regression.
ROCr is now reporting the actual HW addressing limits for HIP, so OpenCL will have to impose lower limit.

Change-Id: I60c2ce27ed1d1f45f16fb76438965a236ba872c6
2020-10-26 09:15:31 -04:00
Chauncey Hui e558ef48be SWDEV-2 - Change OpenCL version number from 3220 to 3221 2020-10-24 03:00:03 -04:00
German Andryeyev bd340d8cbf Correct reported info in ROC profiler
OCL can't distinguish different copy types, but ROC profiler
expects SDMA transfer visibility. Add extra code to detect
a transfer with the host memory and substitute OCL command

Change-Id: I5290acd0e10bc082e00c1d4ae1474a075de7f165
2020-10-23 18:29:48 -04:00
Chauncey Hui 17d2e5cf56 SWDEV-2 - Change OpenCL version number from 3219 to 3220 2020-10-23 03:00:03 -04:00
Evgeny 6f88bf5eac SWDEV-249623 : vdi: case string for marker activity
Change-Id: Id1767a5f33d821d649e15f4659e3520ee215c374
2020-10-22 04:04:00 -04:00
Chauncey Hui 28f71a682d SWDEV-2 - Change OpenCL version number from 3218 to 3219 2020-10-22 03:00:04 -04:00
Alex Xie e5588f188c SWDEV-256126 - Linux pro Nuke app crash with "Out of memory "while running Rip plugin test
We unmap a memory with a different pointer.
ROCr runtime might be confused and silently ignore the unmap request

Change-Id: Ic5a1387a426cf02a985a4ef8ff8ff05e6a870cbf
2020-10-21 11:33:42 -04:00
Chauncey Hui cb9684ab0b SWDEV-2 - Change OpenCL version number from 3217 to 3218 2020-10-21 03:00:07 -04:00
Rahul Garg 5ff3010e1b Add MemoryMapFileTruncated function
Change-Id: I26d2a9fbac668cbac284bdfad0d7912db521dc70
2020-10-20 20:25:27 -04:00
Vladislav Sytchenko be66e29e94 [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
2020-10-20 12:10:14 -04:00
Chauncey Hui 5d6f656c3f SWDEV-2 - Change OpenCL version number from 3216 to 3217 2020-10-20 03:00:04 -04:00
Jason Tang 25cc965c76 Change file mode 755 back to 644
Change-Id: I4ba5d66997ffd3331c56674d4bf805160dcdf049
2020-10-19 15:09:32 -04:00
Tao Sang b74d120627 Fix ocltst test issue
Fix dumpImage() issue exposed on Win10.
It's called by internal compiler on Navi14

Change-Id: I693ffd45b6b03657822afdc872781901bc69b65d
2020-10-18 22:10:59 -04:00
Chauncey Hui 5c1b96c844 SWDEV-2 - Change OpenCL version number from 3215 to 3216 2020-10-17 03:00:04 -04:00
German Andryeyev cb4e6bd264 Upgrade PAL interface version to 632
Change-Id: I1b8b936cc9bc59ff80296cc6bf5137c3af398c5d
2020-10-16 13:12:16 -04:00
Chauncey Hui f28b011746 SWDEV-2 - Change OpenCL version number from 3214 to 3215 2020-10-16 03:00:03 -04:00
German Andryeyev a5661192b6 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
2020-10-15 16:39:33 -04:00
Alex Xie e4e6c46356 SWDEV-251360 - Add tracing for memory allocation/free.
This can be used to debug VM fault

Change-Id: I7685485b0450ea84d10b710639ad7b6c5ec2fcf3
2020-10-15 15:38:55 -04:00
Rahul Garg a224dc2a7b Fix PCI bus domain ID
SWDEV-256338

Change-Id: I09afdca4f1a08f99ce662a4c4ed8a51d85500699
2020-10-15 14:59:57 -04:00
Chauncey Hui f714bbffc1 SWDEV-2 - Change OpenCL version number from 3213 to 3214 2020-10-15 03:00:04 -04:00
Rahul Garg 6d9ceed2f4 Revert "SWDEV-253557 Strip shared lib for release builds"
Fixes SWDEV-256563 - Mainline build breaking issue.

This reverts commit eac709a8a9.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ib2e9ef362dc7dece9f4bbe7611b4be45087aa18e
2020-10-14 17:53:04 -04:00
Rahul Garg c0f8b52f06 Add image1DMaxWidth_ for maxTexture1D property
Needed by SWDEV-254068

Change-Id: Ic650dfb6e5b38d7544ba647c53de52deda39b92d
2020-10-14 17:30:43 -04:00