Graf Tiomantas

13197 Tiomáintí

Údar SHA1 Teachtaireacht Dáta
Chauncey Hui 1b5de6e562 SWDEV-2 - Change OpenCL version number from 3406 to 3407 2021-12-11 03:00:08 -05:00
haoyuan2 d1a491b30b SWDEV-311585 - workaround dynamic loading functional issue in Blender
Change-Id: I815724c0bdcb712e40ec1ed11b9632fab7243f69
2021-12-10 11:52:15 -08:00
German Andryeyev f613831471 SWDEV-300515 - Apply CU granularity on the CU count
Report granularity for possible app query

Change-Id: I98857c6f4cc7ae590927ea35ce57d181abe7860b
2021-12-10 10:47:28 -05:00
Chauncey Hui 7abd2827b5 SWDEV-2 - Change OpenCL version number from 3405 to 3406 2021-12-10 03:00:08 -05:00
haoyuan2 981ef060fb SWDEV-290298 - add a flag to indicate the primary context active status
Change-Id: Id13d132923fcef697b689e75b6aa04060923a2ad
2021-12-09 23:32:16 -05:00
haoyuan2 439af94dd9 SWDEV-290298 - add a flag to indicate the primary context active status
Change-Id: Ia31790706d3f855bc1eedf5ef874e471
2021-12-09 23:28:54 -05:00
Ajay 9ed0c29bb6 SWDEV-273235 - Linux: catch2 test packaging
Change-Id: I5b4e44b367d9310a66ea70c31c3e15ad45589166
2021-12-09 17:51:25 -05:00
Sarbojit Sarkar aedbad0109 SWDEV-314254 - Fix for hipMemcpy3D test crash
Change-Id: Iac70bfe0d351cfb5b56fefc9a6487d3f26f2b4ef
2021-12-09 11:46:52 -05:00
Chauncey Hui 84af5eed4e SWDEV-2 - Change OpenCL version number from 3404 to 3405 2021-12-09 03:00:06 -05:00
Jeremy Newton cb1e7cd48d 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
2021-12-08 16:15:59 -05:00
German Andryeyev 008133cf41 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
2021-12-08 11:59:37 -05:00
Chauncey Hui 587cda0c91 SWDEV-2 - Change OpenCL version number from 3403 to 3404 2021-12-08 03:00:05 -05:00
Julia Jiang 376ea1e293 SWDEV-308644 - reorganize extra blit kernel in PAL stack
Change-Id: I9d853e8d417ef75b522184d83646ec4b9fa8669b
2021-12-07 14:55:20 -05:00
Satyanvesh Dittakavi f3c5f12d26 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
2021-12-07 13:29:44 -05:00
Satyanvesh Dittakavi c9532093ce SWDEV-309286 - Add check to limit host malloc upto system memory size
Change-Id: I4a0f55d6f7faa323b16d9b8fb12e876900da1bbc
2021-12-07 12:02:29 -05:00
Jeremy Newton e885ae9591 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
2021-12-07 09:59:03 -05:00
Christophe Paquot 5243552768 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
2021-12-06 12:16:08 -05:00
Sarbojit Sarkar 9a51909058 SWDEV-313905 - Fix for hipLaunchCooperativeKernel crash
Change-Id: I41205171a9607962ab6b66f2ebc6f8dc9db7f158
2021-12-05 23:15:06 -05:00
Sarbojit Sarkar 9a3cb1608b SWDEV-313722 - Fix for segfault while using rocprof
Change-Id: Ia00868e058069ee73ce4a852ab2529d8f785a4b7
2021-12-05 23:14:26 -05:00
Tao Sang 5acc8b5102 SWDEV-303204 - Disable texture/image Apis on some devices
If the target device doesn't support image,
compiler will send out unavailable error if device texture apis
are called; and host texture apis will return hipErrorNotSupported.
Remove useless include/hip/amd_detail/texture_functions.h.
Add hipDeviceAttributeImageSupport attribute to check image
support in runtime.
Add __HIP_NO_IMAGE_SUPPORT(=1) macro in device code to indicate
texture apis not supported.
Change-Id: Ia891493e681a61980a2444859a90e046a9ebea39
2021-12-04 08:14:08 -05:00
haoyuan2 69117705c8 SWDEV-309292 - add hipPos definition in CUDA path
Change-Id: Ia81d5db77d7403cafb583fda8083d0f4dbe33835
2021-12-04 04:40:34 -05:00
haoyuan2 1101cfedf5 SWDEV-311856 - check if the function pointer is valid
Change-Id: Iaa5bd7f8321434ce63d0bcf2791d3c65577b453d
2021-12-04 04:40:09 -05:00
taosang2 76c6dcd558 SWDEV-1 - Add EMU_ENV option
Fix FEAT-39125
Add EMU_ENV option. If it is ON, the building is for
emulation environment, thus some logics can be adjusted
to match emulation environment. If it is OFF, the
building is for regular environment.
Currently only ocltst will use the option. But it can
be used for other modules.

