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
Todd tiantuo Li
6c4ab575ca
SWDEV-315047 - add Raphael(gfx1036) to OCLDeviceQueries
...
Change-Id: Iaa930c5ea9e39f9c44b1a5d737fc3520e9b6eca8
2022-05-10 02:37:42 -07:00
Christophe Paquot
b4645c7d4e
SWDEV-322620 - Virtual Memory Management
...
Add a virtualMemoryManagement_ flag to device.info.
Change-Id: Iabd039010d83fc51b4bcef600c609f5c65e7b1ae
2022-05-09 22:54:42 -07:00
Rakesh Roy
84c46047e5
Revert "SWDEV-332606 - SWDEV-333585 - Fix hipMemcpySymbol* and hipGetSymbol* APIs"
...
This reverts commit f1fb612774 due to QMCPack test failure (SWDEV-335826)
Change-Id: I40397b345aa60f43afc17853bc72426daf385cf7
2022-05-10 11:20:36 +05:30
Alex Xie
aa8a31b1d8
SWDEV-328156 - Palamida scan remediation
...
Change-Id: I7e2ae4afea117630cfc43d2cd0f0fd6d98fe4f58
2022-05-09 19:24:09 -04:00
Jeremy Newton
e9dd848149
SWDEV-336248 - Don't exclude cl_egl.h from install
...
cl_icd.h includes cl_egl.h, but cl_egl.h is excluded from install. It
was reported by the community that including cl_icd.h would error due to
the missing cl_egl.h file.
I'm assuming that cl_egl.h was excluded because EGL isn't important for
ROCm. Since cl_icd.h has some important typedefs, it makes sense just
to include cl_egl.h, which seems to be a common practice in open source
projects.
Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com >
Change-Id: I506257c2dc51512ec8e11b1e5dadbe6e48ad785b
2022-05-09 14:33:00 -04:00
Cordell Bloor
9c450d6f66
SWDEV-335902 - Fix HIP when Git info unavailable
...
Prior to this change, when Git_FOUND was false, HIP_VERSION_BUILD_ID
would be undefined in the CMake code. The value of HIP_VERSION_BUILD_ID
in <hip/hip_version.h> is taken from the CMake variable, so it was being
defined as nothing in those cases. That would cause compilation failures,
as src/hip_global.cpp contains the function:
size_t amd_dbgapi_get_build_id() {
return HIP_VERSION_BUILD_ID;
}
which would become
size_t amd_dbgapi_get_build_id() {
return ;
}
after preprocessing. To prevent this, we can define the version
information to a default value when Git is not found.
A related problem was reported by Harmen Stoppels in
https://github.com/ROCm-Developer-Tools/HIP/pull/2218 . When Git
is not available (or if the library is being built from a tarball),
the HIP_VERSION_GITHASH is not defined. This causes trouble because
HIP_LIB_VERSION_STRING is defined as "X.Y.Z-${HIP_VERSION_GITHASH}"
and therefore becomes "X.Y.Z-".
The incomplete version string becomes a problem when it is appended
to the shared library file name. File names that end with '-' confuse
the linker. They cause strange errors when attempting to link to the
HIP library. This problem can be prevented by dropping the trailing
dash and using "X.Y.Z" as the version string when HIP_VERSION_GITHASH
is not defined.
Change-Id: I6e290c1f1b603ba30c9ded885e125d9ca9a2e688
Signed-off-by: Cordell Bloor <Cordell.Bloor@amd.com >
2022-05-09 13:44:09 -04:00
Rakesh Roy
4e86d538e5
SWDEV-333598 - Use flags field of amd::Memory UserData for hip flags
...
Change-Id: I492c7fe54dba4380fcc53eed1df36bf5ac0af852
2022-05-06 13:42:19 +05:30
Chauncey Hui
61895fb39b
SWDEV-2 - Change OpenCL version number from 3461 to 3462
2022-05-06 03:00:04 -04:00
Rakesh Roy
ac2c3b5cad
SWDEV-333598 - Add flags field in amd::Memory UserData
...
Change-Id: Ie4d59fa34486679fde1027dd113573bda3e7c65c
2022-05-05 12:24:53 -04:00
Chauncey Hui
04b860a20e
SWDEV-2 - Change OpenCL version number from 3460 to 3461
2022-05-05 03:00:05 -04:00
Ajay
88163bd884
SWDEV-334340 - clangRTlib detection in windows sample
...
Change-Id: I2bc65d32a7e8a9b31982f21a6b74e3f0a1e01688
2022-05-04 20:49:20 +00:00
kjayapra-amd
643ee46f28
SWDEV-331355 - Fixing the surface object on fillMemory function call.
...
Change-Id: Ieaa359ea8f31b0251d54b720469cdefde202579f
2022-05-04 14:24:03 -04:00
Alex Xie
0d29a523d3
SWDEV-333966 - [Lnx]image test fail
...
OCLCreateImage test passed when the image was not supported at all.
Add a warning.
For ASIC without image support, let the test pass.
Change-Id: I13c015561a51879f052c2c2d56c672ffbdbe0641
2022-05-03 12:47:26 -04:00