Maneesh Gupta
106f3f591e
Merge pull request #433 from gargrahul/add_hipmemset3d
...
Added hipMemset3D
[ROCm/clr commit: 1c93e11cdf ]
2018-05-18 14:54:15 +05:30
Maneesh Gupta
e3823fd9e8
Merge pull request #440 from yxsamliu/assert2
...
Add __assert_fail, __device_trap and hipErrorAssert for clang
[ROCm/clr commit: 43f7705278 ]
2018-05-18 14:13:27 +05:30
Maneesh Gupta
4eb7565f85
Merge pull request #448 from 949f45ac/master
...
Provide correct __mul64hi and __umul64hi builtins, using code from ROCm-Device-Libs
[ROCm/clr commit: bb1f53ac44 ]
2018-05-18 13:18:16 +05:30
Maneesh Gupta
0d0992b868
Merge pull request #444 from aaronenyeshi/vg20-initial
...
initial gfx906 support
[ROCm/clr commit: 3638bb5b1c ]
2018-05-18 13:18:07 +05:30
Maneesh Gupta
b9f030261e
Merge pull request #437 from scchan/mbcnt_intrinsics
...
add intrinsics mbcnt_lo, mbcnt_hi, lane_id
[ROCm/clr commit: 5e0828e045 ]
2018-05-18 13:17:57 +05:30
Yaxun (Sam) Liu
3d75c87c26
Change HIP fat binary magic number
...
[ROCm/clr commit: 2f9bce3652 ]
2018-05-17 17:04:51 -04:00
Yaxun (Sam) Liu
ba92644beb
Let hipcc suport hip-clang
...
[ROCm/clr commit: 55f01cbf36 ]
2018-05-17 14:40:15 -04:00
949f45ac
901ab53c37
Reinstate accidentally deleted uchar2Holder
...
[ROCm/clr commit: 7bf8402d1d ]
2018-05-17 10:55:45 +02:00
Maneesh Gupta
3b1acd15bf
Merge pull request #451 from gargrahul/fix_memcpy2d_for_1d_case
...
Fixed hipMemcpy2D to handle 1D memcpy case
[ROCm/clr commit: 89b79e226b ]
2018-05-17 07:42:47 +05:30
foreman
4bc4f3e0ab
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/clr commit: 48a85c01e5 ]
2018-05-16 16:35:53 -04:00
Rahul Garg
bc0129d05a
Fix hipCommander Makefile
...
[ROCm/clr commit: 9707e9f563 ]
2018-05-16 15:01:32 +05:30
Rahul Garg
84089036b0
Fixed hipMemcpy2D to handle 1D memcpy case
...
[ROCm/clr commit: 8413fb51e1 ]
2018-05-16 11:07:10 +05:30
foreman
f877ce4f42
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/clr commit: 408acaf35e ]
2018-05-15 16:36:25 -04:00
foreman
6453962807
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/clr commit: a896cb9af0 ]
2018-05-15 16:26:16 -04:00
Alex Voicu
5a9d5a931b
Update hip_module.cpp
...
[ROCm/clr commit: 40a22d235e ]
2018-05-14 17:15:36 +01:00
Evgeny Mankov
f8890c3553
[HIPIFY][DNN] support of cuDNN 7.1.3 - continuation 2
...
- not finished yet.
- based on https://github.com/ROCmSoftwarePlatform/hipDNN .
- testing on https://github.com/baidu-research/DeepBench - almost pass, except cusparse (not supported yet).
- started testing of examples from libcudnn7-dev_7.1.3.16-1+cuda8.0_amd64 package.
[ROCm/clr commit: 1108a925ca ]
2018-05-14 16:23:59 +03:00
949f45ac
c819e2ee01
Provide correct __mul64hi and __umul64hi builtins, using code from ROCm-Device-Libs
...
[ROCm/clr commit: 9210263727 ]
2018-05-14 08:34:56 +02:00
Alex Voicu
3dd565a6d7
Switch over to using native vector types, for better codegen. Remove noise.
...
[ROCm/clr commit: fcce9f5337 ]
2018-05-12 00:14:17 +01:00
foreman
d44b3dc620
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/clr commit: c6b9701abb ]
2018-05-11 11:34:01 -04:00
Aaron Enye Shi
3d3356a2ed
Fix hipMathFunction for gfx906
...
[ROCm/clr commit: 4488f9f7a7 ]
2018-05-11 10:53:07 -04:00
Alex Voicu
2973f68465
Don't use magic constants, they're evil.
...
Also clarify that the register count cannot be queried at the moment.
[ROCm/clr commit: eded014abc ]
2018-05-11 11:31:46 +01:00
Alex Voicu
4e6996282d
Add support for the hipFuncGetAttributes interface.
...
[ROCm/clr commit: bf9529aaa8 ]
2018-05-11 03:35:10 +01:00
Siu Chi Chan
04bf6c5109
initial gfx906 support
...
[ROCm/clr commit: 368affcea4 ]
2018-05-10 19:28:00 +00:00
Evgeny Mankov
f7d2e7bbe7
[HIPIFY][DNN] support of cuDNN 7.1.3 - continuation
...
- not finished yet.
- based on https://github.com/ROCmSoftwarePlatform/hipDNN .
- testing on https://github.com/baidu-research/DeepBench .
[ROCm/clr commit: b31df9cc60 ]
2018-05-10 17:36:51 +03:00
foreman
39ea36a458
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/clr commit: 1426982a65 ]
2018-05-09 18:15:41 -04:00
foreman
970febab07
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/clr commit: d4bb6a0a11 ]
2018-05-08 20:30:17 -04:00
foreman
24e9cf40cc
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/clr commit: 813c770d73 ]
2018-05-08 19:04:35 -04:00
Yaxun (Sam) Liu
7d7125195c
Fix warning about inlined function is not defined
...
[ROCm/clr commit: 4c2d2b9e69 ]
2018-05-08 16:38:50 -04:00
foreman
f894b68a7d
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/clr commit: 434912d2ca ]
2018-05-08 15:43:13 -04:00
Yaxun (Sam) Liu
cd2b1f1baf
Add __assert_fail, __device_trap and hipErrorAssert for clang
...
[ROCm/clr commit: eeedfc5567 ]
2018-05-08 15:42:27 -04:00
Siu Chi Chan
16d8a56909
add intrinsics mbcnt_lo, mbcnt_hi, lane_id
...
[ROCm/clr commit: 4f12ddea8f ]
2018-05-08 13:43:53 -04:00
Evgeny Mankov
912494f3fe
[HIPIFY][Blas] Sync with CUDA 9.1
...
[ROCm/clr commit: 57d9ced72a ]
2018-05-08 20:42:30 +03:00
Evgeny Mankov
6e6f6f630d
[HIPIFY] Sync with hipBLAS
...
[ROCm/clr commit: 089ac77b97 ]
2018-05-08 19:20:47 +03:00
Rahul Garg
a7be5be448
Added hipMemset3D
...
[ROCm/clr commit: 78568435da ]
2018-05-07 10:24:30 +05:30
Tom Maenan Read Cutting
f0e89ba61e
Add space between ### and Notes in hip_terms
...
Makes `Notes` an H3 heading.
[ROCm/clr commit: 06538c2b6d ]
2018-05-05 13:30:11 +01:00
foreman
72312f6cc9
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/clr commit: 6b7ec8f427 ]
2018-05-05 00:34:05 -04:00
emankov
98ca496432
[HIPIFY][test] Undo commit "Apply .clangformat to all repo source files"
...
Commit broke tests due to code and comments formatting changes, thus FileCheck fails on checks, which are in comments.
[ROCm/clr commit: 0d756720b2 ]
2018-05-04 22:23:16 +03:00
foreman
46dc10bdd8
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/clr commit: 05b48c7450 ]
2018-05-04 15:12:48 -04:00
foreman
5ab0c5758c
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/clr commit: a6c58d73f6 ]
2018-05-04 14:13:13 -04:00
Evgeny Mankov
5ddc1b37a6
[HIPIFY][test] add cuDNN test
...
[ROCm/clr commit: 0bf8e42caa ]
2018-05-04 12:37:15 +03:00
Evgeny Mankov
19106d767e
[HIPIFY][doc] Readme.md update
...
+ supported CUDA version to LLVM version correspondence table is added.
+ Test section is rewritten.
+ Windows support is added.
[ROCm/clr commit: b6d4c7cfe6 ]
2018-05-04 10:50:18 +03:00
foreman
de2b0d5bba
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/clr commit: f404808c04 ]
2018-05-03 21:26:33 -04:00
foreman
9d351947ec
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/clr commit: d6ffa28a5f ]
2018-05-03 18:56:01 -04:00
foreman
c3ff6cb312
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/clr commit: f1f8ea8266 ]
2018-05-03 18:26:45 -04:00
Evgeny Mankov
d008022018
[HIPIFY] Initial cuDNN support
...
- based on https://github.com/ROCmSoftwarePlatform/hipDNN .
- lit testing was supplemented with CUDA_DNN_ROOT_DIR for cuDNN testing.
- single cuDNN test was added.
[ROCm/clr commit: 4d19bd1da5 ]
2018-05-03 11:33:40 +03:00
Evgeny Mankov
b7cbef22de
Merge pull request #417 from emankov/master
...
[HIPIFY] Sync with HIP (Execution Control, Surfaces, Memory)
[ROCm/clr commit: 0ad4d520ed ]
2018-05-03 10:45:51 +03:00
Lakhan Singh
6278830c1a
Null checks added for hipmallocpitch and hipmemcpy apis
...
[ROCm/clr commit: 12d8a47c0c ]
2018-05-03 09:27:50 +05:30
foreman
8ea8ef1836
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/clr commit: 16f6cf55e9 ]
2018-05-02 22:25:53 -04:00
foreman
d607c40410
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/clr commit: ed35f0693f ]
2018-05-02 21:08:53 -04:00
foreman
a6af6ea8d7
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/clr commit: 57a05ba4d5 ]
2018-05-02 19:14:52 -04:00