foreman
8f3c112c77
P4 to Git Change 1738965 by cpaquot@cpaquot-ocl-lc-lnx on 2019/02/01 13:17:10
...
SWDEV-145570 - [HIP] Handle multi device setup
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#21 edit
[ROCm/hip commit: 7e5ebb16e1 ]
2019-02-01 13:43:50 -05:00
foreman
91b79f406a
P4 to Git Change 1737265 by skudchad@skudchad_test2_win_opencl on 2019/01/29 16:13:19
...
SWDEV-145570 - [HIP] - Fix maxThreadsPerStreamProcessor info parameter for HIP-VDI
ReviewBoardURL = http://ocltc.amd.com/reviews/r/16626/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#331 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#601 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#123 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#113 edit
[ROCm/hip commit: 72094d3281 ]
2019-01-29 17:33:39 -05:00
foreman
06f9720c30
P4 to Git Change 1736033 by kjayapra@9_HIPWS_IPCCHKIN on 2019/01/25 17:44:48
...
SWDEV-145570 - IPC Mem Handle Changes for HIP.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#330 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#112 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#108 edit
[ROCm/hip commit: 8379245224 ]
2019-01-25 19:18:53 -05:00
foreman
07b2173d13
P4 to Git Change 1729577 by lmoriche@lmoriche_opencl_lc on 2019/01/11 22:21:53
...
SWDEV-145570 - [HIP] Windows build fix
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#11 edit
[ROCm/hip commit: 3bef77c170 ]
2019-01-11 22:45:33 -05:00
foreman
9709f7de6e
P4 to Git Change 1728676 by cpaquot@cpaquot-ocl-lc-lnx on 2019/01/10 14:29:52
...
SWDEV-145570 - [HIP] Add API tracing, enabled via LOG_LEVEL=3
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/api/hip/trace_helper.h#1 add
[ROCm/hip commit: 349a5e6d73 ]
2019-01-10 14:46:01 -05:00
foreman
d90e382003
P4 to Git Change 1709028 by skudchad@skudchad_test2_win_opencl on 2018/11/19 15:15:09
...
SWDEV-145570 - [HIP] Fix a bug in event tracking
ReviewBoardURL = http://ocltc.amd.com/reviews/r/16182/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#29 edit
[ROCm/hip commit: eb406d2c91 ]
2018-11-19 15:46:09 -05:00
foreman
67f8bf0270
P4 to Git Change 1706503 by skudchad@skudchad_test2_win_opencl on 2018/11/13 18:06:02
...
SWDEV-145570 - [HIP] Skip empty bundles
ReviewBoardURL = http://ocltc.amd.com/reviews/r/16140/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#20 edit
[ROCm/hip commit: 26ce431eef ]
2018-11-13 18:10:36 -05:00
foreman
1f2ac6e17e
P4 to Git Change 1623601 by skudchad@skudchad_test2_win_opencl on 2018/10/24 17:52:57
...
SWDEV-145570 - [HIP] Refactor hipStreamAddCallback
ReviewBoardURL = http://ocltc.amd.com/reviews/r/16045/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#15 edit
[ROCm/hip commit: 6f0ef8f628 ]
2018-10-24 18:00:42 -04:00
foreman
4c46686cd7
P4 to Git Change 1620765 by skudchad@skudchad_test2_win_opencl on 2018/10/17 16:58:04
...
SWDEV-145570 - [HIP] Track last used event and use last enqueued command in a stream rather than creating a new event
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15996/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#20 edit
[ROCm/hip commit: 133447a412 ]
2018-10-18 13:41:32 -04:00
foreman
e38b163ba8
P4 to Git Change 1610499 by skudchad@skudchad-lnx on 2018/09/25 14:43:35
...
SWDEV-145570 - [HIP] - Map hipinfo sample from HIP mirror so that we have the same hipinfo
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_peer.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/tools/hipinfo/CMakeLists.txt#2 edit
... //depot/stg/opencl/drivers/opencl/tools/hipinfo/build/Makefile.hipinfo#2 edit
... //depot/stg/opencl/drivers/opencl/tools/hipinfo/hipinfo.cpp#2 delete
[ROCm/hip commit: 0a8d4ee78d ]
2018-09-25 15:01:11 -04:00
foreman
5ca52cc123
P4 to Git Change 1604468 by skudchad@skudchad_test2_win_opencl on 2018/09/11 18:28:45
...
SWDEV-145570 - [HIP] - Assert functionality for error != hipSuccess with LOG_LEVEL=3
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15793/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#8 edit
[ROCm/hip commit: e29ba4d158 ]
2018-09-11 18:34:50 -04:00
foreman
63c503b31b
P4 to Git Change 1604364 by cpaquot@cpaquot-ocl-lc-lnx on 2018/09/11 15:43:44
...
SWDEV-145570 - [HIP] Added hipCtxGetSharedMemConfig
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#14 edit
[ROCm/hip commit: b77cd51579 ]
2018-09-11 16:08:44 -04:00
foreman
23075ef5b4
P4 to Git Change 1604214 by cpaquot@cpaquot-ocl-lc-lnx on 2018/09/11 12:12:23
...
SWDEV-145570 - [HIP] Added empty hipModuleGetGlobal function.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#19 edit
[ROCm/hip commit: 18f041c1ff ]
2018-09-11 12:26:34 -04:00
foreman
a8d7ad308c
P4 to Git Change 1603869 by skudchad@skudchad-lnx on 2018/09/10 20:04:11
...
SWDEV-1 - Fix to build HIP with gcc-5.4
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#17 edit
[ROCm/hip commit: 372a9d0a55 ]
2018-09-10 20:17:35 -04:00
foreman
d968f9a662
P4 to Git Change 1602601 by skudchad@skudchad_test2_win_opencl on 2018/09/06 15:01:00
...
SWDEV-145570 - [HIP] Implement hipStreamAddCallback and hipStreamQuery
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15749/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/concurrent.hpp#9 edit
[ROCm/hip commit: 2a9e26c772 ]
2018-09-06 15:21:28 -04:00
foreman
f83a7c1054
P4 to Git Change 1600056 by skudchad@skudchad_test2_win_opencl on 2018/08/30 12:04:10
...
SWDEV-145570 - [HIP] Fix elapsed time calc for hipEvent
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15717/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#6 edit
[ROCm/hip commit: 0d2b874266 ]
2018-08-30 12:17:57 -04:00
foreman
36ba22ea01
P4 to Git Change 1598666 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/27 18:36:44
...
SWDEV-145570 - [HIP] - Multithreading issues
Add a lock per function so kernel parameters don't get overwritten
Make execStack_ thread local and remove global lock use for it:
The compiler uses the same thread to set it up and launch the function
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#19 edit
[ROCm/hip commit: 938481928a ]
2018-08-27 18:46:34 -04:00
foreman
75bc7ef195
P4 to Git Change 1597160 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/22 18:31:15
...
SWDEV-145570 - [HIP] Implemented hipSurfaceCreate/Destroy APIs.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_surface.cpp#4 edit
[ROCm/hip commit: e52fbca4a1 ]
2018-08-22 18:42:22 -04:00
foreman
41bd605d15
P4 to Git Change 1596634 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/21 18:07:55
...
SWDEV-145570 - [HIP] Implmented hipSurfaceCreate/Destroy APIs
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_surface.cpp#3 edit
[ROCm/hip commit: 28ce8a8a89 ]
2018-08-21 18:29:16 -04:00
foreman
3995cddd87
P4 to Git Change 1596023 by skudchad@skudchad_test2_win_opencl on 2018/08/20 18:40:38
...
SWDEV-145570 - [HIP] Fixes to HIP env var logic
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15653/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#225 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#311 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#105 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#96 edit
[ROCm/hip commit: 095572b7d5 ]
2018-08-20 18:48:00 -04:00
foreman
bac72feb76
P4 to Git Change 1595124 by skudchad@skudchad_test2_win_opencl on 2018/08/17 14:05:25
...
SWDEV-145570 - [HIP] Implement environment variables and subsequent changes for HIP. This gets hipEnvVar passing
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15641/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#224 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#310 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#104 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#95 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#297 edit
[ROCm/hip commit: 7f80b1c6bc ]
2018-08-17 14:28:54 -04:00
foreman
cd7d8c49c5
P4 to Git Change 1594075 by skudchad@skudchad-lnx on 2018/08/15 14:00:33
...
SWDEV-145570 - [HIP] Fix some test failures
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#14 edit
[ROCm/hip commit: c998b3c3e2 ]
2018-08-15 14:13:08 -04:00
foreman
3c4e2d4529
P4 to Git Change 1593706 by skudchad@skudchad_test2_win_opencl on 2018/08/14 18:44:29
...
SWDEV-145570 - [HIP] Implement hipError*
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15619/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_error.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_peer.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_profile.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_surface.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#9 edit
[ROCm/hip commit: 21559762b8 ]
2018-08-14 18:54:13 -04:00
foreman
4a16441933
P4 to Git Change 1592348 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/10 17:00:39
...
SWDEV-145570 - [HIP] Do not multiply block and dims for Hcc/Ext kernel module launch
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#16 edit
[ROCm/hip commit: a38de7d73d ]
2018-08-10 17:16:53 -04:00
foreman
867efccf75
P4 to Git Change 1592228 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/10 13:55:25
...
SWDEV-145570 - [HIP] Report maxGridSize as INT32_MAX, not UINT32_MAX
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#13 edit
[ROCm/hip commit: 327e62e31a ]
2018-08-10 14:10:19 -04:00
foreman
57e500b670
P4 to Git Change 1592225 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/10 13:52:21
...
SWDEV-145570 - [HIP] Report memoryClockRate in kilohertz too.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#12 edit
[ROCm/hip commit: 903f8a551b ]
2018-08-10 14:09:04 -04:00
foreman
95764032f1
P4 to Git Change 1592223 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/10 13:50:47
...
SWDEV-145570 - [HIP] Report clockRate in kilohertz.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#11 edit
[ROCm/hip commit: c4e3d90ba9 ]
2018-08-10 14:04:43 -04:00
foreman
2e2d950893
P4 to Git Change 1590010 by skudchad@skudchad_test2_win_opencl on 2018/08/06 21:18:48
...
SWDEV-145570 - [HIP] - Fix some issues in hip runtime
- Set stream for event
- Free mem needs to be reported in bytes but runtime backends reports in Kb
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15586/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#15 edit
[ROCm/hip commit: c708d8b16b ]
2018-08-06 21:24:14 -04:00
foreman
f6a8fe738a
P4 to Git Change 1589138 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/03 01:04:05
...
SWDEV-145570 - [HIP] Added __gnu_h2f_ieee and __gnu_f2h_ieee
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#16 edit
[ROCm/hip commit: f6d89dae90 ]
2018-08-03 01:15:15 -04:00
foreman
0863ddf1f3
P4 to Git Change 1589087 by skudchad@skudchad_rocm on 2018/08/02 20:10:02
...
SWDEV-145570 - [HIP] - hipHccModuleLaunchKernel needs to be a c++ sym
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#14 edit
[ROCm/hip commit: 1531e24327 ]
2018-08-02 20:20:23 -04:00
foreman
d54665b0a0
P4 to Git Change 1589062 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/02 18:34:20
...
SWDEV-145570 - [HIP] Fix a segfault exposed by rocBlas.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#39 edit
[ROCm/hip commit: 8e9e9416fd ]
2018-08-02 18:52:37 -04:00
foreman
12368ab3c5
P4 to Git Change 1589030 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/02 17:40:15
...
SWDEV-145570 - [HIP] Fixed the underline
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#15 edit
[ROCm/hip commit: a8f66beb28 ]
2018-08-02 18:00:05 -04:00
foreman
03ddac01ef
P4 to Git Change 1588779 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/02 12:25:51
...
SWDEV-145570 - [HIP] Refactored some g_* stuff
Refactored g_functions into a platform state.
Added a _vars for registered variables.
Added an execution stack similar to Hcc-clang.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#14 edit
[ROCm/hip commit: 732523c0eb ]
2018-08-02 12:33:55 -04:00
foreman
32427db878
P4 to Git Change 1588556 by skudchad@skudchad_rocm on 2018/08/02 02:04:15
...
SWDEV-145570 - [HIP] - Release eStop if it not a nullptr.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#13 edit
[ROCm/hip commit: aeaa9b80f4 ]
2018-08-02 02:18:57 -04:00
foreman
3aabd92279
P4 to Git Change 1588551 by skudchad@skudchad_rocm on 2018/08/02 01:55:45
...
SWDEV-145570 - [HIP] - Refactor ihipModuleLaunchKernel and add hipModuleLaunchKernelExt
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#8 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#8 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#12 edit
[ROCm/hip commit: f94b8d780a ]
2018-08-02 02:14:04 -04:00
foreman
1ca3e7867e
P4 to Git Change 1588185 by vsytchen@vsytchen-win10 on 2018/08/01 11:46:00
...
SWDEV-145570 - [HIP] Correctly handle calculating the offset when retrieving the amd::Memory object from a prepinned pointer
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15539/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#38 edit
[ROCm/hip commit: 83ae8eb381 ]
2018-08-01 12:08:35 -04:00
foreman
99deff0be0
P4 to Git Change 1587799 by vsytchen@vsytchen-win10 on 2018/07/31 14:47:31
...
SWDEV-145570 - [HIP] refactor hipMemcpy* functions to correctly handle copies using prepinned memory
The current implementation of hipMemcpy functions picks the copy type based on a flag that the user passes. However, one can use the hipMemcpyHostToDevice/hipMemcpyDeviceToHost flag in a combination with prepinned memory. By using the WriteMemoryCommand/ReadMemoyCommand in this case, we will pin the same host memory twice. This is fine on PAL/Linux, since pinning the same VA range is a noop, but this will start failing once we switch to using device memory with HIP/VDI/HSA.
The solution is to ignore the hipMemcpyKind flag and let the runtime decide what kind of copy is best to do. Except for the case when hipMemcpyHostToHost is passed, since both host pointers may be prepinned.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15482/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#37 edit
[ROCm/hip commit: 09b46cddf5 ]
2018-07-31 15:07:56 -04:00
foreman
3d80de0276
P4 to Git Change 1584863 by yaxunl@yaxunl-lc10 on 2018/07/24 17:00:42
...
SWDEV-145570 - [HIP] - Update prototype of __hipRegisterVar
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#13 edit
[ROCm/hip commit: 1b054948e3 ]
2018-07-24 17:14:35 -04:00
foreman
61d71a5c20
P4 to Git Change 1582432 by cpaquot@cpaquot-ocl-lc-lnx on 2018/07/18 17:16:05
...
SWDEV-145570 - [HIP] Fixed __hipRegisterVariable to __hipRegisterVar
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#7 edit
[ROCm/hip commit: 7006bdb0b8 ]
2018-07-18 17:51:20 -04:00
foreman
cae7905f39
P4 to Git Change 1578574 by skudchad@skudchad_rocm on 2018/07/10 19:15:59
...
SWDEV-145570 - [HIP] - g_arguments isnt a double pointer
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#12 edit
[ROCm/hip commit: 1f02d5c817 ]
2018-07-10 19:21:07 -04:00
foreman
99358dc55a
P4 to Git Change 1577282 by skudchad@skudchad_test2_win_opencl on 2018/07/06 15:02:32
...
SWDEV-145570 - [HIP] Fix hipMalloc3D
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15358/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#36 edit
[ROCm/hip commit: f2ea9a1a8b ]
2018-07-06 15:13:22 -04:00
foreman
f4ef34f7e9
P4 to Git Change 1576872 by skudchad@skudchad_rocm on 2018/07/05 20:20:21
...
SWDEV-145570 - [HIP] - Add hipMalloc3D to linker symtable.
- Add structure for hipFuncGetAttributes
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#11 edit
[ROCm/hip commit: e143868b47 ]
2018-07-05 20:29:27 -04:00
foreman
34d02d8422
P4 to Git Change 1574251 by skudchad@skudchad_rocm on 2018/06/29 01:49:57
...
SWDEV-145570 - [HIP] Fix hipHostUnregister.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#35 edit
[ROCm/hip commit: 3564a8ddf9 ]
2018-06-29 01:59:22 -04:00
foreman
d4f1ad4f52
P4 to Git Change 1572348 by skudchad@skudchad_test2_win_opencl on 2018/06/25 13:21:41
...
SWDEV-145570 - [HIP] - Fix hipHostGetDevicePointer. hipHostRegister tests now passes
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15261/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#34 edit
[ROCm/hip commit: 3f0b25f6bf ]
2018-06-25 13:29:56 -04:00
foreman
3726696f96
P4 to Git Change 1567831 by skudchad@skudchad_test2_win_opencl on 2018/06/13 13:20:10
...
SWDEV-145570 - [HIP] - Implement hipMemset3D
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15164/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#33 edit
[ROCm/hip commit: 7330137b0b ]
2018-06-13 13:36:52 -04:00
foreman
4032d01baf
P4 to Git Change 1567203 by skudchad@skudchad_test2_win_opencl on 2018/06/12 12:01:43
...
SWDEV-145570 - [HIP] - Since getMemoryObject is now used in hip_texture it shouldnt be inline
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#32 edit
[ROCm/hip commit: 2568c8042f ]
2018-06-12 12:11:19 -04:00
foreman
abd1681306
P4 to Git Change 1564420 by skudchad@skudchad_rocm on 2018/06/05 19:38:52
...
SWDEV-145570 - [HIP] - Find memobj in correct class
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#31 edit
[ROCm/hip commit: 2f1c253231 ]
2018-06-05 19:43:49 -04:00
foreman
ad9b4a1ad9
P4 to Git Change 1562965 by skudchad@skudchad_test2_win_opencl on 2018/06/01 14:48:31
...
SWDEV-145570 - [HIP] - Implement hipHostRegister/Unregister, hipHostAlloc.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15041/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#12 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#8 edit
[ROCm/hip commit: 9a59ddeed4 ]
2018-06-01 15:01:45 -04:00
foreman
fe2d99b857
P4 to Git Change 1562507 by skudchad@skudchad_test2_win_opencl on 2018/05/31 18:10:39
...
SWDEV-145570 - [HIP] - Fix HIP build
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#11 edit
[ROCm/hip commit: bad00db6ea ]
2018-05-31 18:18:00 -04:00
foreman
93a673688c
P4 to Git Change 1559366 by gandryey@gera-w8 on 2018/05/24 18:06:45
...
SWDEV-79445 - OCL generic changes and code clean-up
- Combine validateMemory() and arguments capture() under a single function. Rename validateMemory() in NDRangeKernelCommand class to captureAndValidate()
http://ocltc.amd.com/reviews/r/14964/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_execute.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.hpp#22 edit
[ROCm/hip commit: cadb15165e ]
2018-05-24 18:12:49 -04:00
foreman
17a398de6d
P4 to Git Change 1559149 by skudchad@skudchad_test2_win_opencl on 2018/05/24 11:54:02
...
SWDEV-145570 - [HIP] - Implement hipMemcpy2DToArray.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14953/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#29 edit
[ROCm/hip commit: da7593ae40 ]
2018-05-24 12:01:44 -04:00
foreman
0bc42c767d
P4 to Git Change 1558526 by skudchad@skudchad_test2_win_opencl on 2018/05/23 13:34:33
...
SWDEV-145570 - [HIP] Implement hipPointerGetAttributes.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14938/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#28 edit
[ROCm/hip commit: 0fe5f87cba ]
2018-05-23 13:40:52 -04:00
foreman
d345b2164b
P4 to Git Change 1557352 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/21 19:53:00
...
SWDEV-145570 - [HIP] Sync streams in hipFree. hipTestHalf passes now.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#27 edit
[ROCm/hip commit: f165295c66 ]
2018-05-21 20:02:17 -04:00
foreman
8634501c2b
P4 to Git Change 1556942 by yaxunl@yaxunl-lc8 on 2018/05/18 14:25:12
...
SWDEV-145570 - [HIP] Change fat binary magic number and clang-offload-bundler target name to match clang
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#11 edit
[ROCm/hip commit: 303df5dd2e ]
2018-05-18 14:34:14 -04:00
foreman
965ac24258
P4 to Git Change 1555866 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/16 16:27:00
...
SWDEV-145570 - [HIP] Store HIP mem flags inside amd::Buffer's flags
Use the 16 upper bits of amd::Buffer's flags field instead of adding a new field.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#86 edit
[ROCm/hip commit: b1ab722a25 ]
2018-05-16 16:35:53 -04:00
foreman
958fe1930f
P4 to Git Change 1555197 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/15 16:26:41
...
SWDEV-145570 - [HIP] Fixed a typo, hipStreamGetFlags test passes now
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#10 edit
[ROCm/hip commit: bb008fbf94 ]
2018-05-15 16:36:25 -04:00
foreman
134b6c2e26
P4 to Git Change 1555193 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/15 16:19:50
...
SWDEV-145570 - [HIP] Implemented events
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#9 edit
[ROCm/hip commit: da00b9270a ]
2018-05-15 16:26:16 -04:00
foreman
72798b9f7b
P4 to Git Change 1553709 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/11 11:24:30
...
SWDEV-145570 - [HIP] Make streamSet global and protect it
By default from the spec, streamSet should be global and not per thread.
There is a flag to make it per thread but we don't handle this yet. We
would just add another variable that will be thread local and use it instead.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#8 edit
[ROCm/hip commit: fbd86acc9f ]
2018-05-11 11:34:01 -04:00
foreman
24ffe8a333
P4 to Git Change 1552807 by skudchad@skudchad_test2_win_opencl on 2018/05/09 18:08:07
...
SWDEV-145570 - [HIP] - Release a stream first before taking it off from the set.
- Queue::create() needs to be called before returning a valid queue.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14830/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#7 edit
[ROCm/hip commit: ac011af36b ]
2018-05-09 18:15:41 -04:00
foreman
3b885e17b6
P4 to Git Change 1552209 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/08 20:24:32
...
SWDEV-145570 - [HIP] Use the as_amd()->asHostQueue with streamSet
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#6 edit
[ROCm/hip commit: 50810d28b8 ]
2018-05-08 20:30:17 -04:00
foreman
925b3fbd17
P4 to Git Change 1552198 by skudchad@skudchad_rocm on 2018/05/08 18:57:32
...
SWDEV-145570 - [HIP] - Synchronize the legacy default stream with other blocking streams as per the spec.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14796/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#5 edit
[ROCm/hip commit: 7176a5fe81 ]
2018-05-08 19:04:35 -04:00
foreman
b4719ee8ae
P4 to Git Change 1552011 by skudchad@skudchad_test2_win_opencl on 2018/05/08 14:48:45
...
SWDEV-145570 - [HIP] Fix offset calculation when getting a memory object. Also include case when destination VA may just be a CPU host VA and not nessarily device alloced.
- Fix hipMemset* to write each byte and now a dword as per the spec
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14787/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#24 edit
[ROCm/hip commit: 2df122be02 ]
2018-05-08 15:43:13 -04:00
foreman
3cb2630ba2
P4 to Git Change 1550648 by skudchad@skudchad_test2_win_opencl on 2018/05/04 20:56:00
...
SWDEV-145570 - [HIP]
- Implement hipMemcpyHtoD/DtoH/DtoD/ and their Async APIs
- Combine logic for hipMemset/Memcpy/Memset2D/Memcpy2D that can be shared across multiple APIs
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14782/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#23 edit
[ROCm/hip commit: 2c5606ea44 ]
2018-05-05 00:34:05 -04:00
foreman
d6118d44ce
P4 to Git Change 1550526 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/04 15:00:44
...
SWDEV-145570 - [HIP] Missing HIP_INIT_API macro in hipDeviceSynchronize.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#9 edit
[ROCm/hip commit: 65b557ecce ]
2018-05-04 15:12:48 -04:00
foreman
2d0867f228
P4 to Git Change 1550486 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/04 14:00:33
...
SWDEV-145570 - [HIP] Fix multithread init
Make the g_ihipInitialized variable per thread
And make sure to assign a default g_context
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#9 edit
[ROCm/hip commit: 9129aa17f6 ]
2018-05-04 14:13:13 -04:00
foreman
263a583c01
P4 to Git Change 1550010 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/03 21:16:06
...
SWDEV-145570 - [HIP] Fixed region initialization
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#22 edit
[ROCm/hip commit: 0508a4ed37 ]
2018-05-03 21:26:33 -04:00
foreman
0c52fe6234
P4 to Git Change 1549971 by skudchad@skudchad_rocm on 2018/05/03 18:39:37
...
SWDEV-145570 - [HIP] - Fix build
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#21 edit
[ROCm/hip commit: 99d3444f00 ]
2018-05-03 18:56:01 -04:00
foreman
2f4bfed956
P4 to Git Change 1549965 by skudchad@skudchad_test2_win_opencl on 2018/05/03 18:15:18
...
SWDEV-145570 - [HIP] - Minor fixes. Use coarse grain for hipMallocPitch
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14768/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#20 edit
[ROCm/hip commit: 3ad5f2a01b ]
2018-05-03 18:26:45 -04:00
foreman
7b03ff80d4
P4 to Git Change 1549067 by skudchad@skudchad_rocm on 2018/05/02 17:40:37
...
SWDEV-145570 - [HIP] - Fix build
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#19 edit
[ROCm/hip commit: a10512c510 ]
2018-05-02 22:25:53 -04:00
foreman
129f0a9d0f
P4 to Git Change 1549060 by skudchad@skudchad_test2_win_opencl on 2018/05/02 17:36:53
...
SWDEV-145570 - [HIP] - Add hipMemcpyDeviceToDevice/hipMemcpyHostToHost/hipMemcpyDefault cases to hipMemcpy/hipMemcpyAsync, hipMemset2DAsync
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14746/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#18 edit
[ROCm/hip commit: 445d300d63 ]
2018-05-02 21:08:53 -04:00
foreman
7d6c9d4602
P4 to Git Change 1549012 by lmoriche@lmoriche_opencl_dev2 on 2018/05/02 16:56:02
...
SWDEV-145570 - [HIP] - Add hipMemset2DAsync, fix the HCC triple for device binaries (make sure to update to the latest HCC).
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#10 edit
[ROCm/hip commit: 0ddf288904 ]
2018-05-02 19:14:52 -04:00
foreman
01296ff827
P4 to Git Change 1548560 by skudchad@skudchad_rocm on 2018/05/01 18:53:54
...
SWDEV-145570 - [HIP] - Fix hipDeviceSynchronize.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#8 edit
[ROCm/hip commit: 5f549b62e8 ]
2018-05-01 19:01:10 -04:00
foreman
07cc8f7a6d
P4 to Git Change 1548558 by skudchad@skudchad_test2_win_opencl on 2018/05/01 18:39:58
...
SWDEV-145570 - [HIP] - Implement some of hipMem*Async and hipMemSet2D APIs. Part 4.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14743/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#16 edit
[ROCm/hip commit: 9c7b328101 ]
2018-05-01 18:46:32 -04:00
foreman
0e2eaa1aa1
P4 to Git Change 1548476 by cpaquot@cpaquot-ocl-lc-lnx on 2018/05/01 15:50:51
...
SWDEV-145570 - [HIP]
Added support for null stream avoiding creating/destroying dummy streams.
Added basic event class for hipEvent* support.
Refactored some common functionality: No more direct access to g_context.
Support hipStreamSynchronize(0).
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#7 edit
[ROCm/hip commit: 61378a359c ]
2018-05-01 18:10:09 -04:00
foreman
e6c77307b7
P4 to Git Change 1548145 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/30 21:15:56
...
SWDEV-145570 - [HIP] Handle hStream=nullptr case
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#7 edit
[ROCm/hip commit: dc1497535d ]
2018-04-30 21:20:26 -04:00
foreman
7a594eacaa
P4 to Git Change 1548038 by lmoriche@lmoriche_opencl_dev2 on 2018/04/30 15:55:18
...
SWDEV-145570 - [HIP] Fix kernel disptach for HCC compiled programs.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#6 edit
[ROCm/hip commit: 213f721318 ]
2018-04-30 20:17:46 -04:00
foreman
cffb35e422
P4 to Git Change 1547830 by skudchad@skudchad_test2_win_opencl on 2018/04/30 12:03:10
...
SWDEV-145570 - [HIP] - Add couple of hip_mem* APIs. Part 3.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14727/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#14 edit
[ROCm/hip commit: 6f7e33cb91 ]
2018-04-30 14:55:41 -04:00
foreman
5695bb3ca8
P4 to Git Change 1547825 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/30 11:59:32
...
SWDEV-145570 - [HIP] Fixed release build
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#13 edit
[ROCm/hip commit: 36d2d37804 ]
2018-04-30 13:34:32 -04:00
foreman
9bbba2ee75
P4 to Git Change 1547686 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/30 00:52:23
...
SWDEV-145570 - [HIP] CreateTexture with hipArray
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#6 edit
[ROCm/hip commit: 5fc5d098a9 ]
2018-04-30 01:03:06 -04:00
foreman
b51c887a83
P4 to Git Change 1547669 by lmoriche@lmoriche_opencl_dev2 on 2018/04/29 14:53:31
...
SWDEV-145570 - [HIP] Fix kernel disptach for HCC compiled programs.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#34 edit
[ROCm/hip commit: 1cb879968b ]
2018-04-29 15:04:45 -04:00
foreman
c3847507d9
P4 to Git Change 1547563 by lmoriche@lmoriche_opencl_dev2 on 2018/04/27 21:10:47
...
SWDEV-145570 - [HIP] - Add support for HCC compiled binaries.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elf_types.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_dump.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_dynamic.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_header.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_note.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_relocation.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_section.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_segment.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_strings.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_symbols.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_utils.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#7 edit
[ROCm/hip commit: 2605d50ce7 ]
2018-04-27 21:21:31 -04:00
foreman
67731a083a
P4 to Git Change 1546224 by skudchad@skudchad_test2_win_opencl on 2018/04/25 12:24:40
...
SWDEV-145570 - [HIP] - Add hipMemcpyTo/FromArray APIs.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14696/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#12 edit
[ROCm/hip commit: 18c7c164c6 ]
2018-04-25 12:32:11 -04:00
foreman
066a072226
P4 to Git Change 1545859 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/24 16:44:17
...
SWDEV-145570 - [HIP] Get hipCtx_simple to pass
Implemented hipCtxGetDevice
hipCtxCreate must push the created context onto the context stack
hipCtxDestroy must check if the top of the stack is the context being destroy
and not just pop the top of the stack w/o checking.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#8 edit
[ROCm/hip commit: d2fbde728c ]
2018-04-24 16:49:38 -04:00
foreman
f4b08ad496
P4 to Git Change 1545750 by skudchad@skudchad_test2_win_opencl on 2018/04/24 13:55:57
...
SWDEV-145570 - [HIP] - Add some hip_mem* APIs. Part 2.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14681/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#11 edit
[ROCm/hip commit: 13355e5de5 ]
2018-04-24 14:05:20 -04:00
foreman
1cafd8bd20
P4 to Git Change 1544858 by skudchad@skudchad_rocm on 2018/04/22 21:07:25
...
SWDEV-144570 - [HIP] - Fix a few APIs and typos.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#6 edit
[ROCm/hip commit: 66640b546f ]
2018-04-22 21:17:27 -04:00
foreman
10d96d33ce
P4 to Git Change 1544061 by skudchad@skudchad_test2_win_opencl on 2018/04/19 18:24:45
...
SWDEV-145570 - [HIP] - Add some hip_mem* APIs
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14647/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#10 edit
[ROCm/hip commit: 3ce752065a ]
2018-04-19 18:35:00 -04:00
foreman
07285483d9
P4 to Git Change 1543751 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/19 11:17:02
...
SWDEV-145570 - [HIP] Implemented a bunch of texture APIs
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#5 edit
[ROCm/hip commit: 63babe9e66 ]
2018-04-19 12:27:09 -04:00
foreman
68e33fdf84
P4 to Git Change 1541938 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/16 18:27:17
...
SWDEV-145570 - [HIP] Set/GetDevice and Create/DestroyTextureObject
Implemented Set/GetDevice relying on g_context (current context)
Implemented create linear/2D texture object function
Implemented hipDestroyTextureObject
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#4 edit
[ROCm/hip commit: 250e08f31f ]
2018-04-16 18:37:17 -04:00
foreman
f064799323
P4 to Git Change 1541197 by skudchad@skudchad_test2_win_opencl on 2018/04/13 17:49:07
...
SWDEV-145570 - [HIP] - Add missing HIP APIs and fill sym table references. The HIP tests can now build if we do a symlink to libhip_hcc.so that we build with VDI in the install folder in github HIP.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14619/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_profile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#3 edit
[ROCm/hip commit: e6718d9747 ]
2018-04-13 18:19:28 -04:00
foreman
f768306d03
P4 to Git Change 1539198 by skudchad@skudchad_test2_win_opencl on 2018/04/10 17:32:14
...
SWDEV-145570 - [HIP] - Add HIP API skeletons for Peer and memory
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14596/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_peer.cpp#1 add
[ROCm/hip commit: 04decb72fc ]
2018-04-10 17:41:24 -04:00
foreman
0e4817fc7d
P4 to Git Change 1537729 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/06 17:59:29
...
SWDEV-145570 - [HIP] Use Svm path for both hipMalloc and hipHostMalloc
Make sure hipMemCpy uses SvmBuffer to fetch the cl_mem
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#8 edit
[ROCm/hip commit: e7f206d249 ]
2018-04-06 18:08:18 -04:00
foreman
0093f50049
P4 to Git Change 1537232 by skudchad@skudchad_rocm on 2018/04/05 15:00:24
...
SWDEV-145570 - [HIP] - Fix typo and fix build.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#2 edit
[ROCm/hip commit: ce88da9c1b ]
2018-04-05 15:12:53 -04:00
foreman
741b97f54b
P4 to Git Change 1537228 by skudchad@skudchad_test2_win_opencl on 2018/04/05 14:53:31
...
SWDEV-145570 - [HIP] - Add HIP Memory, texture, surface, context api skeletons
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14565/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_surface.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#1 add
[ROCm/hip commit: 204ecba4b6 ]
2018-04-05 15:02:43 -04:00
foreman
14251122d1
P4 to Git Change 1536925 by vsytchen@vsytchen-ocl-win10 on 2018/04/04 17:20:38
...
SWDEV-79445 - OCL generic changes and code clean-up
1. This change replaces the use of std::map with std::unordered_map to improve lookup/insert time.
2. Replace the use of std::make_pair and std::pair constructor with uniform initialization for cleaner code.
3. Replace the use of std::Container::iterator type with the auto keyword for cleaner code.
4. Use range based for loops where needed.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14517/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10_amd.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11_amd.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9_amd.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_pipe.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuvirtual.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#216 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#297 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuappprofile.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpubinary.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#158 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#587 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#322 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#237 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#242 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#415 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#143 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocbinary.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#129 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#102 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/perfctr.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/sampler.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.cpp#17 edit
[ROCm/hip commit: 15f11c983f ]
2018-04-04 18:00:17 -04:00
foreman
70fd3504cc
P4 to Git Change 1536698 by skudchad@skudchad_test2_win_opencl on 2018/04/04 13:18:19
...
SWDEV-145570 - [HIP] - Add HIP Memory api skeletons
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14555/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#6 edit
[ROCm/hip commit: 4574e01740 ]
2018-04-04 13:24:15 -04:00
foreman
c2b52b63ee
P4 to Git Change 1534798 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/30 00:56:35
...
SWDEV-145570 - [HIP] Implemented hipStream create/destroy
Use the provided stream in hipModuleLaunchKernel
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#2 edit
[ROCm/hip commit: dd4b380661 ]
2018-03-30 01:06:00 -04:00
foreman
fe38f86dc6
P4 to Git Change 1534050 by lmoriche@lmoriche_opencl_dev2 on 2018/03/28 19:09:26
...
SWDEV-145570 - Add support for clang offload bundles
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#3 edit
[ROCm/hip commit: 01c8c585f4 ]
2018-03-28 19:23:57 -04:00
foreman
fca151d8c8
P4 to Git Change 1531535 by skudchad@skudchad_rocm on 2018/03/23 13:57:49
...
SWDEV-145570 - [HIP] Add some context* functions. Add context stack.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#4 edit
[ROCm/hip commit: a2b71e69ef ]
2018-03-23 14:18:27 -04:00
foreman
c4b8f6e8d5
P4 to Git Change 1531138 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/23 00:10:40
...
SWDEV-145570 - [HIP] Module
Check for correct device id in hipDeviceGetAttribute
Implement hipModuleLoad
Handle kernelParams in hipModuleLaunchKernel
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#3 edit
[ROCm/hip commit: 8e99c0960b ]
2018-03-23 00:19:22 -04:00
foreman
3cb5077f9e
P4 to Git Change 1528961 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/19 13:43:08
...
SWDEV-145570 - Contexts
Create one amd::Context per device
g_context is now thread's current context
HIP doesn't want more than one context per device so we always use the primary one
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#4 edit
[ROCm/hip commit: 96c3777e30 ]
2018-03-19 13:52:17 -04:00