Commit Graph

13402 Commits

Author SHA1 Message Date
Saleel Kudchadker 9fdbbe53dc SWDEV-364604 - Add support for hipEventDisableSystemFence
Change-Id: I1a6451c873fb22729ac61e4e80f8531251e990f0


[ROCm/clr commit: 7fc5ae2226]
2023-02-21 23:11:40 -05:00
pghafari 24bf83f808 SWDEV-366520 - DLL_PROCESS_DETACH update
making sure the current thread is not null before calling ihipDestroyDevice

Change-Id: Ib75e3f9ee1c4e0065986e3fed1065907220f4379


[ROCm/clr commit: c221406681]
2023-02-21 23:02:24 -05:00
Jaydeep Patel ac593a9dca SWDEV-383397 - Set large bar false for windows.
Change-Id: Iaef70e477afab7ca8694aa55d1f704e769e24ed9


[ROCm/clr commit: f364ab7680]
2023-02-21 22:18:58 -05:00
Jaydeep Patel 013905b593 SWDEV-319526 - SE ID size incresed.
Change-Id: Ia7df94d172102b321f12c8caa821e3a7e4447a21


[ROCm/clr commit: 0ad47eb3e5]
2023-02-21 22:13:57 -05:00
Saleel Kudchadker 858e311f34 SWDEV-364604 - Add ROCclr support for hipEventDisableSystemFence
Change-Id: I6127b432a8759359359a1890fda85bc401be6a56


[ROCm/clr commit: 3e603d986a]
2023-02-21 19:07:35 -05:00
Jaydeep Patel ae81589d28 SWDEV-382664 - Remove WaveLimiter init
The wavelimiter init was unintentionally added in one change.
It wasn't supposed to perform any logic, since LC doesn't support it and
the number of waves can be overwritten only with an environment variable.

Change-Id: I447bd1ad685800f874b6a6fb7409dc67e43640ff


[ROCm/clr commit: 4830dd168c]
2023-02-21 18:12:08 -05:00
Ioannis Assiouras 2633e62801 SWDEV-381402 - Derive hip::Stream from amd::HostQueue
Change-Id: I6c1aca5eb350c32d974ae4ffcc725705355956d8


[ROCm/clr commit: e3633dc8f4]
2023-02-21 18:12:03 -05:00
Ioannis Assiouras b91c27aef1 SWDEV-384362 - Added explicit cast from __fp16 to _Float16 in rcph
Change-Id: Ibbb11e928a80126ed7a8c7cd8bddebc74c38986d


[ROCm/clr commit: aaf1c19609]
2023-02-21 17:32:59 -05:00
Xie,AlexBin 4d6ec86edf SWDEV-378367 - Observed performance drop for Geekbench5
Change-Id: I0beabc6e3bec095574c8168fcf52af1e94105792


[ROCm/clr commit: 97243ff755]
2023-02-21 17:18:16 -05:00
Yaxun (Sam) Liu e660f913b5 SWDEV-380145 - [GFX][CQE] Mathlibs and Blender build failed in both RT and CPL Jobs
Remove --hip-device-lib-path from hip-config.cmake
and let clang determine device lib path

Change-Id: Ice009875624692bc2895020c9577b94ddbd6840f


[ROCm/clr commit: cbb3937196]
2023-02-21 15:33:22 -05:00
Ajay a9675e0faa SWDEV-384100 - HIP support for CUDA 12.0
Apps are failing to build due to undefined deprecated texture APIs

Change-Id: I1fb64adc4bc0ba6ee6ecaa65d54b34da0327e6a3


[ROCm/clr commit: fc6a77a09f]
2023-02-21 12:23:48 -05:00
Jason Tang 562a086ff1 Merge "SWDEV-372613 - No need to link GLEW/GL for oclperf and oclruntime tests" into amd-staging
[ROCm/clr commit: cf2d46e97e]
2023-02-21 10:00:07 -05:00
Todd tiantuo Li 77a647b170 SWDEV-382501 - support new ASIC Revision for Phoenix2
Change-Id: I0225511960c9fbc50ec541511599ef87e509b567


