Commit Graph

4615 Commits

Author SHA1 Message Date
Chauncey Hui 8fb4e3478a SWDEV-2 - Change OpenCL version number from 3440 to 3441
[ROCm/clr commit: 7a0e83c061]
2022-03-31 03:00:06 -04:00
German Andryeyev 2f380870df SWDEV-328670 - Enable arena for ROCr interops
Add ROCR memory detection and enable arena mem object for possible
access in HIP

Change-Id: Icf86ac789176bfee4ea8d36b0970a817d4c6a2f7


[ROCm/clr commit: 28597ec5b5]
2022-03-30 16:46:36 -04:00
Chauncey Hui 1ba42f1a01 SWDEV-2 - Change OpenCL version number from 3439 to 3440
[ROCm/clr commit: 3a8b5cb9c3]
2022-03-30 03:00:04 -04:00
Saleel Kudchadker 62a60eb1c4 SWDEV-301947 - Report regular CU count for OpenCL
Change-Id: I3ea058bba98f3c6554cbde37173bbd772f489cf5


[ROCm/clr commit: 61d0b999be]
2022-03-29 16:19:14 -04:00
Satyanvesh Dittakavi acfa45bd5c SWDEV-326397 - P2P copies to take SDMA path if there is no pending dispatch
Change-Id: I50cfb8d77f7882151a20a1de7aaf5219b1695b7d


[ROCm/clr commit: c1b95b09bf]
2022-03-29 14:59:11 +00:00
Chauncey Hui b5ef5170ba SWDEV-2 - Change OpenCL version number from 3438 to 3439
[ROCm/clr commit: 37e6cbd983]
2022-03-29 03:00:03 -04:00
Saleel Kudchadker f99304adcd SWDEV-322225 - Use numa_allocate_bitmask
- Fix a crash with AMD_CPU_AFFINITY=1 as numa_bitmask_alloc isnt the
right api to allocate bitmask
- Do not set affinity for ROCr thread. It worsens performance rather
than any improvement.
- Fix regression from my previous change for event handler.

Change-Id: I3ea75adc2a6333f29752283eddd5b555e9b58cc5


[ROCm/clr commit: 802c2c8a9f]
2022-03-26 13:24:51 -04:00
Chauncey Hui 3b7a64e1ba SWDEV-2 - Change OpenCL version number from 3437 to 3438
[ROCm/clr commit: f8a6099344]
2022-03-26 03:00:06 -04:00
German Andryeyev 0d5a8a5b9d SWDEV-311271 - Add a key to control memory pool feature
Change-Id: Ibd929592b802e65d0e1a4fd9689050bce5059e98


[ROCm/clr commit: a02ae1b851]
2022-03-25 19:07:14 -04:00
Ajay 5ba80453fe SWDEV-301667 - return void in getTime(). Avoid warning treated as error
Change-Id: I9445eec554e6f705fb8f248e6be7ff995f163f25


[ROCm/clr commit: 35877b1b13]
2022-03-25 13:39:55 -04:00
Chauncey Hui 41e65f6666 SWDEV-2 - Change OpenCL version number from 3436 to 3437
[ROCm/clr commit: a43de338e3]
2022-03-25 03:00:07 -04:00
Saleel Kudchadker 4dbec887a2 SWDEV-301667 - Selectively queue handler
- Queue handler for hipEventRecord(aka marker_ts_) only if there is a
callback associated with it.

Change-Id: I8a9877ae0e342556053abbaacc9510744a8e772a


[ROCm/clr commit: 3c3c0ca4c5]
2022-03-24 19:46:28 -04:00
Saleel Kudchadker 0689be6c0e SWDEV-328349 - Rate limit hostcall listener
Update timeout for hostcall wait for signal. If the timeout is small it
checks frequent enough to affect performance for certain applications
which may be CPU bound.

Change-Id: I0a879559e4ad111b09a994a5b82a6faf6e4fea3f


[ROCm/clr commit: 9292abb2d8]
2022-03-23 12:18:00 -04:00
Chauncey Hui e43702deeb SWDEV-2 - Change OpenCL version number from 3435 to 3436
[ROCm/clr commit: 9085b482ad]
2022-03-23 03:06:16 -04:00
German Andryeyev b813a78c80 SWDEV-307185 - Move memory allocation under device layer
It can be too early to allocate memory at the begining of
Device::create() under PAL

Change-Id: I4bd76db7be3f6fb246243ea68022d8b0f860471d


[ROCm/clr commit: 3af3fe10de]
2022-03-21 16:17:22 -04:00
Chauncey Hui 6beafe72e8 SWDEV-2 - Change OpenCL version number from 3434 to 3435
[ROCm/clr commit: 54771e2ed7]
2022-03-18 03:00:08 -04:00
sdashmiz d5f766732e SWDEV-307107 - HipPrintf failure for XGMI on windows
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Iab2740364bb673029f0a80b419d80d5b726b9082