Change-Id: I54e1bc1309e82794b41fca2ae1f01f004138dced
2021-12-03 10:03:00 -05:00
Chauncey Hui 1a677effa8 SWDEV-2 - Change OpenCL version number from 3402 to 3403 2021-12-03 03:00:05 -05:00
Jatin Chaudhary bf28ecb048 SWDEV-307838 - Push clang diagnostics to be ignored
Change-Id: I7487170b44994079bfe7167b6211489a0c7fef2b
2021-12-03 02:48:34 -05:00
cjatin 5b08779b25 SWDEV-307407 - Add hiprtc's type traits function to match implementation of libcxx
Change-Id: I0a10eca329f817bbe31bdc47869b2de104d12d38
2021-12-02 23:32:23 -05:00
Jatin Chaudhary 546d6c18bf SWDEV-308889 - Add HIP_INCLUDE_HIP_HIP_RUNTIME_H define to stop including hip_runtime header in hiprtc code
Change-Id: Ic8f05dcfe61195a500718122f5fbd178c9df6be8
2021-12-02 22:48:30 -05:00
anusha GodavarthySurya e90cb3b07b SWDEV-305766 - Added new debug APIs to get build information
Change-Id: Ibbf0c010cd8f7e6e659f2c4ba932cc8436574431
2021-12-02 12:20:51 -05:00
anusha GodavarthySurya 1564f2cd77 SWDEV-306833 - Refactor HIPEvent IPC code
Change-Id: I118e41ac843d14fa3b42b4eb538c5d112dff1c03
2021-12-02 12:20:40 -05:00
Jeremy Newton df2eec8465 Merge "SWDEV-312927 - Fix rocm-opencl package licensing" into amd-staging 2021-12-02 11:48:59 -05:00
sdashmiz 981125aacc SWDEV-312099 - hipsteam capture API status report fix
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Iee0bbad978f3ca89ff81e5a8583c0aa9cfcb4098
2021-12-02 11:04:00 -05:00
Satyanvesh Dittakavi 9dabdcdc3e SWDEV-309286 - save the max system mem size in device info
Change-Id: I9955625aca6ceda059aef6354d909de636b610ba
2021-12-02 10:59:07 -05:00
Chauncey Hui 1df0ddefe4 SWDEV-2 - Change OpenCL version number from 3401 to 3402 2021-12-02 03:00:03 -05:00
Saleel Kudchadker 3f82b99f5d SWDEV-308843 - Increase MaxPinnedXferSize to 128
This allows experimenting with env var GPU_PINNED_XFER_SIZE which is
still at a default of 32MB

Change-Id: I85ade700ed58d498eba29d1737601dc74d4c26a4
2021-12-01 20:37:56 -05:00
anusha GodavarthySurya ff00f2cea7 SWDEV-284895 - unload program object before releasing it
Change-Id: Ib10c9877043d90de8e292db319bb9def43df8061
2021-12-01 20:25:26 -05:00
anusha GodavarthySurya 102aa9d6d9 SWDEV-284895 - Adding kind metadata and launch init/fini marked kernels
Change-Id: If2b21c4b98567632c426943e0b69aca8d6f1ec2a
2021-12-01 08:17:44 -08:00
Freddy Paul 3f1e227182 SWDEV-306293 - Failing Ubuntu, CL-GL subtest in OpenCL conformance
renaming rocm-opencl ldconfig file with "10-" prefix to prioritize
over system icd loader.
Change-Id: I0a54de7a0bc0e256d6470eae743ec712d1e42a36