[ROCm/clr commit: 189ce1ad05]
2023-02-21 02:54:35 -08:00
Rakesh Roy c506ec3604 SWDEV-377782 - Fix segmentation fault for hipLaunchKernel
- If fat binary doesn't contain code object for current gfx then inside FatBinaryInfo::ExtractFatBinary(), valid FatBinaryDeviceInfo address isn't stored in vector fatbin_dev_info_
- This raises segmentation fault during hipLaunchKernel

Change-Id: I21017338d91edbd5d9cc2d37277f66558198a129


[ROCm/clr commit: 348698ed30]
2023-02-20 09:54:44 -05:00
Konstantin Zhuravlyov f789329113 SWDEV-1 - Add missing gpu cases in getProcName
Change-Id: I16103ab213cc70f388690df85e6a03e7a408384d


[ROCm/clr commit: caf7551dd7]
2023-02-17 15:55:09 -05:00
victzhan 46652f12a2 SWDEV-376995 - Fixed misplaced checking
Change-Id: Ia3bddabfa7fc76066541fb81723136ae6cffb0a4


[ROCm/clr commit: d6a08403d8]
2023-02-17 13:34:51 -05:00
Ranjith Ramakrishnan ee63dd0dc5 SWDEV-383843 - Use relative path for RUNPATH
Build script was passing relative path for setting the RUNPATH. But clinfo is overriding it and using absolute paths
Removed the same from source code

Change-Id: I505e7fdc84c53d147f3afbc6c4133f906de2110f


[ROCm/clr commit: 067beca608]
2023-02-17 11:31:48 -05:00
German 73f02aa6dc SWDEV-382397 - Move VirtualGPU destruction back to the thread exit
OS can terminate unfinished queue thread from default stream at any
time. Potentially leaving the queue lock in a bad state and causing a
deadlock if runtime destroys VirtualGPU later from the host thread.

Change-Id: I247f102ee84e6b4dba947504933395071945c85d


[ROCm/clr commit: 28daf98f1f]
2023-02-17 10:05:49 -05:00
Maneesh Gupta 4b8bf631d0 SWDEV-366831 - Revert "File reorg backward compatibility message changed to #error"
This reverts commit de1e612775.

Reason for revert: Need to wait for apps to make fixes first

Change-Id: I337a0b56d268093fc8689152002a6f8a8ceb258f


[ROCm/clr commit: c7576e2add]
2023-02-17 03:46:29 -05:00
Anusha GodavarthySurya 06ffd15060 SWDEV-366636 - Fix performance drop in TF-RCCL models
Change-Id: Idc845bb0dab858b94b9d2720cae8308cac2e7328


[ROCm/clr commit: f98dcf9d7f]
2023-02-17 00:48:13 -05:00
Rakesh Roy 9c51780b13 SWDEV-338733 - Implement hipArrayGet* APIs
- Add implementation for hipArrayGetInfo, hipArrayGetDescriptor &
  hipArray3DGetDescriptor APIs

Change-Id: I181a472066006bc3bd0d987408ea67e218310983


[ROCm/clr commit: 287d07ccd4]
2023-02-16 23:04:29 -05:00
Ioannis Assiouras 5007a5f15d SWDEV-381402 - convert host_device to host_context of type amd::Context*
Change-Id: Ic1cb9a3fa64e16699fad7e9ec6679f1d34b14bef


[ROCm/clr commit: 8b87ccb8cc]
2023-02-16 17:49:12 -05:00
jatang 6723b780ca SWDEV-372613 - No need to link GLEW/GL for oclperf and oclruntime tests
Change-Id: I0b9fe78f3fb6d93a4e7d0fe66ea279291716f30e


[ROCm/clr commit: 589988ee47]
2023-02-16 15:07:23 -05:00
kjayapra-amd 9c479ada12 SWDEV-376697 - Pass uncached memory flag when hipDeviceMallocUncached memory is requested.
Change-Id: Idc12948047fdb69876e31edf34a8bcda46c9c303


