Sarbojit Sarkar
1074b22c48
SWDEV-333073 - HIP_INIT_API to handle no return case
...
Change-Id: I78d43e88cc196047a4cb5d6fcf756339c0e46e80
2022-06-24 12:53:18 -04:00
Chauncey Hui
9504e95184
SWDEV-2 - Change OpenCL version number from 3475 to 3476
2022-06-24 03:00:07 -04:00
Victor Zhang
8ba6c62394
SWDEV-328158 - added modification license to changed files and removing trailing white spaces
...
Change-Id: I82f5ef84eac72821214d832a41e40e0f42cf66b9
2022-06-23 16:58:03 -04:00
Satyanvesh Dittakavi
c6647487e0
SWDEV-336538 - Return hipErrorNotSupported for unsupported APIs
...
Change-Id: Ie54771c2f58eebacdc0248bc116ef093f99eb9b8
2022-06-23 07:31:31 -04:00
Ajay
236178d0d4
SWDEV-337331 - command queue logs for debugging option
...
Change-Id: I198aecc5fd12369d87d4acc9910acc9435c1967a
2022-06-22 19:41:38 +00:00
Ajay
2962d2ecf1
SWDEV-342542 - Support hipGetStreamDeviceId on Windows
...
Change-Id: I3f79fb4f3058cd7335c5ca2363cf1659a0a7f6ad
2022-06-22 12:18:03 -04:00
Satyanvesh Dittakavi
b263ab3248
SWDEV-341360 - Handle named expressions with space in hipRTC
...
Change-Id: I1c26855d8a94e0a4d818664ca71094c6992221c9
2022-06-22 14:19:16 +00:00
sdashmiz
683b28d573
SWDEV-341993 - correct parameters checks
...
flags, ptr and stream
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I306be503e8c15db1641eaeeae73e349a99f871ae
2022-06-22 04:22:55 -04:00
kjayapra-amd
2731d03f03
SWDEV-339995 - Adding hiprtcGetBitcode and hiprtcBitcodeSize changes.
...
Change-Id: I378f1ac98de3b11fa3f74161abd036702c7b479b
2022-06-22 04:17:56 -04:00
Satyanvesh Dittakavi
a39ab85e04
SWDEV-340226 - hiprtcLinkAddData should allow empty name
...
Change-Id: I2c9a53453223ee4899b0a5d05e1097bc7e0e428e
2022-06-22 04:15:32 -04:00
Rakesh Roy
21d7f35c84
SWDEV-342025 - Fix hipEventCreateWithFlags API
...
- Return hipErrorInvalidValue if hipEventInterprocess flag is set, but hipEventDisableTiming flag isn't set
Change-Id: Ifbb9d83b018c360f312083bb25dba1187bcdaefa
2022-06-21 10:59:17 -04:00
AlexBin Xie
65403d2eee
Merge "SWDEV-328157 - Palamida scan header remediation" into amd-staging
2022-06-21 10:25:47 -04:00
kjayapra-amd
5d385fa0e2
SWDEV-340226 - Fixing conversion to void* from size_t instead of size_t*.
...
Change-Id: Ib7e083395d4fbbe2a6f3012fce5b268e108ad62a
2022-06-21 06:28:06 -04:00
Sarbojit Sarkar
7f92a98a3c
SWDEV-331066- Added hipDeviceSetLimit
...
Change-Id: I4de099387ad34ca7c195588274b546649038e2aa
2022-06-21 06:06:05 +00:00
Jaydeep
26d8603bf3
SWDEV-332607 - If pitch returned from hipMallocPitch is equal to pitch passed to hipMemset2D then height passed to hipMemset2D must be less than or equal to height passed to hipMallocPitch.
...
Change-Id: I5f9eb55cede5dff5a9e428d41fe081f043df7049
2022-06-21 00:10:19 -04:00
Maneesh Gupta
2bd0cb523e
SWDEV-340918 - make hip_runtime.h work with g++
...
Change-Id: Ief3e6dc075837dfccae3defad7da696130ed05bd
2022-06-20 23:32:58 -04:00
Sourabh Betigeri
5ad38a32bf
SWDEV-342067 - Fixes a minor coding error to loop through all the entries in the map
...
Change-Id: I837cb4868de2acd3e71ca9a745a62ed0bb2d1400
2022-06-20 19:20:38 -04:00
Alex Xie
1d24125cf3
SWDEV-328157 - Palamida scan header remediation
...
Change-Id: Iee7798d368cc3c1c47c4b8ff483d42aec595d900
2022-06-20 17:23:15 -04:00
Ajay
7b38ee1574
SWDEV-334340 - clang_rt.lib not to search in default path
...
Change-Id: Idf493477bbf8ddde4b7754f64f44c9c5aea008a2
2022-06-19 22:54:03 -04:00
Chauncey Hui
4fe8038b7c
SWDEV-2 - Change OpenCL version number from 3474 to 3475
2022-06-18 03:00:06 -04:00
Jaydeep
1032581ded
SWDEV-336548 - Check for valid hipArray pointer in hipFreeArray
...
Change-Id: Icf0d47eeca7b5dd390a6a9c53b622b3680688ca4
2022-06-18 00:56:33 -04:00
Sourabh Betigeri
3ca4c7edf7
SWDEV-341994 - Fixes to returns the right error code to match CUDA spec for hipHostUnregister()
...
Change-Id: Ied9b5a15e841d4c201042d116b0ed535f07c17fc
2022-06-17 12:16:52 -04:00
Jaydeep
ea0590d1fe
SWDEV-332607 - If pitch returned from hipMallocPitch is equal to pitch passed to hipMemset2D then height passed to hipMemset2D must be less than or equal to height passed to hipMallocPitch.
...
Change-Id: I8d9b0938fb592170008aaec9cedd519bf40c6201
2022-06-17 10:35:22 -04:00
Rakesh Roy
42da508815
SWDEV-330455 - Avoid creating different HSA signals for ROCr
...
- In ROCr, there is supposed to be exactly one HSA signal ever whose pointer is stored in every hostcall buffer so that device code can find it
- But, hostcallListener->initDevice creates a new HSA signal everytime enableHostcalls() gets called
Change-Id: I100595ec37442bcdb73da5991062f0a474de2935
2022-06-17 05:30:57 -04:00
Chauncey Hui
3223c1b56a
SWDEV-2 - Change OpenCL version number from 3473 to 3474
2022-06-17 03:00:08 -04:00
Jaydeep
0ad84364e0
SWDEV-336542 - Return InvalidValue error for hipArrayCubemap flag.
...
Change-Id: I4ca996d7643158d5ccf8cb48ceaead3ceaf9aedf
2022-06-17 00:25:18 -04:00
Sarbojit Sarkar
356e22f910
SWDEV-325379 - Fix for remote copy crash
...
Change-Id: I22152c0b3538cf7cfc80f82505bc255c01d98f7b
2022-06-16 23:59:11 -04:00
jaypatel
8d464a2e83
SWDEV-322688 - Added hip math constants header.
...
Change-Id: I9363f82159a53c6822e943c4950fc7f6c350b326
2022-06-16 23:56:45 -04:00
German Andryeyev
73ec7bada6
SWDEV-341316 - Copy image SRD only if it's valid
...
Change-Id: I971a21fe99fd07b21cfd3dbe4e7ed33c0ea322f4
2022-06-16 09:18:04 -04:00
kjayapra-amd
5e61b9e762
SWDEV-340226 - Fixing minor issues related to hiprtc Link API changes.
...
Change-Id: I18e7ca2a467ccf14d95ffb37b5516dda74f98cf7
2022-06-16 06:06:38 -07:00
kjayapra-amd
3a78a1edcd
SWDEV-339913 - Move SingleFPDenorm under ASIC Revision from GFXIP switch case.
...
Change-Id: I7826f81bdf7cf1479882f261d495c2c287725b3c
2022-06-16 08:31:37 -04:00
Chauncey Hui
0cd8e18cb3
SWDEV-2 - Change OpenCL version number from 3472 to 3473
2022-06-16 03:00:06 -04:00
Satyanvesh Dittakavi
bf4cf3c369
SWDEV-327563 - Fix the hip runtime library name to load in hiprtc on Windows
...
Change-Id: Ib4988dd8677da907bec8e59b1b4ce3e57aad2bb7
2022-06-16 00:45:43 -04:00
Satyanvesh Dittakavi
f7d0850eb8
SWDEV-336532 - Convert Managed Memory in hipPointerGetAttributes on Nvidia platform
...
Change-Id: I3bc6180040b6ad48f06ffdc7d01ca6fd9fe32c0e
2022-06-16 00:43:15 -04:00
Jaydeep Patel
ab8583b4d5
SWDEV-338376 - Added hipMemGetAllocationGranularity, hipMemCreate and hipMemRelease for CUDA
...
Change-Id: If8c6a00958bb39752eb202c30a7960d13de225ae
2022-06-15 23:59:56 -04:00
Ranjith Ramakrishnan
8f8367fd49
SWDEV-335990 - Use GNUInstallDirs
...
GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.
Minimum cmake version updated to 3.16.8
Depends-On: I521c44dc34404b136141682c2777257b23ffa6e8
Change-Id: I2cff642c469d6d1e8bb3f1a3c151e6a03fb5d55b
2022-06-15 23:49:54 -04:00
Jaydeep Patel
a527c241a2
SWDEV-333581 - Pass free and/or total size_t as nullptr.
...
Change-Id: Ib83467a351b6df22ef641c0e82284c7e0fac32e3
2022-06-15 23:46:34 -04:00
sdashmiz
e8194dca76
SWDEV-325711 - add Graph memory APIs skeleton
...
- hipDeviceGet/SetGraphMemAttr
- hipDeviceGraphMemTrim
- there is no memory pool for graphs currently
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I11db76ea7ea1c7732175fc93264448052357e8dc
2022-06-15 14:47:16 -04:00
Sourabh Betigeri
c3db564e94
SWDEV-331301 - Fixes to return error if the childGraph topologies of instantiated childGraphNode and to-be updated childGraphNode do not match
...
Change-Id: I372317a4df13e5cd352f46525d820246fe4ca8f2
2022-06-15 13:39:15 -04:00
Jeremy Newton
112b6370a5
SWDEV-335990 - Use GNUInstallDirs
...
This is attempt two of bf4df229c9
GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.
See documentation for more information:
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
Note that libdir must be overriden to "lib" before including
GNUInstallDirs, because by default, cmake tries to detect the libdir
path, but ROCm packaging would like to use lib by default for all
targets. This does not stop the user (or distros) from overriding.
Also note this change does no take into account the changes needed to
non-cmake files, such as perl scripts, so not all paths combinations are
necessarily functional.
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com >
Change-Id: I521c44dc34404b136141682c2777257b23ffa6e8
2022-06-15 13:14:47 -04:00
haoyuan2
6937fcae3a
SWDEV-338781 - fix blender crash issue on Navi1x
...
remove incorrect control logic which caused seg fault on Navi1x
Change-Id: Ic56e8a73c53062bd86adcf57d0b66e00e21734ec
2022-06-15 10:54:57 -04:00
Chauncey Hui
f897a01278
SWDEV-2 - Change OpenCL version number from 3471 to 3472
2022-06-15 03:00:08 -04:00
Saleel Kudchadker
5df34a2f7a
SWDEV-335780 - Indicate if handler is queued
...
Maintain status of handler callback. For event records we no longer
submit callbacks to reduce the load on the async handler thread. However
without a callback we leak command memory/decrement refcounts. Indicate
status of the handler which we can use to queue a callback when
finish is called.
Change-Id: I89fd02f3d047a0e8162664ee17581a14795f1928
2022-06-14 20:55:06 -04:00
Saleel Kudchadker
1cea2c0412
SWDEV-335780 - Revert commit
...
This reverts commit f6e21144ae .
Change-Id: I589d495b448a5ecc7def9dbca3f70b033a962f45
2022-06-14 19:08:22 -04:00
Sourabh Betigeri
5549c8cd1b
SWDEV-318237 SWDEV-330173 - Fixes kernel parameter corruption when multiple nodes of the same kernelNode exist
...
Change-Id: I6437593be46b7b5afc3d77cdd887ad4139978ad3
2022-06-14 18:06:21 -04:00
haoyuan2
cfe1efd6b0
SWDEV-338564 - fix test hang issue
...
only check task finish with valid queue
Change-Id: Ib2bd1360235a07f825a09c57453ccbff7951f17f
2022-06-14 15:34:30 -04:00
Sourabh Betigeri
2f9e92757c
SWDEV-340453 - Fixes coding error. Missing condition in a negative scenario
...
Change-Id: Ic4b71e143ec883ca73a2511a367ac034444ec7de
2022-06-14 12:24:10 -04:00
German Andryeyev
4975f69337
SWDEV-339296 - Delay hidden heap allocation till the usage
...
Move hidden heap creation to the kernel launch to make sure it's
allocated on the actual first usage.
Change-Id: I1b65a82fc06d9129ed45a69765bf14ea3d945b04
2022-06-14 12:18:34 -04:00
German Andryeyev
ecea224bcf
SWDEV-259998 - Change the location of RGP init calls
...
Move StartLateDeviceInit() and FinishDeviceInit() calls in RGP
server to avoid a timeout
Change-Id: Ifd681859c7dc76259d7296aa8cc15305d563c9b2
2022-06-13 18:05:44 -04:00
sdashmiz
13c875eaf0
SWDEV-321698 - remove Memcpy1D type
...
- Memcpy1D node type is not complying with cuda
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: If8113f5e699de0c62d98effc4580a2e0fee9a950
2022-06-13 08:31:02 -04:00