Commit Graph

11513 Commits

Author SHA1 Message Date
ajay a4e46d09e2 SWDEV-314307 - hipStreamWaitEvent to wait on remote IPC events
Change-Id: Id97524ae9bc86d38376af2b0240f10d0dd5cc584


[ROCm/clr commit: bafc5bb30f]
2022-01-19 20:10:02 +00: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
Payam 3ba48819a1 SWDEV-245531 - GLInterop adding register image
Change-Id: Ib16b647e2a1b8f3c578a9689d3987121c984250b


[ROCm/clr commit: 5f9d779324]
2022-01-14 15:57:24 -05:00
Ajay 277110a7d0 SWDEV-1 - hip change for hip Debug option in Windows
Change-Id: Ied0005d8373868c0e351bb981ea0a9ea90b1d4b7


[ROCm/clr commit: 57f768f9f5]
2022-01-14 01:49:55 +00: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
Maneesh Gupta 501b613442 Revert "SWDEV-316155 - Fix for P2P sample failure"
This reverts commit 74269eb547.

Reason for revert: Fixed via a different patch

Change-Id: I1743afdd7b8516b39501839d74bbed6bdb797e0c


[ROCm/clr commit: ff1f1ba867]
2022-01-13 02:27:47 -05:00
Satyanvesh Dittakavi bdc978c0e2 SWDEV-318128 - Add Null checks in hipGraphExecHostNodeSetParams API
Change-Id: I1363b16646b7629c827ace4db4c7b0da32486edb


[ROCm/clr commit: dcd0322f52]
2022-01-13 02:16:24 -05:00
Nick Curtis 925805d186 Fix missing system-scope for CAS in atomic[Min|Max]_system
Change-Id: Ieb0ca79eaeba3a0ae56739246e08135a25a8d6dd


[ROCm/clr commit: c8103470d5]
2022-01-12 22:53:11 -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
Sarbojit Sarkar 8f0c0822ad SWDEV-313905 - Fix segfault
Change-Id: I7b7bbe80a169014b5d4a8de134351b9f8bf11735


[ROCm/clr commit: 017603703b]
2022-01-11 23:40:25 -05:00
Sarbojit Sarkar 641d0b9d6f SWDEV-315545 - Fix for hipMemsetAsync crash
Change-Id: I39ad0dacf4357aa6f9d0c6cf92a6a7d14bd219c0


[ROCm/clr commit: c4f6037ae8]
2022-01-10 06:48:10 -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
haoyuan2 3bdc78b813 SWDEV-315924 - align with CUDA to define vector3 data type
Change-Id: I7654fb757b4c387a762f384ccdd3f2c8555d149f


[ROCm/clr commit: 0f94653447]
2022-01-06 17:35:56 -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
Sarbojit Sarkar 74269eb547 SWDEV-316155 - Fix for P2P sample failure
Change-Id: I95a70d44949c59319a9a09f84be771740c3f0521


[ROCm/clr commit: 845b923507]
2022-01-06 06:35:15 -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
Tao Sang 8929cc4544 SWDEV-315590 - Fix texture vector issue
Apply mapFrom() to related texture device functions.

Change-Id: Ifed918c87373b784780b2180320ccb746845daff


[ROCm/clr commit: 78de8cd672]
2022-01-04 19:26:14 -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
Tao Sang 77bb6fd205 SWDEV-315590 - Fix texture fetch issue
Add mapFrom() to map "float __attribute__((ext_vector_type(4)))"
of output of low-level device function to right vector.

Change-Id: Ifed915c87273b784780b2180320ccb746845dafb


[ROCm/clr commit: 7de480760b]
2022-01-04 13:38:57 -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 95921782b0 check if the input mode is valid, SWDEV-306130
Change-Id: I72fda84ca3159b00062d98d49be62cae48701a32


[ROCm/clr commit: bd719ceb20]
2021-12-28 21:09:31 -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
Satyanvesh Dittakavi 5cb71910d2 Revert "SWDEV-304151 - Reset file descriptor after Module Load"
This reverts commit 6ef56f09f1.

Reason for revert: To address SWDEV-316216

Change-Id: Ib8e6ac4b87c5e52757cd8f45958f39f012823c60