[ROCm/clr commit: 193c5e387e]
2023-02-16 14:05:54 -05:00
kjayapra-amd 53073c4657 SWDEV-376697 - Use PCIE fine grain memory pool when hipDeviceMallocUncached flag is used.
Change-Id: I7234d456ef2df42b0b9b9e0d2647ee9bded565f9


[ROCm/clr commit: 6b873b8a86]
2023-02-16 14:05:50 -05:00
kjayapra-amd b9f94c082b SWDEV-381898 - Move the lock after code object loading since COMGR is thread safe now and VDI also have locks.
Change-Id: I15547f3ae3711d12a1ddf5cb7e9abd40a95ded89


[ROCm/clr commit: 68139f9ddb]
2023-02-15 10:23:28 -05:00
Maneesh Gupta d7fdd9fcb8 SWDEV-368235 - Revert "Remove obsolete env variables"
This reverts commit dfa7790030.

Reason for revert: Deferred to a future release.

Change-Id: Ia66c37f0ab9734dee73c930d10d7469d5fd57254


[ROCm/clr commit: 5dc104b3ea]
2023-02-15 07:25:00 +00:00
Anusha GodavarthySurya 24eec94928 SWDEV-380035 - Check for agent and ptr match for hsa LOCKED ptr
Change-Id: I2503aa05512aebc3535963e188ca8d1dbfab08f0


[ROCm/clr commit: fa35239b4b]
2023-02-15 00:12:42 -05:00
Maneesh Gupta 877cfb9b80 SWDEV-366831 - Revert "File reorg backward compatibility message changed to #error"
This reverts commit e9ebd8b072.

Reason for revert: Need app fixes first

Change-Id: I1fea9a2ca8d57ef79a4f407bbc0d906976292eb1


[ROCm/clr commit: 2801be2372]
2023-02-14 22:55:40 -05:00
victzhan 94f9990e27 SWDEV-376995 - Added if statement so that when AQL dispatch failed it returns corresponding hip error instead of hipSuccess
Change-Id: I0724fbcf0833c5dd8b2e4d6e443b3e226046dddf


[ROCm/clr commit: 4e324a9c63]
2023-02-14 14:30:50 -05:00
sdashmiz 8c69e2e52e SWDEV-377862 - wrong format for memcpy1d
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ide6d252083b1812b0ad9cd182b1435e3e59b3aa1


[ROCm/clr commit: e34be4fbee]
2023-02-14 09:47:04 -05:00
Sourabh Betigeri 3bc1a92b66 SWDEV-375194 - Fixes graph dot file descriptions to include labelId matching CUDA
Change-Id: Ia0e6b77e38678b13457f86755ed8f3b852c9b7a1


[ROCm/clr commit: 191b468d89]
2023-02-13 19:43:12 -05:00
Saleel Kudchadker a314419f7a SWDEV-301667 - Refactor code
Change-Id: I8f20d994d88acb14f392eaa9d5cd14620667d7f6


[ROCm/clr commit: 695f169ed0]
2023-02-13 14:58:17 -08:00
David Yat Sin b8226e4292 SWDEV-365908 - Do not align mem size for IPC
Remove alignment to granularity for IPC handles as ROCr has a patch that
will internally validate pointer sizes against requested size during
allocation instead of size aligned to page size. This patch is needed
together with this patch from ROCr:
f8a42a3a:Use user requested size for memory fragments

Change-Id: I28b25558ea03c836b44fafdb34b7330cf6887424


[ROCm/clr commit: fa1b7925cf]
2023-02-13 17:32:02 -05:00
Ranjith Ramakrishnan de1e612775 SWDEV-366831 - File reorg backward compatibility message changed to #error
Change-Id: Ic346b403bcc5df52fdab54ddf95472f649a00cc0


[ROCm/clr commit: c86bd74c67]
2023-02-10 13:09:46 -05:00
Chauncey Hui 20abd4585b SWDEV-2 - Change OpenCL version number from 3569 to 3570
[ROCm/clr commit: dbeb2f5495]
2023-02-10 03:00:12 -05:00
Jeremy Newton 2103c97868 SWDEV-1 - device: Add missing include
Newer GCC's seem to require this.

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


