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
Freddy Paul
f959aadea0
Enable developers to build hip without CMAKE_PREFIX_PATH
...
With recent changes in ROCclr to take HSA cmake target it require
HIP to have CMAKE_PREFIX_PATH added for install location for HSA,
amd_comgr,llvm.
User can provide CMAKE_PREFIX_PATH if above
packages are built/installed at custom location as:
cmake -DCMAKE_PREFIX_PATH="<path_hsa> <path_amd_comgr> <path_llvm>"
For default ROCm installation adding a default path will help.
Change-Id: Iefa443dc198da76b57422a641c9821c63cde4922
[ROCm/clr commit: 95729c31e8 ]
2020-08-13 23:13:40 -04:00
Jason Tang
91a2f86826
SWDEV-232197 - Remove refering to gfxipVersion_
...
Change-Id: I91b6b972e26b18dabf6deda5a142bff491c8bb45
[ROCm/clr commit: d5c97e0c31 ]
2020-08-12 16:34:18 -04:00
German Andryeyev
031cf9d32a
Allow prefetch on the null stream
...
Change-Id: I87e950460361fab65ab140988fc2288bcb194f08
[ROCm/clr commit: b73673bc74 ]
2020-08-12 13:07:43 -04:00
Rahul Garg
420ec4eeae
Return error from hipMallocManaged for size =0
...
Change-Id: Ida0cecf05e1df731176d41e59422d1e606cc9bd9
[ROCm/clr commit: 236ef94166 ]
2020-08-10 18:25:31 +00:00
Vlad Sytchenko
4a3b0190c5
Don't align 2D image buffer size
...
Cuda allows creating 2D textures from memory with unaligned size.
Aligning it will cause us to overshoot the size of the underlying
allocation.
Change-Id: Ia20dec2105e36ca4a8448c9c6299d0001b388d25
[ROCm/clr commit: 963c6fe4e9 ]
2020-08-09 15:53:52 -04:00
Jatin Chaudhary
093f0490d6
Fixing the memchannel calculation
...
Change-Id: Ib5f5931cc0e1ee5b7cb356c2ede0cb951ee8c9de
[ROCm/clr commit: f0d9df0b71 ]
2020-08-07 05:34:23 -04:00
Saleel Kudchadker
fd7ea936fe
Enable queue profile only if we attach a profiler
...
Submit explicit profile marker for hipEventRecord to record
timestamps. Enable explicit signal profiling if the API specifies
start and stop events.
Toggle this with env var HIP_FORCE_QUEUE_PROFILING=0
Change-Id: Iae449a63ec3ebf6c2880e65d7b1dd1031a29018f
[ROCm/clr commit: dec95e58e3 ]
2020-08-06 11:28:16 -04:00
Payam
1cdf2afd5e
adding duration to print log for hip api calls
...
Change-Id: Icffa8fcacfb8ba24861d980b9553faeee4efec8c
[ROCm/clr commit: c24f884c76 ]
2020-08-06 06:42:21 -04:00
Sarbojit Sarkar
ee526f9212
Added free device memory info
...
Recently there were few OOM(out of Memory) issues poped. Adding trace will help know genuine OOM issue.
Change-Id: Ie2a56bba95cead24caf1af5c807e73c383c2f5d9
[ROCm/clr commit: bc76760452 ]
2020-08-06 01:16:36 -04:00
Anusha Godavarthy Surya
66be9e86d5
SWDEV-243961 Added overflow check for globalWorkSize
...
Change-Id: I153d99398eb4619baad8c0a52466e0d5d5f898ca
[ROCm/clr commit: 8481524416 ]
2020-08-05 11:18:07 -04:00
Jason Tang
aa179b01a3
SWDEV-243576 - Fix hipMemcpy regression.
...
If the queue device doesn't match the device on any memory object, use the queue device from the memory object.
Change-Id: I5fdcf00494f8391574f4443332c01788b8da44ef
[ROCm/clr commit: e430506f70 ]
2020-07-28 03:04:00 -04:00
Rahul Garg
47c57a5a82
Remove libhip_hcc symlinks to libamdhip64
...
Change-Id: I7b5b47fc7ca9760316c2424c16b454d7919c665c
[ROCm/clr commit: c919a88795 ]
2020-07-27 23:58:29 +00:00
jujiang
e5b39e4056
SWDEV-242344-hipMemcpyAll failed on MGPU
...
Change-Id: I01671e322c84213964d3d48bd6b5dc704dba731a
[ROCm/clr commit: c1d65e57a1 ]
2020-07-27 13:30:30 -04:00
Tao Sang
d7c4f9f492
Remove __gnu_h2f_ieee and __gnu_f2h_ieee
...
Change-Id: Ide24d245d851e20961020323e52f33322a33fff9
[ROCm/clr commit: e9cc570be8 ]
2020-07-23 14:50:24 -04:00
Vlad Sytchenko
bddfc6a790
2D/3D copy optimizations
...
SWDEV-244798
If {src/dst} ptr is marked as hipMemoryTypeHost, check if the memory was
prepinned. If it was, upgrade the copy type to hipMemoryTypeDevice to
avoid extra pinning.
Change-Id: Id287ef5b14ae67dfbcf80c4caa1b08a311191948
[ROCm/clr commit: fe6b645f3b ]
2020-07-23 11:24:16 -04:00
kjayapra-amd
db1fbf23d2
SWDEV-236178 - Remove use of old routines functions()/modules().
...
Change-Id: I3a1ed967227c91b0d8cdf39e1360ade685e0bc73
[ROCm/clr commit: fd783c1e88 ]
2020-07-22 14:55:02 -04:00
kjayapra-amd
7aa68bc3cb
SWDEV-240800 - Adding initial support for hipDeviceGetP2PAttribute. Some attr support still pending.
...
Change-Id: I0611aed136270db497dfa374144f6f5e35352a8f
[ROCm/clr commit: 311fc8c513 ]
2020-07-22 14:54:34 -04:00
Payam
d1e3736fc3
modify cmake to strip debug symbols from rel blds
...
Change-Id: Ia67261fc3c4a20f3f1bbe439a70384a3f6aefa91
[ROCm/clr commit: 274fded47d ]
2020-07-22 11:53:54 -04:00
Tao Sang
25c98ea4de
Support numa if libnume-dev is installed
...
Let rocclr decide numa dependence
Change-Id: I65bdfba7ec0d06b550f86632318bcfd1f765cfa9
[ROCm/clr commit: eba78710dc ]
2020-07-22 08:55:28 -04:00
Saleel Kudchadker
2bf550d3c1
Print devPtr and size for hip*Symbol* api
...
Change-Id: I07be6949cca005700ee1d1708d86220c793c9728
[ROCm/clr commit: 603546cd45 ]
2020-07-21 13:49:10 -04:00
Rahul Garg
7654a45737
Handle size 0 symbols
...
Change-Id: Ie282b37cf6bbccae4611dfc17c5c7f31977feea7
[ROCm/clr commit: 19ede4fd23 ]
2020-07-21 10:09:26 -04:00
Aryan Salmanpour
dfc8958316
Add missing stream null check for some hipStreamCreate APIs
...
Change-Id: I716d71e4ec59b0bd7922869bfa0ed908c22c289e
[ROCm/clr commit: e27d53043c ]
2020-07-20 18:07:03 -04:00