Change-Id: I4af1d0e3e27f40f8b03b798cae43cfd4ba4a1880
2021-12-01 07:29:54 -08:00
Jeremy Newton 5416bcb7e8 SWDEV-312927 - Fix rocm-opencl package licensing
The license file needs to be installed.

RPM also requires the LICENSE field to be set.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I8bcec77e51b88f3f6a6fa5799d6e38db1d1ab566
2021-11-30 17:27:03 -05:00
anusha GodavarthySurya 671fe75c26 SWDEV-240806 - Added Implementation for hipGraphInstantiateWithFlags and hipGraphExecMemsetNodeSetParams
Change-Id: I71683abb25234bf4e73be52a717d792c32e9aaa6
2021-11-30 13:04:08 -05:00
Chauncey Hui 3d56881a14 SWDEV-2 - Change OpenCL version number from 3400 to 3401 2021-11-30 03:00:03 -05:00
Sarbojit Sarkar 2cbdadd037 SWDEV-310181 - Fix for hipMemcpy2DFromArray dtest failure
Change-Id: I4284cc543c5ebd5f09254d570230a25742e9dc3c
2021-11-29 22:56:09 -05:00
Sarbojit Sarkar 02dc6f9f9a SWDEV-310181 - Fix for AtoH Memcpy tests failure
Change-Id: Ibf8c8c01257f0516088d50d5c9f82040ed8fa067
2021-11-29 22:55:23 -05:00
kjayapra-amd d4ad981c0c SWDEV-312822 - Fix the globalWorkSize to number of sizeof(var) instead of bytes.
Change-Id: Ic6b2bbb2e8d4cb6aa8d906d4b93cd06a176160d8
2021-11-29 17:36:11 -05:00
sdashmiz 15a6fc8a7c SWDEV-311117: graph fetch node correct behavior
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie2794bbbf2eb171240eb7125c561026edb9ac042
2021-11-29 15:14:11 -05:00
pghafari 24e984fd57 SWDEV-310292 - checking hip initialization
Change-Id: I83c9a0d511699c150abe61c3053cc4de2f7f1205
2021-11-29 14:59:19 -05:00
German Andryeyev 102c19adf3 SWDEV-294669 - Avoid stall when the new signal was created
Stall in the host thread could occur earlier than the app expects.
Make sure rutnime can grow the signals to the queue size without
any stall. Also adding a new signal to the end of the pool could
break the dependency chain on signal reuse. The new logic will
insert the new signal after current to keep the chain intact.

Change-Id: I9c90b98515907db8b677528263c3e88cd9581a14
2021-11-29 10:08:06 -05:00
Chauncey Hui bfcb47ca72 SWDEV-2 - Change OpenCL version number from 3399 to 3400 2021-11-29 03:00:05 -05:00
Sarbojit Sarkar d3c829aec2 SWDEV-313024 - added missing stream validation check
Change-Id: Iba541776b3d0975d3fa008000df12845b2fcf970
2021-11-29 00:13:35 -05:00
anusha GodavarthySurya 54259ebb4a SWDEV-308265 - Fix PCH __hipGetPCH
Change-Id: I65ba201eaa3a7d569f3be41942213cda40c7f09e
2021-11-28 23:41:46 -05:00
kjayapra-amd 2e9bc8f793 SWDEV-312822 - Revert "SWDEV-310187 - Change flag to keep track of aligned sizes instead of expanded patterns."
This reverts commit 8307886644.

Change-Id: I022c2a8375f9929e9723cec66e1e0b960263fc39
2021-11-28 23:39:40 -05:00