Chauncey Hui
ad9300b47b
SWDEV-2 - Change OpenCL version number from 3470 to 3471
2022-06-11 03:00:05 -04:00
Christophe Paquot
faa7ee48ba
SWDEV-322620 - Virtual Memory Management
...
Implements hipMemRetainAllocationHandle
HIP layer updates the svmPtr of the amd::memory
ROCCLR just manages the MemObjMap
This is because HIP knows the orignal (generic) address of the
physical memory whereas ROCCLR doesn't keep track of that
Change-Id: Ied26d7f814bc468f5cf586c967020737b9aa9e9f
2022-06-10 17:48:07 -04:00
agunashe
9e7b44511a
SWDEV-337331 - Windows graph fixes iteration2
...
API fixed hipGraphAddDependencies
Change-Id: I1248c00d788c392c71e64c5070fe09653125bb34
2022-06-10 16:42:54 -04:00
sdashmiz
8d93ff521f
SWDEV-334857 - hipModuleGetTexRef compatibilty issue
...
- make the defualt texref value compatible with cuda
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I2ae980e435f3b0fc15b237741e3f2b97c4257e12
2022-06-10 15:13:29 -04:00
Ajay
de026633c0
SWDEV-327563 - support hipStreamWrite32/64 and hipStreamWait32/64 funcs
...
Windows complains about undefined symbol for
hipStreamWrite32/64 and hipStreamWait32/64 -
commit hash 08435a972b
Change-Id: I48b9a6591cab3a05baaedbc26030914dd930fb68
2022-06-09 20:59:46 -04:00
Ajay
c06bfa6bef
SWDEV-337331 - graph feature on Windows
...
Fixes for hipGraphInstantiate OutofMemory issue and
soft hang of hipStreamSynchronize.
Change-Id: Ic2bb97582c5978ef2e4eb3a1b124483aa412838e
2022-06-09 12:04:51 -04:00
sdashmiz
efd2d55e9d
SWDEV-318833 - Get and Set attribute for kernel nodes
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Ie51aa4b56661cbb8c5b4eb1dbaad327377084ffb
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
2022-06-09 09:47:05 -04:00
Aakash Sudhanwa
43c650cf48
Revert "SWDEV-335990 - Use GNUInstallDirs"
...
This reverts commit bf4df229c9 .
Reason for revert: <Breaking all the staging builds. this is breaking components which are using find_package(HIP)>
Change-Id: Ic7340fb461a5efdd170a0988731e0885538a11d6
2022-06-07 18:18:06 -04:00
Satyanvesh Dittakavi
3bdc72d6ca
SWDEV-327030 - Fix incorrect checks to find components in CMake
...
Change-Id: Ib7b9bd82255af897a0f82bba8049c7d41379ae96
2022-06-07 04:41:52 -04:00
Jeremy Newton
bf4df229c9
SWDEV-335990 - Use GNUInstallDirs
...
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: Iae80f47c47ea0a74fc1c221b6eea82b557601394
2022-06-06 23:43:05 -04:00
Christophe Paquot
905088e4e7
SWDEV-322620 - Virtual Memory Management
...
Introducing a VirtualMemObj map as it is needed to differentiate
between virtual address ranges and actual physical memory
This is because a whole VA range can have several physical memories
as chunks.
Change-Id: Ie2a972b4faf3f7d552cfa53e77898f80ad75740a
2022-06-06 11:32:22 -07:00
Todd tiantuo Li
ed40c24fa3
SWDEV-339551 - Prevent ICD from loading outdated amdocl binary
...
1.Keep track of library name in KHRicdVendorRec
2.Check if library with the same name has already been loaded before adding it in ICD list
CL#1760530
Change-Id: I1e0356422c71963788b76019b0d8db5b8542f9ee
2022-06-06 05:42:19 -07:00
Cordell Bloor
7fdb3d3c97
Merge "SWDEV-337169 - Fix CRLF in oclperf.exclude" into amd-staging
2022-06-02 14:59:52 -04:00
Chauncey Hui
58aaa8472e
SWDEV-2 - Change OpenCL version number from 3469 to 3470
2022-06-01 03:00:07 -04:00
Rakesh Roy
e2874d5e22
SWDEV-337776 - Fix hipStreamEndCapture API
...
- Return hipErrorInvalidValue when pGraph is nullptr
Change-Id: I8846f4448eb15117f98421632885330f132c4fce
2022-06-01 00:20:23 -04:00
Sourabh Betigeri
5a057af564
SWDEV-320640 - Fixes to return right error codes in hipStreamUpdateCaptureDependencies() for negative scenarios
...
Change-Id: I3c4c54f8955fa9bb17eb595544005fe9f0e8a5f0
2022-05-31 14:09:22 -04:00
pghafari
8e28413a9e
SWDEV-337703 - nullptr check for hipMallocArray
...
Change-Id: I3b1077e236ccda346d337109014ef7fd2e693ec6
2022-05-31 11:19:59 -04:00
neqochan
ebfa343827
SWDEV-1 - Fix illegal atomic initialization
...
See https://stackoverflow.com/a/21710850 for an extensive discussion.
This is a cherry-pick from a github pull request:
https://github.com/ROCm-Developer-Tools/ROCclr/pull/29
Change-Id: I87a58548d2995ab51a7cd6e684b5442e5b300923
2022-05-31 09:51:44 -04:00
pghafari
2870b7ddd5
SWDEV-336550 - added nullptr check for svm
...
Change-Id: Icfd7dab1c7818958108385261542526d4545721d
2022-05-30 16:58:45 -04:00
kjayapra-amd
84f94fd134
SWDEV-290384 - Add Linker API support in hiprtc
...
Change-Id: I4621a033a22e4da0201c3804e2b357470a681ab0
2022-05-24 09:16:14 -04:00
Chauncey Hui
5f0b129e26
SWDEV-2 - Change OpenCL version number from 3468 to 3469
2022-05-21 03:00:05 -04:00
German Andryeyev
830898753d
SWDEV-336024 - Clear device heap to 0 in ROCr path
...
Change-Id: Id100ca6d6d5bd7fb16ca8c98ff0b12c9df1d69ab
2022-05-20 11:51:08 -04:00
Chauncey Hui
4aee5e21fb
SWDEV-2 - Change OpenCL version number from 3467 to 3468
2022-05-20 03:00:10 -04:00
German Andryeyev
07c1b9a998
SWDEV-336024 - Clear device heap to 0
...
This reverts commit 04bfd93569 .
Reason for revert: Fix regressions
Change-Id: I7d883e1c3cbd27bb64b581ec800243ad7dfe24fd
2022-05-19 09:10:08 -04:00
Jason Tang
c7000b4f6f
SWDEV-1 - Remove unused code.
...
To fix Linux hsail build error.
Change-Id: I4cab060e0e8cefb4215cefa61b840a94d51748a4
2022-05-19 08:54:15 -04:00
Maneesh Gupta
176acb9315
SWDEV-324128 - Fix typo in packaging cmake
...
Fixes typo introduced by a01b481e45
Change-Id: I6c9a3fa31df14262f26d1339d3661248fa43eefb
2022-05-19 09:32:42 +00:00
Chauncey Hui
0ed1a369fe
SWDEV-2 - Change OpenCL version number from 3466 to 3467
2022-05-19 03:00:05 -04:00
Sarbojit Sarkar
51a00aeefe
SWDEV-331066 - support for LimitStackSize
...
Change-Id: Ie6ae74f008b4f72de83663194aafb0ebdddfc8b6
2022-05-19 00:24:06 -04:00
Rakesh Roy
01a5ddebe6
SWDEV-337119 - Validate width isn't exceeding either dpitch or spitch in
...
ihipMemcpy2D
Change-Id: I8ac68e033762616a42585b26f0b3aa5bbb29ce9c
2022-05-18 23:25:14 +05:30
Satyanvesh Dittakavi
8dfa7e7f98
SWDEV-334908 - Guard the __noinline__ macro as it is also supported as keyword by clang
...
Change-Id: I314b3ac463ea63132a5107f4f24ce769d8112b9b
2022-05-18 05:51:32 -04:00
Chauncey Hui
ef041e81b1
SWDEV-2 - Change OpenCL version number from 3465 to 3466
2022-05-18 03:00:06 -04:00
pghafari
bb9e52ab9f
SWDEV-336576 - updated graph check
...
hipGraphExecMemcpyNodeSetParamsFromSymbo was not working in functional
case
Change-Id: I2ad04f6f91519efa075c36fe737a695fa1bc127a
2022-05-17 17:36:10 -04:00
Christophe Paquot
60656d9fc9
SWDEV-322620 - Virtual Memory Management
...
Report virtual memory management support.
Change-Id: I448a66c86ab1b2d28f6052e8896ea505e56eb2d2
2022-05-17 16:24:53 -04:00
German Andryeyev
f0309be0de
SWDEV-334315 - Correct instruction timing API info
...
Change-Id: I9d291adac076d36776dc7316b411bd093230ca01
2022-05-17 10:17:07 -04:00
Todd tiantuo Li
f34c0c2f82
Merge "SWDEV-315047 - add Raphael(gfx1036) to OCLDeviceQueries" into amd-staging
2022-05-17 05:41:49 -04:00
Chauncey Hui
8d8dc60fb9
SWDEV-2 - Change OpenCL version number from 3464 to 3465
2022-05-17 03:00:12 -04:00
German Andryeyev
893b719181
SWDEV-331660 - Switch PAL interface to 734
...
Update clientApiId field in PlatformCreateInfo
Change-Id: I445b9712a4c0da9f32e86df8b4a1b8dd7365b11b
2022-05-16 22:58:50 -04:00
German Andryeyev
2f04eb90d3
SWDEV-336024 - Add a check for nullptr in HeapBuffer()
...
Change-Id: Ib8a3f2757c8600c4bd5bed417b230a60d4cf3d42
2022-05-16 09:41:47 -04:00
Satyanvesh Dittakavi
8a333a989b
SWDEV-332606 - SWDEV-333585 - Fix hipMemcpySymbol* and hipGetSymbol* APIs
...
This also fixes the QMCPack staging (SWDEV-335826) test failures related
to hipMemcpyToSymbol
Change-Id: Icc3ff04fb1e17999f5bddf12e1a7266e2289032f
2022-05-16 04:27:02 -04:00
Cordell Bloor
1f5f4271ae
SWDEV-337169 - Fix CRLF in oclperf.exclude
...
Renormalized line endings in tests/ocltst/module/perf/oclperf.exclude
to fix the Debian packaging problems reported in
https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/140
Change-Id: I4fdc7c52e60078ec6048678679acdc5d5e5b715b
Signed-off-by: Cordell Bloor <Cordell.Bloor@amd.com >
2022-05-15 19:06:22 -06:00
Chauncey Hui
f41f227a33
SWDEV-2 - Change OpenCL version number from 3463 to 3464
2022-05-13 03:00:08 -04:00
Tao Sang
4561a207dd
SWDEV-319818 - Revert change on hipResourceViewDesc
...
Revert part of
http://gerrit-git.amd.com/c/compute/ec/hipamd/+/675588
Change-Id: Iee9dac9f8c50aa9b6a12ca9d8fd792a51973b8cd
2022-05-12 12:14:13 -04:00
German Andryeyev
b39dfabb58
SWDEV-334315 - Update PAL version and provide API info for RGP
...
Change-Id: Ied448aada09deabcf26c402a342bdfbd79f22d7b
2022-05-12 09:30:19 -04:00
Satyanvesh Dittakavi
f6e21144ae
SWDEV-335780 - Address OOM issue with BERT MLPerf
...
Memory free was not happening due to no flush
Change-Id: Iee9d2c9f8c50aa9b6012ca9d8fd792a51973b8c8
2022-05-11 13:03:32 -04:00
German Andryeyev
8b132beb92
SWDEV-311271 - Enable MGPU support for memory pool
...
Change-Id: I36850de282d62139b5cfe342df97bb1204cb7869
2022-05-11 11:04:24 -04:00
German Andryeyev
04bfd93569
SWDEV-336024 - Clear device heap to 0
...
The heap must be cleared once per device, but ROCclr doesn't
create a queue per device in HIP. Hence, the clear operation will
be performed during the first queue creation.
Change-Id: I52ceb06d67d11cde6d019c5ab510059f426a9bfb
2022-05-11 11:03:56 -04:00
Chauncey Hui
6c458c7534
SWDEV-2 - Change OpenCL version number from 3462 to 3463
2022-05-11 03:00:08 -04:00
Tao Sang
a19b767e8a
SWDEV-319818 - Release restriction on hipResourceViewDesc
...
Let more types support hipResourceViewDesc.
Add missing symbols to fix cuda build failing.
Change-Id: Ife694cc6491427093863252e257e820b0bb4fa0f
2022-05-10 15:57:31 -04:00
Jeremy Newton
d04938a6ad
SWDEV-336248 - Use public icd header
...
HIP uses icd_dispatch.h, which is not a public header. Using the public
CL/cl_icd.h removes inclusion of the private header.
This allows compiling HIP without relying on OCL ICD source, which makes
distributing a standalone ROCclr easier.
For WIN32, a few other headers are required.
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com >
Change-Id: I0cab173b9753c5b0ab3be9222aa8bb0545cdeaab
2022-05-10 13:46:08 -04:00
Sourabh Betigeri
5fa514fea0
SWDEV-329829 - Fixes to return right error codes for respective negative scenarios
...
Change-Id: Icb615a336bb846df1cf2811316d88a0e88381da8
2022-05-10 12:56:20 -04:00