[ROCm/clr commit: 70bdb7a597]
2023-02-09 14:57:14 -05:00
Sourabh Betigeri 1544843291 SWDEV-375202 - Fixes print formatting for flags in hipGraphDebugPrint() to match CUDA
Change-Id: I2d85fc38d2c65bc12534109883fe00802e77e62d


[ROCm/clr commit: 4cbf9a4a16]
2023-02-09 13:07:57 -05:00
Ranjith Ramakrishnan e9ebd8b072 SWDEV-366831 - File reorg backward compatibility message changed to #error
Change-Id: I44adb1a4b9bba0bd89edb75be715504ede2e3d08


[ROCm/clr commit: 810c4ac244]
2023-02-09 12:46:13 -05:00
Satyanvesh Dittakavi 77e78dff33 SWDEV-370552 - Correct the HIPRTC behavior to optimize the ISA only once
Change-Id: Idaf0ea8294657db3666e9548deb6a9629e0ee718


[ROCm/clr commit: 99556449b6]
2023-02-09 11:55:41 -05:00
Jacob Lambert c013a1c39b SWDEV-376413 - Revert "SWDEV-376413 - Replace deprecated Comgr device-lib action"
This reverts commit 8da846db0a.

Reason for revert: Test failures with Luxmark, blender, and Indigobench. Need to investigate before re-applying

Change-Id: I6b08273a8f9c8bcaa4e7a06cd42d15048e52ca2a


[ROCm/clr commit: 5168485d23]
2023-02-09 10:02:47 -05:00
German Andryeyev b180effdb6 SWDEV-381633 - Use blit manager on app's queue
Heap initialization used device queue, but it shoudl be used for
cooperative launches only. Heap initialization must use the same queue
as the current dispatch.

Change-Id: I856621bf82bbdeb1c2d0fbc4970e90d09af805cb


[ROCm/clr commit: 67af16bdf3]
2023-02-09 09:43:13 -05:00
sdashmiz fb107094d6 SWDEV-374378 - correct setparam for memcpy node
- params should be valid when used for default flag since we support
  unified virtual address space

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I75d40e437b12ee58e72e423bb4818b484ce35b66


[ROCm/clr commit: 5c5b220561]
2023-02-09 09:39:20 -05:00
Chauncey Hui 50307ab94c SWDEV-2 - Change OpenCL version number from 3568 to 3569
[ROCm/clr commit: 5e27676afb]
2023-02-09 03:00:04 -05:00
Saleel Kudchadker 95e07af803 SWDEV-381633 - Better log
Change-Id: Ie151d73aa4b1dae7d0d9acd0457e7dbdf35f21ee


[ROCm/clr commit: 7619b53e9b]
2023-02-08 17:54:11 -05:00
Jeremy Newton 713ac5ab4e SWDEV-1 - cltrace: Add missing include
Newer GCC's seem to require this.

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


[ROCm/clr commit: 158e79358c]
2023-02-08 14:26:47 -05:00
Saleel Kudchadker 83ceb0cd10 SWDEV-381633 - Better log
Change-Id: I5c59d42462fe8a233ef10e26ec67314219aeb167


[ROCm/clr commit: 2e4ce59cf4]
2023-02-08 10:21:57 -08:00
Jaydeep Patel 670267ec40 SWDEV-380405 - Check for invalid stream for hipMemcpyPeerAsync.
Change-Id: I6dfccb4d20bb638bd596c071030c68889743d706


[ROCm/clr commit: e940beb459]
2023-02-08 00:47:35 -05:00
jatang 43e9497462 SWDEV-380792 - Fix floating point exception when maxEngineClockFrequency_ is 0
Change-Id: Ic443ceae586c4c84995ed2abef9bd7f32f8b60f9


[ROCm/clr commit: b798c85272]
2023-02-07 11:43:10 -05:00
pghafari 24b7348137 SWDEV-377571 - adding scopelock for hipDeviceReset
Change-Id: I3dd95a40d6abff721a4774f26e99d1162bafdfa1


[ROCm/clr commit: 03f62b90ef]
2023-02-07 11:29:20 -05:00