Tao Sang
d8e8f2c833
Make directed_test support static libs
...
1.Make directed_test apps linked against static libs
of hip, rocclr, rocr, roct and amd_comgr.
2.Remove custom_target amdhip64_static_combiner.
3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
4.Simplify argument list parsing.
5.Install rocclr when rocm is installed.
6.Fix some original small bugs.
Revert "Revert "Make directed_test support static libs""
This reverts commit f1cc6bef64 .
Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702
[ROCm/clr commit: 6db4976759 ]
2020-10-26 12:39:58 -04:00
Sourabh Betigeri
19f45f83f3
SWDEV-251091: Added null checks and empty file check in hip_module and hip_platform
...
Change-Id: Iad99f996dcf90ffb86f62e79bf4cbd53b35b7e3b
[ROCm/clr commit: b65314d168 ]
2020-10-20 19:55:01 -04:00
kjayapra-amd
16b7ecf4ec
SWDEV-250005 - Fixing error code propagation to HIP outer layer.
...
Change-Id: I0c0e87dbace0b1182f24411200abdfd9cab3f865
[ROCm/clr commit: c18a791c80 ]
2020-10-20 09:43:57 -04:00
Sarbojit Sarkar
a5f78cf686
SWDEV-256325 : Fix for hipMemset2D crash
...
Change-Id: I1f434602fecd4fb935d2bc72f2c72d6a2d4c45fe
[ROCm/clr commit: a73d1a1fe0 ]
2020-10-20 02:54:29 -04:00
Rahul Garg
e7e9d74c79
Fix PCI bus domain ID query
...
SWDEV-256338
Change-Id: I5db361bd2899a5bf761ecf05ecd4635f9e3dce1d
[ROCm/clr commit: 4b7c8f5fc1 ]
2020-10-19 12:02:50 -04:00
Rahul Garg
b5abdead82
Fix maxTexture1D query
...
Needed by SWDEV-254068
Change-Id: Ib43a3e5e96d3882af354208063e5502673c0f35a
[ROCm/clr commit: cc1101f97a ]
2020-10-14 17:32:04 -04:00
agodavar
bf65eead59
SWDEV-249870: Short-Term solution for Pre-Compiled Headers for Online Compilation - Fix static build
...
Change-Id: Ib608e73dbffa2d803599cba5ba842cd5a2a2ba9d
[ROCm/clr commit: 4018464960 ]
2020-10-14 00:37:46 -04:00
German Andryeyev
e343bc4b00
Report managed memory capabilities
...
Change-Id: I241a42e26ee49fb47dcb3ba87c4bd8fb691dffdf
[ROCm/clr commit: 15ba5611ba ]
2020-10-13 16:09:43 -04:00
Aryan Salmanpour
0a6ac3c020
Fix a seg fault when unallocated mem handle passed to hipIpcOpenMemHandle API
...
also validate the flag argument passed to hipIpcOpenMemHandle API and return
error if it is not equal to "hipIpcMemLazyEnablePeerAccess" (defined to 0)
and it is the only supported flag currenlty for this API.
SWDEV-253462
Change-Id: Ie1c8b79c680a29dc72bf262cf53ae5e011fb1247
[ROCm/clr commit: 89964dbbd4 ]
2020-10-13 11:14:41 -04:00
Julia Jiang
427cb5bf4c
SWDEV-249487-remove two HCC related APIs
...
Change-Id: Icf90ece0808643e0c5f0cc00b6644d5171b553d8
[ROCm/clr commit: c144b57d54 ]
2020-10-13 11:08:37 -04:00
agodavar
de8da71c9a
SWDEV-254185 - Added support to pass include headers to hipRTC
...
Change-Id: Ia19e6806a476d3c6ecd3e9a89c3ed72953a4900c
[ROCm/clr commit: 7d67573a4f ]
2020-10-12 06:04:14 -04:00
Tao Sang
f1cc6bef64
Revert "Make directed_test support static libs"
...
This reverts commit a47392be9b .
Reason for revert: <INSERT REASONING HERE>
Change-Id: Ib2d1084ea21461f70f96f95c6025a08f88288357
[ROCm/clr commit: 0d1cf31eb1 ]
2020-10-12 00:01:13 -04:00
Tao Sang
a47392be9b
Make directed_test support static libs
...
1.Make directed_test apps linked against static libs
of hip, rocclr, rocr, roct and amd_comgr.
2.Remove custom_target amdhip64_static_combiner.
3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
4.Simplify argument list parsing.
5.Fix hip_pch.o missing issue in samples' build.
6.Fix some original small bugs.
Change-Id: I30f5e65367613152ce86b80b13e1c9f2a28da803
[ROCm/clr commit: 36c5679efc ]
2020-10-08 22:46:58 -04:00
Sarbojit Sarkar
1dee6f664b
[perf]hipMalloc perf optimization
...
Change-Id: I9cd1d29205cb0c9938d26bb8e336fc9fe8a262ed
[ROCm/clr commit: a3b44b5f75 ]
2020-10-06 12:22:57 -04:00
Vladislav Sytchenko
4a6f033fd2
Change __HIP_ENABLE_PCH to be an option
...
Currently all the logic checks if __HIP_ENABLE_PCH is set, so setting it
to OFF will still enable PCH.
Switching __HIP_ENABLE_PCH to be a CMake option will enable correct
build behaviour.
Change-Id: I77a663589ffb5f2595c6ad3d144eb9466adcf250
[ROCm/clr commit: 8034467ec3 ]
2020-10-06 11:17:47 -04:00
kjayapra-amd
78fd06679b
SWDEV-254363 - Checks to make sure kernel is launched on the same device as it was launched.
...
Change-Id: I2f273a70b1a5fc0e9fc9c6144eabd32466ff4e59
[ROCm/clr commit: 40322a9f1c ]
2020-10-06 08:38:09 -04:00
Rahul Garg
8e268b9170
Remove libhip_hcc references
...
These were added in commit b2e0df3845 .
Change-Id: I5815c90bb83ac74730f6bce114eb353f54b86670
[ROCm/clr commit: 2a5d39cd3b ]
2020-10-06 04:29:35 -04:00
Vladislav Sytchenko
7b635ae18c
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 0627e8783b .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
[ROCm/clr commit: d5aa0f607d ]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
0627e8783b
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit 6c6299acb2 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
[ROCm/clr commit: 9142674ef0 ]
2020-10-05 13:02:39 -04:00
German Andryeyev
913d257803
Fix error codes in HMM interfaces
...
Change-Id: I16490c575f2840b1116a4135431a611cf812f3a4
[ROCm/clr commit: ef5d9bd562 ]
2020-10-05 12:54:16 -04:00
Jatin Chaudhary
284e6245d6
Use availableRegistersPerCU_ to populate number of registers
...
Change-Id: I58f2323bf454f910d22ab31f05aa3024a3d1106f
[ROCm/clr commit: c9d996a0a8 ]
2020-10-05 00:33:27 -04:00
Aryan Salmanpour
67227e6f7e
fix a bug for calculating the prev_sum of MGSyncInfo struct used in multi-gpu cooperative launch
...
SWDEV-251619
Change-Id: I6566bfc9384bb4677562085991a7a01d3cea3935
[ROCm/clr commit: 4817ec4778 ]
2020-10-01 14:05:22 -04:00
Sarbojit Sarkar
1d5784202c
SWDEV-253654 : Added invalid parameter checks
...
Change-Id: I8a2ae1ee6898f111aac1c68663a653cca410daec
[ROCm/clr commit: d4fa2e8c80 ]
2020-09-29 13:20:27 -04:00
Julia Jiang
8976ef0471
SWDEV-247518-fix HPC multi gpu test performance drop
...
Change-Id: I2f07d9ba183cf88b3845d8d61607a8a0462d015f
[ROCm/clr commit: 3d59e050db ]
2020-09-29 12:04:40 -04:00
Aryan Salmanpour
58a6e2f0f2
fix a pagefault when wrong argument (extent) passed in hipMemset3D API
...
Change-Id: I779fc14ccd7c942d1ae0a938ebfd3c2e728ff761
[ROCm/clr commit: a680b514b3 ]
2020-09-25 10:57:37 -04:00
kjayapra-amd
c15524b728
SWDEV-241896 - Remove extern support in ROCclr/HIP since compiler added Texture reference support.
...
Change-Id: I1b0a7377b803b4e2b94ffef6ffd91e376fdb2b2f
[ROCm/clr commit: 19acb0bfe5 ]
2020-09-24 14:28:16 -04:00
Rahul Garg
b1851cdc96
Return hipMemoryTypeHost as memory type for hipHostRegistered pointer
...
Fixes SWDEV-253741
Change-Id: I42c2c9df00862157314d5767b6f175a0d2f28b47
[ROCm/clr commit: 2f3d60fc4a ]
2020-09-24 12:27:32 -04:00
agodavar
dc55fb39c0
SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
...
Change-Id: Iec989787e546ff2eb68c4b146dc540655698b569
[ROCm/clr commit: 3c9bbc335a ]
2020-09-24 12:18:06 -04:00
Jatin
b2e0df3845
CMake changes to now write to test folder
...
Change-Id: Ia898b31a09f3c59ef8e7d64253f28ae93c501277
[ROCm/clr commit: 2cce9170c3 ]
2020-09-21 00:37:15 -04:00
Jatin Chaudhary
c04f949c1d
Adding checks for return type compatibility with CUDA
...
Change-Id: I09b6bd9a7299f0a97ac9011ea0903a1f81e28251
[ROCm/clr commit: d752b6d14b ]
2020-09-21 00:36:02 -04:00
Vladislav Sytchenko
9734ad0e68
Fix Windows build
...
Change-Id: I8769bafba199b9258c610e51b58e454fe10a75e6
[ROCm/clr commit: 1602db4114 ]
2020-09-18 18:51:25 -04:00
kjayapra-amd
ea1b3eb062
SWDEV-252542 - Fixing Win Compilation on SWDEV-241902.
...
Change-Id: I0ef196231acd8e778018bade684a10ec977261a5
[ROCm/clr commit: fdb4d45a3f ]
2020-09-18 14:11:07 -04:00
Satyanvesh Dittakavi
84634b6903
Print size_t variables with %zu
...
Change-Id: I02bb073b07e9efd03dea2b76b6ba1bd2f552bcaa
Total Memory is not being printed correctly with %u.
%zu represents size_t variables appropriately.
[ROCm/clr commit: 00c0118910 ]
2020-09-18 11:55:41 -04:00
kjayapra-amd
1c03aaaa95
SWDEV-241902 - Changes to pass file descriptor and offset to load code object.
...
Change-Id: I96add27f4fde1b5ee5501e206b7e85ab77e87dfc
[ROCm/clr commit: 095ce0cc02 ]
2020-09-15 07:54:28 -04:00
Rahul Garg
d8db826498
Reinsert __gnu_h2f_ieee and __gnu_f2h_ieee.
...
Fixes SWDEV-251676
Reverts Ide24d245d851e20961020323e52f33322a33fff9 and adds
__attribute__((weak)) to __gnu_h2f_ieee and __gnu_f2h_ieee.
Change-Id: If4f9e2f867b56a3f0121a907a49ae4032220d9af
[ROCm/clr commit: f4282cbdf9 ]
2020-09-15 01:39:14 -04:00
Sarbojit Sarkar
2e95688d9d
Fix for hipPointerGetAttributes [github#2137]
...
Change-Id: I5295575638ecc4d3b7129552a9c26c6f6a7195fc
[ROCm/clr commit: 74cdf8f9e3 ]
2020-09-10 10:51:30 -04:00
agodavar
0db6f96d07
SWDEV-249870 - Short-Term solution for Pre-Compiled Headers for Online Compilation
...
Change-Id: Ibcb365ce2ff27c4c2379609964078da42e1226b1
[ROCm/clr commit: 38ce8784c0 ]
2020-09-09 13:44:13 -04:00
kjayapra-amd
ff668fe6d2
SWDEV-240800 - P2P device attributes support
...
Change-Id: Ia32b87ffea17e0d98b69a07f2633ba14e7637b8a
[ROCm/clr commit: 27c5f8049e ]
2020-09-03 09:41:05 -04:00
Satyanvesh Dittakavi
04201d5db5
SWDEV-248293 - Fix elapsedTime
...
Fixes the elapsed time for the scenarios where HIP API takes one of the start/stop events
and another one is recorded using hipEventRecord.
Change-Id: I51831b2651fc8e7207ff0e3fcc6dc7c1b4239fa8
[ROCm/clr commit: f80044bd6a ]
2020-09-02 03:22:47 -04:00
agodavar
04f34e929a
SWDEV-246142: Improve performance for sync with multiple streams
...
Change-Id: Ifc625c4c1311ac235b08ea705a3df216d47b2c5e
[ROCm/clr commit: 9124285f18 ]
2020-09-02 00:56:46 -04:00
Tao Sang
d21b94e2b0
Replace private libelf with elfio
...
Change-Id: I59ae33f7cc55e73f6519af14be91dd9863b03af3
[ROCm/clr commit: 2332174c8a ]
2020-09-01 10:29:11 -04:00
Rahul Garg
920a7d4002
Return error when mismatch in copy kind and ptrs
...
Change-Id: I70e4d06e850843697035b42c5d1d56287c874ac8
[ROCm/clr commit: c8a32c932d ]
2020-08-27 20:53:48 -04:00
Vladislav Sytchenko
fcd69756c3
Fix memory leak
...
getLastQueuedCommand(true) will implictly retain the last command, hence if we're not putting it in the waitlist, we should release it.
Change-Id: I1ad4ddcdf1df5237b83e1ea2447eb39a59f7dc3a
[ROCm/clr commit: 9998067174 ]
2020-08-26 12:45:18 -04:00
kjayapra-amd
4ea2412701
SWDEV-249499 - Add message to Guarantee assert code in hip runtime.
...
Change-Id: I1850463675bbc3e6ff5e3cef8211b1fd40e55f96
[ROCm/clr commit: b9f8ab96ce ]
2020-08-24 17:35:39 -04:00
Todd tiantuo Li
49910cc949
SWDEV-240803 - add hipFuncSetSharedMemConfig
...
Change-Id: I160b04677b3e7b99b3981ae7ecc84a0e3811d5e8
[ROCm/clr commit: a243a69e98 ]
2020-08-20 18:18:24 -04:00
Todd tiantuo Li
005dcecd5c
move hipFuncSetCacheConfig from hip_device to hip_module
...
Change-Id: If5a930e1210e76531f5ba9a0e5f5ec98ad473a19
[ROCm/clr commit: 3ac8483124 ]
2020-08-17 17:39:01 -04:00
Aryan Salmanpour
20fe2fd7fd
SWDEV-248057 - fix the calculation of allGridSize used in multi_grid_group() API
...
Change-Id: Ib470094e28dcacaa4769dc5c7ab08924f5b7fa41
[ROCm/clr commit: 359c0fbb76 ]
2020-08-17 12:52:40 -04:00
Jatin Chaudhary
6b597909ce
Adding Anyorder flag to HIP
...
Change-Id: Ie20931541b3febe23fa9ac36ebc0c90de75a5f0a
[ROCm/clr commit: 628a308475 ]
2020-08-17 08:46:52 -04:00
Todd tiantuo Li
4885fa0e48
SWDEV-240803 - add hipFuncSetAttribute and hipFuncAttribute
...
Change-Id: I3f4d67b19d89fd348fa5b884af4a2542ee4aba60
[ROCm/clr commit: fb43f21044 ]
2020-08-14 17:39:29 -04:00
kjayapra-amd
cddec46bb7
SWDEV-237658 - Do not attach events to user invisible Marker.
...
Change-Id: I3a74fd2614d6e2e1d51543471bbd5ae51a713a47
[ROCm/clr commit: ea15c75c55 ]
2020-08-14 10:55:34 -04:00