Commit Graph

4424 Commits

Author SHA1 Message Date
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
Satyanvesh Dittakavi 31aa18f1a9 SWDEV-317716 - Add uuid in device info structure
Change-Id: Ie7f48d0faf7d722bd9bb8bd0f8962a7832dbe4f6


[ROCm/clr commit: 824704c87b]
2022-02-03 12:17:28 -05:00
Todd tiantuo Li 1f9f598d92 SWDEV-297292 - add gfx90c:xnack+ support as gfx90d
Change-Id: I90e28981a7cbc0f9a0105c16e9dda3ad8ac57f51


[ROCm/clr commit: fbbae8055f]
2022-02-02 14:24:19 -08:00
Chauncey Hui d9a7a47f56 SWDEV-2 - Change OpenCL version number from 3417 to 3418
[ROCm/clr commit: 00f724e465]
2022-02-01 03:00:44 -05:00
Saleel Kudchadker d0e8d72bfa SWDEV-301947 - Use new enum for CU count
Use HSA_AMD_AGENT_INFO_COOPERATIVE_COMPUTE_UNIT_COUNT to get compute
units. This is needed to work around assymentric CU harvesting bug on
gfx90a. Add a new device property to get the max available CUs on the
device.

Change-Id: I878f38f14f16c1af01fc0a77157aea1e816a63b8


[ROCm/clr commit: 33aca5a4a6]
2022-01-31 12:57:50 -05:00
Chauncey Hui 7929d01be3 SWDEV-2 - Change OpenCL version number from 3416 to 3417
[ROCm/clr commit: 87dd8dd0d7]
2022-01-28 03:00:07 -05:00
German Andryeyev 9c0b3d2d2f SWDEV-318505 - Update HSAIL xnack path
Fix a typo with new line

Change-Id: I7fee63409b491a1f214117b68cfffa0492aa0743


[ROCm/clr commit: b169956c78]
2022-01-27 13:07:11 -05:00
Chauncey Hui b3a7bda2cc SWDEV-2 - Change OpenCL version number from 3415 to 3416
[ROCm/clr commit: 87b6c5f14c]
2022-01-27 03:00:09 -05:00
Konstantin Zhuravlyov ef7dffc013 SWDEV-320486 - Correctly set HSAIL_ELFTOOLCHAIN_DIR
Change-Id: Icb39b376eaf3a8132b210bd1bd4eeecaa97bea9d


[ROCm/clr commit: 511065e301]
2022-01-26 18:38:25 -05:00
Payam 26d897966e SWDEV-245531 - GLInterop adding svm support
Change-Id: Id7f2a7a214f5ad692b4a7acf26cfb1dc423ed54a


[ROCm/clr commit: b473a80f6a]
2022-01-26 08:17:58 -05:00
Chauncey Hui 9a874b36d7 SWDEV-2 - Change OpenCL version number from 3414 to 3415
[ROCm/clr commit: 7727ea394c]
2022-01-26 03:00:06 -05:00
German Andryeyev ea28025939 SWDEV-318505 - Update HSAIL xnack path
Report proper target id for xnack in HSAIL path. Runtime
will use ISA table and report hsailName().
Fix offline compilation path for PAL.

Change-Id: Ic0250bf6b9c193d867aec9800a319da1bf00c3ee


[ROCm/clr commit: a543d4a860]
2022-01-24 09:27:32 -05:00
Chauncey Hui 22bf484635 SWDEV-2 - Change OpenCL version number from 3413 to 3414
[ROCm/clr commit: e6225e07d0]
2022-01-19 03:00:08 -05:00
Alex Xie 055b618f15 SWDEV-312368 - Segmentation fault in test_gl
When OCL failed to obtain function pointer from GL, we should not call it.

Change-Id: I50f69d270ce445386906a286e44c4e8c83722302


[ROCm/clr commit: 15101e704b]
2022-01-14 17:35:31 -05:00
Chauncey Hui 67592dfe94 SWDEV-2 - Change OpenCL version number from 3412 to 3413
[ROCm/clr commit: d04fdd9356]
2022-01-13 03:00:05 -05:00
Satyanvesh Dittakavi 85c2cac111 SWDEV-306939 - Fix vdi errors/warnings by CppCheck
Change-Id: I56d910f8363787f1050d5d7e8064ed553c5827fd


[ROCm/clr commit: e20dd61932]
2022-01-12 00:22:16 -05:00
Chauncey Hui 0f38461bb6 SWDEV-2 - Change OpenCL version number from 3411 to 3412
[ROCm/clr commit: 8b5b2a2d79]
2022-01-08 03:00:04 -05:00
German Andryeyev 252c0e5032 SWDEV-316665 - Add ATI_BITS_32 define to cmake build
Some logic in ROCclr relies on ATI_BITS_32 define

Change-Id: I2f0ef535e8d7717f9aa8646bdc80c09880bd2bee


[ROCm/clr commit: 5f98028a48]
2022-01-06 13:14:19 -05:00
Chauncey Hui 1202b80ccd SWDEV-2 - Change OpenCL version number from 3410 to 3411
[ROCm/clr commit: f892de68a3]
2022-01-05 03:00:05 -05:00
German Andryeyev b8ab281765 SWDEV-317061 - Fix 32-bit HSAIL complib load
Use __stdcall decl to match the library defines

Change-Id: Id4178443d5a9bb4e5401d80b3b5d15c7bbea0330


