German Andryeyev
94afcd643c
SWDEV-272496 - Delay enqueue until callback setup
...
With direct dispatch enqueue occurs before callback update and
it can't be tracked in the device backend
Change-Id: Ie8793e3ddb68cc5bb36348f7a8dcdbdc87a2487c
[ROCm/hip commit: ffc89dff8a ]
2021-03-03 13:14:28 -05:00
Ravi C Akkenapally
3d9b4cc2c2
SWDEV-179105 - Stream Operations: Add swqupport for Wait and Write
...
Change-Id: I9d6d0665d12b62fe705ce1569a0e8264a4f23ab7
[ROCm/hip commit: e89b228eac ]
2021-03-02 12:15:46 -08:00
Tao Sang
ec1f689600
SWDEV-270973 - Add missing copyright headers
...
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
[ROCm/hip commit: b504a9bfae ]
2021-03-01 19:46:24 -05:00
Jatin Chaudhary
1b8f29fe75
SWDEV-272361 - Dont call memcpy2d if width is 0 or height or depth is 0
...
Change-Id: I22324a536d2a5e68b9fc3e5ee4ad821b49021a17
[ROCm/hip commit: 6288e68175 ]
2021-03-01 14:34:58 -05:00
cjatin
201d7951de
SWDEV-271274 - Changing DevLogPrintf to LogPrintf for cases where error condition is being returned
...
Change-Id: I153d071f7859e9412ea0c69f53c53d190453d73d
[ROCm/hip commit: 23f33d5f20 ]
2021-03-01 14:33:46 -05:00
Ashutosh Mishra
d5110c4be8
SWDEV-271126 - Memory obtained from getDeviceMEmory can be NULL
...
which can cause segmentation faults. Hence checking for its sanity
Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com >
Change-Id: I78b4d029f0926a1369a8ebbeb4aef951a8f1f1d7
[ROCm/hip commit: abff21c4fc ]
2021-02-26 23:29:53 -05:00
Payam
47f9bbf197
SWDEV-273405 - updated roctracer path to use env var
...
Change-Id: I9ec74c475161a3e310f57d193449023e921f2922
[ROCm/hip commit: c77caa3fbf ]
2021-02-26 14:51:26 -05:00
cjatin
5d57a2e661
SWDEV-273859 - Add --hip-version to comgr call
...
Change-Id: Iae6c1a5e958a73f5d9849c13c8b49eede914e25e
[ROCm/hip commit: b74de31f2a ]
2021-02-24 23:41:34 -05:00
Arya.Rafii
ad0b9c80f2
SWDEV-269246 - Fixed null-case logic for hipCtxPopCurrent
...
Change-Id: Ic173980caccde8afee85a75c55a5d536f421549e
[ROCm/hip commit: 76abab2f24 ]
2021-02-24 13:20:24 -05:00
kjayapra-amd
54e273fa87
SWDEV-274058 - Porting HIP, ROCclr gfx90a changes to mainline.
...
Change-Id: I02f53d4c7897d26243620cfc961fa9bd984cede4
[ROCm/hip commit: 848b7e3ec0 ]
2021-02-24 09:55:43 -05:00
German Andryeyev
cfb9ba9ffe
SWDEV-272496 - Add marker if notification was the last command.
...
If MT is enabled, then a new callback can be received before the previous
command is processed, causing a conflict of 2 callbacks.
Change-Id: I5ff8f231208e8d62824d590d3c8e791e8e36affb
[ROCm/hip commit: 56154e33dc ]
2021-02-23 13:12:06 -05:00
Vladislav Sytchenko
a90d0a40f6
SWDEV-255979 - Fix Windows build
...
Change-Id: I1f1375911d90ded9043a4716e7d09a3ca6a33c23
[ROCm/hip commit: fa169b129b ]
2021-02-19 11:31:52 -05:00
agodavar
39c608e98d
SWDEV-255979 - Added support of __managed__ static variable
...
Change-Id: I9d5cbbecc8c19ec38a95c94ab4130465ba76c102
[ROCm/hip commit: 995e6336c6 ]
2021-02-17 13:01:29 -05:00
Satyanvesh Dittakavi
db0c3fdaaf
SWDEV-272543 - Fix hipDeviceGetP2PAttribute when both devices are same
...
Change-Id: I3db17a962807565ea134e3cbcefa66d373e2d363
[ROCm/hip commit: 0d7cd231e8 ]
2021-02-17 12:41:59 -05:00
Rahul Garg
10a61380dd
SWDEV-271182 - Fix HdpMemFlushCntl and HdpMemFlushCntl
...
Change-Id: I33e5a677c6c6e1d83e6343f8e3690d7b34fe2af5
[ROCm/hip commit: 72e7826adf ]
2021-02-12 14:38:56 -05:00
Sarbojit Sarkar
4500383ffb
SWDEV-270630 - Added missing nullcheck
...
Change-Id: I7caf26c59c4660e26b4159da35731c2ce1600819
[ROCm/hip commit: 5e7ee214ec ]
2021-02-12 13:29:30 -05:00
Sarbojit Sarkar
f846f05f3c
SWDEV-271496 - Added missing params check
...
Change-Id: I17bbf5ed445826e7380df22fa5c6ec1675e208d6
[ROCm/hip commit: 751578a37e ]
2021-02-12 13:28:12 -05:00
Vladislav Sytchenko
910366cc49
SWDEV-252745 - Guard PCH code behind __HIP_ENABLE_PCH macro
...
Change-Id: I12425b9d44b3d92f9cacceb797a5d09d99e4156b
[ROCm/hip commit: eb00f70bf3 ]
2021-02-10 09:23:41 -08:00
Zack Galbreath
17ca4ca8dc
SWDEV-264220 - Provide CMake hip language configuration information
...
This provides the required information for CMake to bootstrap
HIP language and runtime support. In particular this file
is consumed by CMake during HIP compiler detection to
determine the required flags needed for compilation and
linking.
Initial design was discussed in #2158
Add copyright / license header
Change-Id: I10acb860bf6291b2deb6b678e6e916faa7c82c2a
[ROCm/hip commit: 8c90ab196b ]
2021-02-10 08:26:35 -05:00
cjatin
68e3162151
SWDEV-252745 - Adding rtc options transformer
...
Change-Id: Ib250689906a35f81255398e53da979774361dbfa
[ROCm/hip commit: 4681e124f6 ]
2021-02-09 13:35:30 -05:00
agodavar
ac394a834b
SWDEV-271096 - Handle depth zero in hipMalloc3D
...
Change-Id: I0ef0cc825e20b3480e9e5476e09dde5f73cdd3ea
[ROCm/hip commit: c149c88fa1 ]
2021-02-09 08:39:44 -05:00
Jatin Chaudhary
24f12bbd85
SWDEV-271274 - Remove hip init call from hipUnregisterBinary, this call ends up initializing rocclr and hsa even when there is no hip call in the entire file
...
Change-Id: I20c1d3079c6032d79c5b892d5616921f7aeb4fe2
[ROCm/hip commit: 1770e8a160 ]
2021-02-09 07:59:32 -05:00
agodavar
e3d44c8508
SWDEV-269085 - Add support for build with ADDRESS_SANITIZER
...
Change-Id: I102cbe197727ec059d3dc9fae3a41bb559b0dff1
[ROCm/hip commit: e236ae7ea5 ]
2021-01-29 01:54:43 -05:00
Vladislav Sytchenko
e7b6c05a3c
SWDEV-1 - Fix Windows build
...
Change-Id: I20c727a8718941694da6dc024efdfd1eb6af828b
[ROCm/hip commit: ff4b9ab9bc ]
2021-01-28 10:22:25 -05:00
agodavar
83957f599e
SWDEV-269400 - handle nullptr in hipFuncGetAttributes and blockSizeLimit<0 in hipModuleOccupancyMaxPotentialBlockSize
...
Change-Id: Ia1c6e5713f40876b4a9c7a1c56b7b3a589c4497a
[ROCm/hip commit: 464cad2751 ]
2021-01-27 23:41:31 -05:00
agodavar
637cefb59f
SWDEV-268552 - HIP sample segfaults during hipModuleLoad, fix mmap bug
...
Change-Id: I51c6061e7ac6b2524586d96fdd69b9f084b1906a
[ROCm/hip commit: aac12d1bd9 ]
2021-01-27 23:39:50 -05:00
Rahul Garg
7b8be62de8
SWDEV-270166 - Remove Linux specific includes
...
Change-Id: I929285941f28941cb41718f9fb8f618d11f1a69b
[ROCm/hip commit: 2314fe2e3a ]
2021-01-27 12:10:37 -05:00
agodavar
92e447686a
SWDEV-267154 - Add checks for grid and block dimensions 0
...
Change-Id: I54799c0a4a42a91f6226f94a1e3ff7bc79046a98
[ROCm/hip commit: 8610e93f39 ]
2021-01-27 00:32:31 -05:00
Vladislav Sytchenko
df171e476f
SWDEV-1 - Fix Windows build
...
Change-Id: I144142b2b31785fe7b1d319fb7e88eb2b41099ac
[ROCm/hip commit: 33d019a800 ]
2021-01-26 15:51:57 -05:00
Joseph Greathouse
d64749035a
SWDEV-269756 - Add missing Cooperative Groups error string
...
Change-Id: I1833f8bb4b48b19bb3d6cac57dda429231cf3562
[ROCm/hip commit: b52392f6ee ]
2021-01-22 15:48:18 -06:00
Tony Tye
8da2326f6f
SWDEV-268864 - Use new isa class to access isa related information (part 2)
...
Change-Id: If7ed535b3012aec3f2cb4eb7ab93d8f5aed9783f
[ROCm/hip commit: 040bc455d4 ]
2021-01-19 03:36:22 +00:00
Tony Tye
03867f738e
SWDEV-268864 - Use new isa class to access isa related information
...
Change-Id: I2122bf85155997d802ca54e456c2dae66b801825
[ROCm/hip commit: c45b74c9de ]
2021-01-18 22:31:01 +00:00
Tony Tye
bca5187787
Use ROCclr Info.targetId_
...
Use Info.targetId_ instead of Info.name_ so it will work on Windows
PAL driver and ROCm.
Change-Id: I20537899c36c0ee330a4c09136a52e53d9f35e0d
[ROCm/hip commit: 28e60ec942 ]
2021-01-14 05:17:20 +00:00
Rahul Garg
8c0ea0d8a3
Add IPC Events support
...
Change-Id: Iac2bf3d5e1d9a993bebbb066c20d300d6f05558b
[ROCm/hip commit: c307baf3da ]
2021-01-08 20:09:26 +00:00
Tao Sang
2820f91c90
Remove hip-hcc codes: Part four
...
Remove __HCC__, __HCC_ONLY__, __HCC_CPP__, __HCC_C__,
__HCC_OR_HIP_CLANG__, __HIP_ROCclr__ and their guarded codes.
Remove Hcc codes from directed_tests and samples.
Remove __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__ from
some files where they are not necessary.
Add deprecation notice.
Change-Id: I1ae467eafd749d6c25bca204c1724b026be21fce
[ROCm/hip commit: b34dd95124 ]
2021-01-08 10:53:34 -05:00
agodavar
add7f87881
SWDEV-245381: Updated guarantee error messages to print based on BUILD_TYPE
...
Change-Id: Ifafbc075d6b9860da040c72859127c4e638a786f
[ROCm/hip commit: 387d0aa829 ]
2021-01-05 23:29:50 -05:00
Tao Sang
c618b6aeff
Remove hip-hcc codes: Part three
...
1.Rename include/hip/hcc_detail/ as include/hip/amd_detail/
2.Rename include/hip/nvcc_detail/ as include/hip/nvidia_detail/
3.Create __HIP_PLATFORM_AMD__ to replace __HIP_PLATFORM_HCC__
4.Create __HIP_PLATFORM_NVIDIA__ to replace __HIP_PLATFORM_NVCC__
After hcc_detail, nvcc_detail, __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__
have been removed from upstream, they will be removed from hip runtime.
Change-Id: I1ae457effd739d6c25bca203c1724b026be21fce
[ROCm/hip commit: c2adc70d4d ]
2021-01-05 10:39:31 -05:00
Satyanvesh Dittakavi
5461aac249
SWDEV-263678 - fix rocHPCG mgpu perf drop
...
Change-Id: I33269fe4f6165d1ed172b19033ab9fcb92f338c3
[ROCm/hip commit: 57dfaab032 ]
2021-01-05 00:22:12 -05:00
cjatin
80d151d03b
Add ELF Flags moved from rocclr
...
Change-Id: I5febe7bdca80517e9f9492d7930def72db83c14e
[ROCm/hip commit: b96cc0f4c7 ]
2021-01-04 13:43:16 -05:00
Sarbojit Sarkar
c97cd36663
Revert "Fix hipmemset to match CUDA behavior"
...
This reverts commit f57da595ff .
Change-Id: I53052b25bac4956f3efd124eadc936197f2e466a
[ROCm/hip commit: 36a6baf829 ]
2021-01-01 00:11:58 -05:00
agodavar
60998172fb
hipmemcpy2D handle height 0
...
Change-Id: I46bf89e81559c3bfccac0dd0ccd78eee9058c7e3
[ROCm/hip commit: d21cabd890 ]
2020-12-31 01:41:56 -05:00
agodavar
ccf9c1c482
SWDEV-266089: hipStreamAddCallback argument validation
...
Change-Id: I3e61006796e88b4e2ba029118c95f3499959257b
[ROCm/hip commit: 2a4568d416 ]
2020-12-29 05:42:54 -05:00
agodavar
5ae2e9926d
SWDEV-263180 : Fix null ptr dereference
...
Change-Id: Iefc9fa3f195af45a5c5ebe075056246c930a6d84
[ROCm/hip commit: c1dedbd3a0 ]
2020-12-19 02:02:54 -05:00
Rahul Garg
f57da595ff
Fix hipmemset to match CUDA behavior
...
Make hipMemset asynchronous with respect to the host unless
destination pointer refers to pinned host memory.
Change-Id: I5ba230e0cc622aa076dc94692a4c43a57dd2df7b
[ROCm/hip commit: 08f827b28b ]
2020-12-17 19:13:31 +00:00
Evgeny
4156100aee
SWDEV-259683 : hipprof: adding hipApiIdByName() method
...
Change-Id: I1ad2be76efc9fb690ed7c9c2b1091f7eb0c04a31
[ROCm/hip commit: d4df2e880d ]
2020-12-15 15:42:10 -05:00
Satyanvesh Dittakavi
cc8d3a3188
SWDEV-258754 Fix seg fault hipMemset with device pointer mapped from hipHostRegister
...
Change-Id: Ifab66b67df172812ebb6eb25c2bac71821f4d614
[ROCm/hip commit: 5b10098da9 ]
2020-12-15 07:44:34 -05:00
Satyanvesh Dittakavi
390615cc60
Fix hipPointerGetAttributes
...
Modified hipPointerGetAttributes to support hipHostRegister ptrs and mapped device ptrs from hipHostRegister
Change-Id: I2f4cf12e09578768308f644123d6d4bdccbd77a8
[ROCm/hip commit: a7b5347c90 ]
2020-12-15 01:40:24 -05:00
Sarbojit Sarkar
4ff1982a97
Updated review comment
...
Change-Id: Ic7f9f33dd23c975f2a7a0f0d485a3d2a457c62bb
[ROCm/hip commit: 7c3b1cca22 ]
2020-12-13 11:30:28 -05:00
Tao Sang
544f512353
Some improvements on hip cmake file
...
1.Fix unexpected repeated hip runtime lib building
2.Seperate test cmake from top cmake.
Change-Id: I1ae457effd639d6c25bca293c1724b026be21ecd
[ROCm/hip commit: d074c2491f ]
2020-12-11 13:32:15 -05:00
Rahul Garg
a2539f0342
Handle overflow
...
Fixes SWDEV-261712
Change-Id: I730fcdca8c2640fde9cfdfe2f4b4cf4894807fed
[ROCm/hip commit: 15ecdcf084 ]
2020-12-09 19:09:43 -05:00