[ROCm/clr commit: 6e506da36d]
2022-03-17 10:03:56 -04:00
Chauncey Hui 5b43b36a1b SWDEV-2 - Change OpenCL version number from 3433 to 3434
[ROCm/clr commit: c36b593657]
2022-03-17 03:00:10 -04:00
Sarbojit Sarkar d58efdd1a8 SWDEV-325708 - Query for FineGrained support
Change-Id: Idd20a71467595ab6577bf47c081c437a4b166988


[ROCm/clr commit: 3c2dc1f646]
2022-03-16 05:09:42 -04:00
Chauncey Hui 62302aa802 SWDEV-2 - Change OpenCL version number from 3432 to 3433
[ROCm/clr commit: 3b730facae]
2022-03-16 03:00:06 -04:00
Jason Tang 8aca1872a1 SWDEV-316665 - Use CMAKE_SIZEOF_VOID_P to detect 32bit build
Change-Id: If959b0d012caa55afbe54f0fe7da8ad3cca6d452


[ROCm/clr commit: 7356d2ecb1]
2022-03-15 10:56:26 -04:00
Chauncey Hui e8ca41a233 SWDEV-2 - Change OpenCL version number from 3431 to 3432
[ROCm/clr commit: c0ada20664]
2022-03-15 03:00:06 -04:00
German Andryeyev 21c9c02c27 SWDEV-286150 - Switch PAL version to 711
Change-Id: Iaf07946d6327f92ed734223a6b38c433ce368c4a


[ROCm/clr commit: 43ea9a8e31]
2022-03-14 13:00:40 -04:00
Chauncey Hui e8d6d66276 SWDEV-2 - Change OpenCL version number from 3430 to 3431
[ROCm/clr commit: e8501ecda9]
2022-03-12 03:00:10 -05:00
Jeremy Newton 72cb07579f SWDEV-323669 - Fix linux arch detection
CMake assumes we're bundling on x86, but for GNU compatible compilers,
we should rely on the compiler target to set the build arch.

For non-gnu compilers, just fall back to assuming x86 (no change).

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: Iee9794e6f7c3973c781ddaf740ded77f34712c4f


[ROCm/clr commit: f2e5ef5617]
2022-03-11 09:53:07 -05:00
Chauncey Hui 1b99a425b7 SWDEV-2 - Change OpenCL version number from 3429 to 3430
[ROCm/clr commit: c1858dc39e]
2022-03-10 03:00:14 -05:00
Saleel Kudchadker 4a9f9f1671 SWDEV-301667 - Remove guarantee
Remove guarantee from AddMemObj as one can call it multiple times for
different devices

Change-Id: I49dd76068b3c4c709f17541159052302dcdb374d


[ROCm/clr commit: 3bf1d5ac97]
2022-03-08 16:20:10 -08:00
Chauncey Hui 1a50452b4c SWDEV-2 - Change OpenCL version number from 3428 to 3429
[ROCm/clr commit: ed42eda11d]
2022-03-08 03:00:12 -05:00
German Andryeyev 7d5ed33e8f SWDEV-307185 - Create heap for device memory allocator
Pass the allocated heap with the kernel arguments

Change-Id: Icdec09b7f937845c39e21cbca7071dc3ba791af9


[ROCm/clr commit: 7b114a2b8b]
2022-03-04 00:44:41 -05:00
Chauncey Hui 8fd4a43f3e SWDEV-2 - Change OpenCL version number from 3427 to 3428
[ROCm/clr commit: a6bcb4435a]
2022-03-02 03:00:06 -05:00
haoyuan2 133f476d2e SWDEV-298331 - Fix FreeLibrary throw exception issue on Windows
release HIP resource at DLL_PROCESS_DETACH point

Change-Id: I884ab028eeec1aaa2f655746f7eeae130fd009e4


[ROCm/clr commit: 58e1867079]
2022-03-01 12:06:05 -05:00
Chauncey Hui 8ce52aba5b SWDEV-2 - Change OpenCL version number from 3426 to 3427
[ROCm/clr commit: ba8172b4ad]
2022-03-01 03:00:07 -05:00
Saleel Kudchadker ebcc5f9388 SWDEV-301947 - Rename device Info element
Rename maxBoostComputeUnits to maxPhysicalComputeUnits_.

Change-Id: I5941515ac4f1f4348b3b10478bf4e01444f0a864