[ROCm/clr commit: a6b2294b93]
2021-12-23 06:11:43 +00:00
Jeremy Newton de579ad9d8 SWDEV-316087 - Fix ROCM_DEP_ROCMCORE logic
ROCM_DEP_ROCMCORE is not passed to the packaging cmake files, so
rocm-core is never added to the dependency list, even if it's set.

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


[ROCm/clr commit: 3898530e2c]
2021-12-22 11:07:58 -05:00
haoyuan2 abbb7b9bc5 SWDEV-316052 - fix HIP_Directed tests build error
Change-Id: I782c68859f77934f2cf672ee53378e51b1cb1ddd


[ROCm/clr commit: 8a8581edf5]
2021-12-21 03:21:53 -05:00
Aakanksha ad86c8a225 Package hipcc binaries
(hipcc.bin and hipconfig.bin)

Change-Id: Ib13cbc5fb33ffd03c5fada46f13875bd5ac47800


[ROCm/clr commit: f313c2ea80]
2021-12-20 23:07:45 +00: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
haoyuan2 96a8e4e234 SWDEV-303956 - add make_int2/3/4 and make_float2/3/4 function support
Change-Id: I0260d1a9d2ac66e84dc31a80b0995616ef78b0fe


[ROCm/clr commit: a8b30291c3]
2021-12-15 14:57:36 -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
haoyuan2 7301a84351 SWDEV-303956 - align with CUDA to define float4 data type
Change-Id: I9ad1315e5899a8c0cf1812302b27010d88015f88


[ROCm/clr commit: 937415141c]
2021-12-14 15:22:43 -05:00
anusha GodavarthySurya a6227d8d87 SWDEV-313856, SWDEV-313907, SWDEV-313915 - Export StreamCapture APIs, handle few graph negitive senarios, set event, parallelstreams for endcapture
Change-Id: I3c6008e1a1195cd2e1a14ef24c943ef6b54033ab


[ROCm/clr commit: e3585209d7]
2021-12-14 05:54:13 -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
haoyuan2 86520ebd83 SWDEV-311585 - workaround dynamic loading functional issue in Blender
Change-Id: I815724c0bdcb712e40ec1ed11b9632fab7243f69


[ROCm/clr commit: d1a491b30b]
2021-12-10 11:52:15 -08: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 9735c1b617 SWDEV-290298 - add a flag to indicate the primary context active status
Change-Id: Id13d132923fcef697b689e75b6aa04060923a2ad


[ROCm/clr commit: 981ef060fb]
2021-12-09 23:32:16 -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
Ajay f00e0a2df4 SWDEV-273235 - Linux: catch2 test packaging
Change-Id: I5b4e44b367d9310a66ea70c31c3e15ad45589166


[ROCm/clr commit: 9ed0c29bb6]
2021-12-09 17:51:25 -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
Jeremy Newton fb6409b090 SWDEV-306262 - Add ocl-icd subpackages
These packages contains only the ICD loader (libopencl.so). This allows
legacy opencl (PAL) to use these packages instead of duplicating these
packages in both builds.

This also resolves a licensing issue where OCL ICD is licensed as
Apache, while opencl is MIT. Having a separate package avoid license
confusion.

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


[ROCm/clr commit: cb1e7cd48d]
2021-12-08 16:15:59 -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
Satyanvesh Dittakavi a8fde39f74 SWDEV-311744 - Update floating point max/min atomic implementation
Clang builtins doesnt yet support max/min atomics with float/double
parameters, Hence modify atomicMax/Min to use compare and swap
implementation

Change-Id: Ia351f9b136129fe25f0eddcbbb17549553247182


[ROCm/clr commit: f3c5f12d26]
2021-12-07 13:29:44 -05:00
Satyanvesh Dittakavi 74bd37bd34 SWDEV-309286 - Add check to limit host malloc upto system memory size
Change-Id: I4a0f55d6f7faa323b16d9b8fb12e876900da1bbc


[ROCm/clr commit: c9532093ce]
2021-12-07 12:02:29 -05:00
Jeremy Newton 91baa9ded6 SWDEV-306293 - fix regression in cleanup
To fix SWDEV-306293, x86_64-rocm-opencl.conf was renamed to
10-rocm-opencl.conf. This was not changes in the clean up, only in the
creation, so the patch causes a regression by not cleaning up the new
filename.

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


[ROCm/clr commit: e885ae9591]
2021-12-07 09:59:03 -05:00