Commit Graph

13474 Commits

Author SHA1 Message Date
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
Chauncey Hui 2c23a1091f SWDEV-2 - Change OpenCL version number from 3398 to 3399 2021-11-27 03:00:08 -05:00
German Andryeyev 6f2e7c3199 SWDEV-313126 - Use data() method for the base array address
Reference for the first element can trigger an assert with
_GLIBCXX_ASSERTIONS build

Change-Id: I59c63c052831307edfe5dcc6384798a43e9596dd
2021-11-26 09:51:57 -05:00
Jatin Chaudhary aa6538079d ROCMOPS-2659 - Add HIP_PATH to current binary directory
Change-Id: I2b91f10d620cef951c7832b2ee138f4981b40570
2021-11-26 03:31:10 -05:00
Chauncey Hui e4be77cbef SWDEV-2 - Change OpenCL version number from 3397 to 3398 2021-11-26 03:00:05 -05:00
Julia Jiang f5c9ad5b1d SWDEV-308644 - merge roc blit kernels
Change-Id: I378e511959fe17c03fa45066022e9670a4d181f0
2021-11-25 10:07:51 -05:00
Chauncey Hui 964f5bc502 SWDEV-2 - Change OpenCL version number from 3396 to 3397 2021-11-25 03:00:04 -05:00
Satyanvesh Dittakavi c56317b2e0 SWDEV-292714 - Add unique id for each allocation to support HIP_POINTER_ATTRIBUTE_BUFFER_ID
Change-Id: Ibb3fcb2d0bbbef03525fc884d5b3e9b5f6c11423
2021-11-24 06:10:50 -05:00
Chauncey Hui 0ab4ad1310 SWDEV-2 - Change OpenCL version number from 3395 to 3396 2021-11-24 03:00:04 -05:00
Jason Tang 36298f36d3 Merge "SWDEV-1 - Fix getopt for options that don't have colon" into amd-staging 2021-11-23 16:36:34 -05:00
Rahul Garg 2472abf589 Revert "SWDEV-296926 - hipamd cmake file change to build hip/src"
This reverts commit 5f254dc780.

Reason for revert: Fix for SWDEV-312654

Change-Id: I45bef538273431e0dd5d85cf889a7c769c87af73
2021-11-23 12:24:38 -05:00
Saleel Kudchadker 1e6cc5a2fa SWDEV-299893 - Fix PAL/lnx build
Change-Id: If4408a81d2dc8686c8e805a7697a7d9b2589c864
2021-11-23 08:09:33 -08:00
Chauncey Hui f526e9ea89 SWDEV-2 - Change OpenCL version number from 3394 to 3395 2021-11-23 03:00:03 -05:00
Jason Tang aba8b08701 SWDEV-1 - Fix getopt for options that don't have colon
Change-Id: Ibb8907e23294bfa033bdefb243ddac35574983b0
2021-11-22 15:51:28 -05:00
anusha GodavarthySurya a6bf18791e SWDEV-240808 - Added nvidia handling for few graph APIs
Change-Id: I8edee87ea75d80152418f76cc8a521b2ba58f139
2021-11-22 07:17:34 -08:00
shadi e5a8719417 SWDEV-310910-add-property-details-in-dll
Signed-off-by: shadi <shadi.dashmiz@amd.com>
Change-Id: Ifd373cbb16398416c56511148b14e9c2fe11ad9e
2021-11-22 09:50:04 -05:00
Sarbojit Sarkar 2afeacc858 SWDEV-310181 - Fix for mGPU dtest failure
Change-Id: Id0898bd45e23f2d637bef25a3e69f26d9dc40785
2021-11-22 01:01:47 -05:00
Saleel Kudchadker 0d5bc833c3 SWDEV-299893 - Set preferred node affinity
Set affinity to the node nearest to default GPU at init. Afterthat
set it to NUMA node thats nearest to whatever GPU is set with
hipSetDevice
Change-Id: I85749258ea7c25385096ffe4089a70c948f332c7

Change-Id: I99a92c922655e22955bee512073b6ac8e6ced3a2
2021-11-21 01:13:36 -05:00
Chauncey Hui 7fdeb37239 SWDEV-2 - Change OpenCL version number from 3393 to 3394 2021-11-20 03:00:06 -05:00
anusha GodavarthySurya d2f202b116 SWDEV-240806 - Fix compilation warning
Change-Id: I1b540059b1e386bc7b6f4493226c45199542bfc3
2021-11-19 20:46:18 -05:00
anusha GodavarthySurya cfb42c1408 SWDEV-240806 - Added graph API hipGraphExecUpdate & hipGraphExecChildGraphNodeSetParams
Change-Id: Ie9c85b746846374b73194b96c7ee73d15463b894
2021-11-19 20:42:54 -05:00
Jason Tang 63bd627252 SWDEV-1 - Enable ocltst Jenkins service messages
Change-Id: I201e3feea4598c4bfcfa77585dd01a6b60e452a3
2021-11-19 16:05:26 -05:00
Satyanvesh Dittakavi 3b157b3d5f SWDEV-304151 - Reset file descriptor after Module Load
File descriptors opened during hipModuleLoad are not closed
until hipModuleUnLoad. In large models, this exceeds the ulimit
for no. of open file descriptors causing out of resource issues.
Hence, close the file descriptors once the required data is read
from the file, and not wait until unload.

Change-Id: Ic50d424e5ca388715b1e6309a0de72a480321582
2021-11-19 12:25:59 -05:00
kjayapra-amd 8307886644 SWDEV-310187 - Change flag to keep track of aligned sizes instead of expanded patterns.
Change-Id: I763feda8688bb1b7b11033a2a8cba0f69f07167d
2021-11-19 10:32:40 -05:00