Maneesh Gupta
e1802c292c
SWDEV-271416 - Keep HIP_DYNAMIC_SHARED macro for compat with existing HIP apps
...
Change-Id: I536e0c65d6e8696cbc369082350834abd710abca
[ROCm/hip commit: debceab2a8 ]
2021-02-16 00:09:48 -05:00
Rupam Chetia
03a8b74aa9
SWDEV-238517 - [dtest] Test for Multiple Target Architecture Code Object
...
Added a test to generate a code object for multiple target
architectures (including for the current device),
load and execute the kernel.
SWDEV-238517 for enhancing hip unit tests
Change-Id: I509d01124abdc0495cfc770ab5508738f108c91c
[ROCm/hip commit: 7c20d3e4e4 ]
2021-02-15 06:41:24 -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
Maneesh Gupta
800652cef7
SWDEV-269351 - Revert "Implement assert() using the new fprintf_stderr facility"
...
This reverts commit f0a9c129a0 .
Reverting since this is dependent on a device libs change which is not yet in mainline.
Change-Id: I094781b868f39995d1eecb41488c1a1a0147b787
[ROCm/hip commit: 7998429c21 ]
2021-02-12 03:46:17 -05:00
Tao Sang
3ba3339596
SWDEV-264220 - Support package install of hip-lang
...
Change-Id: Ibf34c789d6bd4278adcedba1a6e057639c258488
[ROCm/hip commit: 6ef373d02a ]
2021-02-11 15:41:54 -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
cjatin
e2d28dbe76
SWDEV-269879 - Adding function that recommends optimal thread count
...
Change-Id: I42eb94a058c1b7f9253182e16ff1c3389a836d61
[ROCm/hip commit: 7ba1a0cf72 ]
2021-02-09 13:34:08 -05:00
cjatin
cb46badf20
SWDEV-268531 - Fixing shadow varible warning seen with hip vector usage
...
Change-Id: I9e20a41e74e473b328cc173f2c27b06352128c88
[ROCm/hip commit: a12163b4e5 ]
2021-02-09 13:33:12 -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
Satyanvesh Dittakavi
f621805e46
SWDEV-269439 - Fix dtests build failure on HIP CUDA
...
Change-Id: Ibdba5d364df1bcd3b9e158e22a602dd993044d7a
[ROCm/hip commit: 4f062fa1fb ]
2021-02-08 17:09:49 -05:00
Tao Sang
285775c1b5
SWDEV-271406 - Remove unecessary hip_ext.h
...
tests/src/runtimeApi/module/hipModuleLaunchKernel.cpp doesn't
need hip_ext.h which will fail cuda building. So remove it
Change-Id: Icf5763449ccec839d9efda90ffe3a86fb53bdb85
[ROCm/hip commit: 9996ebb641 ]
2021-02-08 14:33:04 -05:00
Julia Jiang
ef396373ec
SWDEV-271416 - Remove HIP_DYNAMIC_SHARED macro in hip
...
Change-Id: I12f39ea8438eb7ce76d8ffb2151b4faa93689048
[ROCm/hip commit: 090b2829b9 ]
2021-02-08 13:17:46 -05:00
Tao Sang
138ac37a70
SWDEV-271363 - Fix undefined HIP_VERSION_GITDATE
...
HIP_VERSION_GITDATE won't be defined when git isn't
installed. This will lead to building failure of
deviceLib.hipVersion. When git isn't installed, set
HIP_VERSION_GITDATE as 0 by default.
Change-Id: Icf5763449ccec833d9efda90ffe3a86fb53bdb82
[ROCm/hip commit: 76d8ad1bf9 ]
2021-02-03 21:31:26 -05:00
Aaron En Ye Shi
f88ea1299e
SWDEV-263964 - Fix hipcc --hip-device-lib-path
...
On Windows, there may be spaces in the directory
location. Therefore, must add quotes when adding
this path with a location in C:/Program Files/.
Change-Id: I63642093092e25a2f6ed73b55a7afd16835ac736
[ROCm/hip commit: af6cc3c45f ]
2021-02-03 19:41:35 +00:00
Satyanvesh Dittakavi
e33aeea2b2
SWDEV-269440 - Fix build error in HIP-CUDA path
...
Change-Id: Icf5763449ccec333d9efda90ffe3a86fb53bdb81
[ROCm/hip commit: e2551bd15c ]
2021-02-02 05:40:31 -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
Sarbojit Sarkar
3fa56865cc
SWDEV-265469 - added constexpr constructor for dim3
...
Change-Id: I2e23a403f272d1ff0ade24fec11190d2f3244e5f
[ROCm/hip commit: 09b1eb8c9f ]
2021-01-28 13:23:51 -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
kjayapra-amd
c01ec4e507
SWDEV-270007 - Fixing the hipMemoryAllocateCoherent test binary path for hipMemoryAllocateCoherentDriver test path.
...
Change-Id: Iae5363685d10fce32ff80ac5d6bfba460dc2b574
[ROCm/hip commit: f78522c226 ]
2021-01-28 09:47:01 -05:00
Satyanvesh Dittakavi
89fec911e8
SWDEV-269784 - managed memory support for HIP CUDA
...
Change-Id: I01f9fc64573f402031eceab24395e5cbd93007f9
[ROCm/hip commit: 25cccbb60d ]
2021-01-28 07:51:52 -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
f399142b9e
SWDEV-270198 - hip-hcc cleanup remove lpl_ca
...
Change-Id: I6cae9435397e9070efb4a953c7ba8bd3dcd98c0e
[ROCm/hip commit: 83482253ec ]
2021-01-27 23:40:58 -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
Aaron En Ye Shi
7dd6fcd1ae
SWDEV-263964 - Fix hipconfig to work on Windows
...
Modify hipconfig and hipcc to properly run Windows compiler
executables. Support Windows Environmental Variables and
AMD Display Adapter info. Update flags to include quotes for
paths that have spaces, such as Program Files.
Change-Id: Ib721b318bd88be7dfa1247a30ce78c7ed6a334e8
[ROCm/hip commit: 9e47efe0e6 ]
2021-01-25 12:53:03 -05:00
Aaron En Ye Shi
fea0eaa9f0
SWDEV-263964 - Add Windows CMake find_package(hip)
...
Modify hip-config.cmake to support building on Windows
using CMake's find_package(hip). Windows CMake will work
with Ninja Generator and inheritEnvironments clang_cl_x64.
Change-Id: I03d76b5f8d695ce50ecaacb449e4eb1c1ca49700
[ROCm/hip commit: d88c50439a ]
2021-01-25 12:52:46 -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
Tao Sang
8679ca98aa
SWDEV-268757 - Disable deprecation warning
...
Disable it as it will fail rocgdb test
Change-Id: Ibf34c780d5bd4278adcedba1d6e057639c258483
[ROCm/hip commit: 30820b131e ]
2021-01-21 15:35:32 -05:00
Tao Sang
a3f2d2616f
SWDEV-257056 - Fix cyclic dependence of hip/rocclr libs
...
Solve upstream building failure due to the cyclic dependence.
Change-Id: Ibf34c789d5bd4278adcedba1d6e057639c258488
[ROCm/hip commit: 26d04e9af8 ]
2021-01-21 13:00:22 -05:00
jujiang
51bdcf1574
SWDEV-265003 - update HIP document
...
Change-Id: I1e8ec3ad380330b48d164a2ca60b0a70f7e54ae6
[ROCm/hip commit: 6084d0da2d ]
2021-01-20 16:24:20 -05:00
Satyanvesh Dittakavi
8a803a1592
SWDEV-268989 - Modify atomicAdd double to use clang builtin
...
Change-Id: If9d40046df2f3f5af7cc1bd6c935fbe7d686e7d8
[ROCm/hip commit: ecdbaf73cf ]
2021-01-20 02:39:15 -05:00
agodavar
601b7f6d7b
SWDEV-267298 - update install script to build hip-rocclr
...
Change-Id: Ia8d72ebc41184d2fc58aa4e99966ef9b71a7fc26
[ROCm/hip commit: 2e2f5a3824 ]
2021-01-19 11:50:42 -05:00
agodavar
78dd89cc17
SWDEV-268552 - HIP sample hipDispatchEnqueueRateMT segfaults, updated to use hipModuleLoadData
...
Change-Id: Ibf34c780d5bd4278adcedba1d6e057637c258485
[ROCm/hip commit: 70f2b4031b ]
2021-01-19 09:32:14 -05: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
Sameer Sahasrabuddhe
f0a9c129a0
Implement assert() using the new fprintf_stderr facility
...
The device library now provides functions to specify the host stderr
stream in a hostcall printf message. This change implements an
assert() macro which can construct such a message. The end result is
that assertions on the device are now correctly printed on the host
stderr instead of stdout.
Change-Id: I85ab8f7848bcf28303cb8dbb8a798bc6aece7d75
[ROCm/hip commit: 96be8a7b73 ]
2021-01-17 23:54:46 -05:00
David Salinas
7f580a29b0
remove extractkernel
...
Change-Id: I46a380059fa336aa7553669629a21e8aa7717e7b
[ROCm/hip commit: 5f96929cf6 ]
2021-01-15 11:34:32 -08:00
Satyanvesh Dittakavi
5c60465932
device property __HIP_ARCH_HAS_SHARED_INT64_ATOMICS__ set to 1 as it has compiler support
...
Change-Id: Ic91c4955d4f2d52d844471f81e6f0d19418018f5
[ROCm/hip commit: aaa15a7455 ]
2021-01-15 11:40:09 -05:00
DURGESH KROTTAPALLI
76eb4b7b1e
[dtest] Kernel Execution time fix for hipExtLaunchKernelGGL and hipExtModuleLaunchKernel API's
...
Fix for kernel execution time using clock rate
SWDEV-238517 for enhancing hip unit tests
Change-Id: Id06df31387ecab96f219e0c1fbcdda1609f75605
[ROCm/hip commit: 0b871a24f6 ]
2021-01-15 01:58:22 -05:00
David Salinas
e7073fc17c
add new code object tooling: roc-obj-ls and roc-obj-extract
...
SWDEV-229776
Change-Id: Icb11c4552515d3eff3bcf303c4a470ab90d1dd58
[ROCm/hip commit: cb859b7263 ]
2021-01-14 14:45:46 -05:00
Tao Sang
118c6ba23e
Fix building mathlibs failure
...
Add back
__HIP_PLATFORM_HCC__
__HIP_PLATFORM_NVCC__
Change-Id: I1ae48678eafd849d6c25bcb204c1724b026be22f
[ROCm/hip commit: 59ef7dc9e2 ]
2021-01-14 14:03:15 -05: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
jujiang
8ba058e51e
SWDEV-265003-Update HIP documents
...
Change-Id: I3aea36f9a817ff0d2a379fc902b1ba7794f9736e
[ROCm/hip commit: e3ec98f6e2 ]
2021-01-13 17:55:16 -05:00