[ROCm/clr commit: e888c9e491]
2022-02-25 16:48:15 -08:00
Chauncey Hui 034e1f7f48 SWDEV-2 - Change OpenCL version number from 3425 to 3426
[ROCm/clr commit: af1f395718]
2022-02-25 03:02:14 -05:00
German Andryeyev ae0ca57698 SWDEV-319375 - Avoid global var size query
Currently COMGR doesn't provide global variable size and runtime
parses ELF binary directly. Avoid parsing for HIP. That can save
5% in hipModuleLoad() time.

Change-Id: I47540d1e957bdb0c2406b6b848222de2920b2504


[ROCm/clr commit: 2664d8cf9e]
2022-02-23 21:33:05 -05:00
Chauncey Hui 9d131029d7 SWDEV-2 - Change OpenCL version number from 3424 to 3425
[ROCm/clr commit: f1d55767a8]
2022-02-22 03:00:06 -05:00
Saleel Kudchadker 7fa538bf79 SWDEV-301667 - Fix maxNode size for get_mempolicy
Change-Id: Ifd84c94394b86580cf39178ad0e7f85580b24edb


[ROCm/clr commit: c02d3fd7d8]
2022-02-19 12:48:22 -05:00
Chauncey Hui b4e97ebccb SWDEV-2 - Change OpenCL version number from 3423 to 3424
[ROCm/clr commit: f95188ba4c]
2022-02-19 03:00:07 -05:00
German Andryeyev c52280ae72 SWDEV-323702 - Use active queue for transfer
Pass active queue for transfers in the cache coherency layer.
That will allow to use device transfer queue only for
cases when active queue isn't available, because using device
transfer queue from another active queue may cause a deadlock

Change-Id: Ifbe7e0303b77dbf6eeda3939ffbc25a3df7472de


[ROCm/clr commit: 95d55fdfa8]
2022-02-18 09:10:53 -05:00
Chauncey Hui 62dbceb61c SWDEV-2 - Change OpenCL version number from 3422 to 3423
[ROCm/clr commit: ffbd63e774]
2022-02-18 03:00:06 -05:00
German Andryeyev 7c8a7ddf5e SWDEV-323364 - Fix a typo
Change-Id: I2031296ab9451342d5930b8b2d3d2e6277946647


[ROCm/clr commit: fbf531398a]
2022-02-17 20:50:29 -05:00
Chauncey Hui 867b53ee4e SWDEV-2 - Change OpenCL version number from 3421 to 3422
[ROCm/clr commit: 0a2baa91b1]
2022-02-17 03:00:05 -05:00
Saleel Kudchadker de9a5438b9 SWDEV-322605 - Fix infinite loop condition
If GlobalMemCacheLine reported is 0, runtime may run into an
infinite loop as the KernelSegmentAlignment is chosen as size of the
cache line.

Change-Id: Ide547940cc0407f16fab10ee210b4fd3ae4eaafc


[ROCm/clr commit: 041ddc0c1c]
2022-02-16 13:16:18 -05:00
German Andryeyev a7be0eb56a SWDEV-316824 - Fix P2P compute copy path
Use device memory object for the GPU VA address look-up.

Change-Id: I76bf58b29205f7b3ba1bf68e9fcca69421267203


[ROCm/clr commit: 3fd4a67670]
2022-02-15 13:20:13 -05:00
Chauncey Hui 195d0cb246 SWDEV-2 - Change OpenCL version number from 3420 to 3421
[ROCm/clr commit: 07d3044160]
2022-02-12 03:00:09 -05:00
German Andryeyev 3c4f97f66c SWDEV-286150 - Remove GSL backend
Change-Id: Iba9a997ee7d5ff6ac00d5888ff189a4514958fe9


[ROCm/clr commit: 525a1bbf1a]
2022-02-09 17:16:39 -05:00
Chauncey Hui 4767a9b231 SWDEV-2 - Change OpenCL version number from 3419 to 3420
[ROCm/clr commit: c640b395c7]
2022-02-09 03:00:06 -05:00
German Andryeyev 0bfb898038 SWDEV-286150 - Don't report OCL2.2 support
OCL2.2 requires SPIR-V and runtime doesn't support it.
Make sure PAL backend doesn't report any SPIR-V support.

Change-Id: I8d179069674205b54f7d20d149bcb675bee5cdb0


[ROCm/clr commit: 0bf395af39]
2022-02-07 17:34:39 -05:00
German Andryeyev bd96ef9a34 SWDEV-307184 - Add support for the new metadata
Metadata in Codeobject version 5 is the extension of CO3 and CO4.
Add the detection of the new fields and program them in
the setup of the kernel arguments.

Change-Id: I27e58df77320ad00f4f16d35912668db803826af


[ROCm/clr commit: be6a06384e]
2022-02-07 14:05:58 -05:00
Chauncey Hui 69ccfd83e7 SWDEV-2 - Change OpenCL version number from 3418 to 3419
[ROCm/clr commit: d554960ae7]
2022-02-04 03:00:04 -05:00