[ROCm/clr commit: e0a4e0df0e]
2022-01-04 16:48:18 -05:00
Chauncey Hui da523f184f SWDEV-2 - Change OpenCL version number from 3409 to 3410
[ROCm/clr commit: c04d650b67]
2021-12-29 03:00:09 -05:00
haoyuan2 74c05e9bc1 SWDEV-316150 - align with OCL to use wavefront64 on Navi21/22/23/24
Change-Id: Ic47bc7cc6300c217c02c2bbbda9940a3b5c9597d


[ROCm/clr commit: 3d5d9e2691]
2021-12-28 12:39:18 -08:00
Chauncey Hui 729e99fc65 SWDEV-2 - Change OpenCL version number from 3408 to 3409
[ROCm/clr commit: a6948a31f2]
2021-12-19 03:00:03 -05:00
Saleel Kudchadker 500f6a6513 SWDEV-313306 - Fix Co-operative groups dtests
Add a state indicator to retain ExternalSignals when needed.
Co-operative group launch uses external signals to indicate a dependency
to the next command.

Change-Id: I6d0daa006e2377c3bbf4aeca0fd5b63c7ac8fbbb


[ROCm/clr commit: 1fbd75b825]
2021-12-17 12:41:37 -08:00
Chauncey Hui 27a162656e SWDEV-2 - Change OpenCL version number from 3407 to 3408
[ROCm/clr commit: e5122e3bc7]
2021-12-15 03:00:05 -05:00
Saleel Kudchadker 42625f0527 SWDEV-313306 - Clear external signals
Crash was due to the fact that external signal structure was stale even
after destroyign the command. That is because we skipped wait due to a
missing check.
Detect external signals and dispatch a barrier in ReleaseGpuMemoryFence.
Also clear external_signals_ at ProfilingBegin.

Change-Id: I991387edcfe928b511bf5e780988ee131321ed5a


[ROCm/clr commit: 3239222516]
2021-12-13 23:03:33 -08:00
Chauncey Hui 09b628c4e0 SWDEV-2 - Change OpenCL version number from 3406 to 3407
[ROCm/clr commit: 1b5de6e562]
2021-12-11 03:00:08 -05:00
German Andryeyev c759986e28 SWDEV-300515 - Apply CU granularity on the CU count
Report granularity for possible app query

Change-Id: I98857c6f4cc7ae590927ea35ce57d181abe7860b


[ROCm/clr commit: f613831471]
2021-12-10 10:47:28 -05:00
Chauncey Hui aac7266191 SWDEV-2 - Change OpenCL version number from 3405 to 3406
[ROCm/clr commit: 7abd2827b5]
2021-12-10 03:00:08 -05:00
haoyuan2 248a738674 SWDEV-290298 - add a flag to indicate the primary context active status
Change-Id: Ia31790706d3f855bc1eedf5ef874e471


[ROCm/clr commit: 439af94dd9]
2021-12-09 23:28:54 -05:00
Sarbojit Sarkar 4630f3ade0 SWDEV-314254 - Fix for hipMemcpy3D test crash
Change-Id: Iac70bfe0d351cfb5b56fefc9a6487d3f26f2b4ef


[ROCm/clr commit: aedbad0109]
2021-12-09 11:46:52 -05:00
Chauncey Hui 9b2abd8370 SWDEV-2 - Change OpenCL version number from 3404 to 3405
[ROCm/clr commit: 84af5eed4e]
2021-12-09 03:00:06 -05:00
German Andryeyev 5ad02b78c4 SWDEV-305016 - Improve MGPU scaling in Tensorflow
Add a threshold for ROCR/SDMA P2P transfers. ROCR copy path
requires extra barriers in compute for synchronization. That costs
extra performance with tiny transfers.
Reduce active wait time to 10us. Tensorflow uses extra thread
per GPU with constant hipEventQuery() calls. Longer active waits
in ROCr affect CPU performance.

Change-Id: I9020358438615fa2d4617f862f00a562f0a588e7


[ROCm/clr commit: 008133cf41]
2021-12-08 11:59:37 -05:00
Chauncey Hui 421d659e35 SWDEV-2 - Change OpenCL version number from 3403 to 3404
[ROCm/clr commit: 587cda0c91]
2021-12-08 03:00:05 -05:00
Julia Jiang 41eef3076e SWDEV-308644 - reorganize extra blit kernel in PAL stack
Change-Id: I9d853e8d417ef75b522184d83646ec4b9fa8669b


[ROCm/clr commit: 376ea1e293]
2021-12-07 14:55:20 -05:00
Christophe Paquot 1b87d3a497 SWDEV-307109 - Don't force Persistent for HIP
With SAM on, don't force Persistent for allocations
in HIP. This makes ROCCLR go down paths we don't want
for HIP.

Change-Id: If54cc16fa891d4cfdc761c6ab21ad707627e822a


[ROCm/clr commit: 5243552768]
2021-12-06 12:16:08 -05:00
Chauncey Hui 5dab7d3843 SWDEV-2 - Change OpenCL version number from 3402 to 3403
[ROCm/clr commit: 1a677effa8]
2021-12-03 03:00:05 -05:00
Satyanvesh Dittakavi b219bf8292 SWDEV-309286 - save the max system mem size in device info
Change-Id: I9955625aca6ceda059aef6354d909de636b610ba


[ROCm/clr commit: 9dabdcdc3e]
2021-12-02 10:59:07 -05:00