Jorghi12
b33876ee4d
Update math_functions.h
...
CUDA also has a function named labs.
2018-05-26 16:22:10 -04:00
Jorghi12
61ff40a1cf
Update math_functions.cpp
...
CUDA also has a function named labs.
2018-05-26 16:21:14 -04:00
Alex Voicu
0f4a135e5f
Add missing alias half / half2 aliases
2018-05-26 12:10:50 +01:00
Jorghi12
b127488ea9
Adding double/long int signatures for abs
...
Adding overloads for abs that are found in cuda's math_functions.
2018-05-26 00:41:24 -04:00
Jorghi12
13f37d550f
Adding double/long int signatures for abs
...
Adding overloads for abs that are found in cuda's math_functions.
2018-05-26 00:40:14 -04:00
Yaxun (Sam) Liu
9c43970a27
Add more function declarations to hip-clang
2018-05-25 16:18:46 -04:00
Alex Voicu
544adec793
Missing bits.
2018-05-25 20:15:04 +01:00
Alex Voicu
25ac508214
Missing bits.
2018-05-25 20:12:21 +01:00
Alex Voicu
40dad93426
Move converting constructor from _Float16 under macro guard. Refactor.
2018-05-25 19:46:41 +01:00
Yaxun (Sam) Liu
f53e86e1b8
Add math function declaration for hip-clang
2018-05-25 12:22:16 -04:00
foreman
e9039d398e
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
2018-05-24 18:12:49 -04:00
Rahul Garg
27e0566c3a
Use 64x4 grid dims
2018-05-24 23:51:52 +05:30
Rahul Garg
aed2653857
Clean up and fix remaining bytes copy
2018-05-24 23:30:27 +05:30
foreman
9cdb308045
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
2018-05-24 12:01:44 -04:00
Alex Voicu
59a046dd2d
Update hipTestHalf to actually test behaviour. Add missing hipHostfree.
2018-05-24 13:55:30 +01:00
Alex Voicu
f2a86f3e1c
Remove vestigial inline LLVMIR.
2018-05-24 12:46:14 +01:00
Rahul Garg
53a7c61e9b
Fix memcpy2d kernel dims
2018-05-24 17:00:12 +05:30
Rahul Garg
96b4618d26
Correct remaining bytes in copy 2d kernel
2018-05-24 08:27:24 +05:30
foreman
113c711b81
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
2018-05-23 13:40:52 -04:00
Alex Voicu
a8a9f3bdc5
Merge branch 'feature_use_Float16' of https://github.com/ROCm-Developer-Tools/HIP into feature_use_Float16
2018-05-23 17:58:13 +01:00
Alex Voicu
ecefdd6541
Missing commit.
2018-05-23 17:57:47 +01:00
Alex Voicu
36e805cf76
Re-factor half support to match CUDA whilst exploiting native support.
2018-05-23 17:57:09 +01:00
Rahul Garg
2c3d1498d4
Optimize memcpy2D kernel use
2018-05-23 14:43:47 +05:30
Jenkins
ca06311090
Merge 'master' into 'amd-master'
...
Change-Id: I40bfec7bdb863b483485ff5d7ccc6973d9b5f357
2018-05-22 04:09:35 -05:00
Maneesh Gupta
7042fe6067
Merge pull request #464 from gargrahul/fix_memcpy2d_pinned_mem_case
...
Fixed memcpy2D for pinned memory case using 2D kernel
2018-05-22 10:42:28 +05:30
Maneesh Gupta
85342d73b5
Merge pull request #445 from ROCm-Developer-Tools/feature_func_attributes
...
Add support for the hipFuncGetAttributes interface.
2018-05-22 09:37:41 +05:30
Maneesh Gupta
37cdae8cd4
Merge pull request #462 from ROCm-Developer-Tools/mangupta-hipMemcpy-fix
...
hipMemcpy returns success if sizeBytes is 0.
2018-05-22 06:34:22 +05:30
Maneesh Gupta
197cac144d
Merge pull request #418 from pfultz2/host-device-targets
...
Add host and device targets
2018-05-22 06:33:56 +05:30
foreman
6c06a08783
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
2018-05-21 20:02:17 -04:00
Rahul Garg
40fb44dbe6
Fixed memcpy2D for pinned memory case using 2D kernel
2018-05-21 22:14:45 +05:30
Evgeny Mankov
c3d5500acb
Merge pull request #463 from emankov/cuDNN
...
[HIPIFY][DNN] support of cuDNN 7.1.3 - finishing
2018-05-21 18:35:16 +03:00
Evgeny Mankov
5585072e63
[HIPIFY][DNN] support of cuDNN 7.1.3 - finishing
2018-05-21 18:31:20 +03:00
Maneesh Gupta
66d05e6fc3
hipMemcpy returns success if sizeBytes is 0.
...
Fixes SWDEV-153754 & SWDEV-154178.
2018-05-21 15:38:44 +05:30
Jenkins
7e222c6f14
Merge 'master' into 'amd-master'
...
Change-Id: I44d884a9927410d3fafe0d43becdbd3819b544a2
2018-05-21 04:09:40 -05:00
Maneesh Gupta
212bf6b6b3
Merge pull request #460 from mangupta/fix_nvcc_tests
...
Disable incomplete unit tests that don't work on nvcc path
2018-05-21 12:05:12 +05:30
Maneesh Gupta
845cfb4fe5
Merge pull request #459 from mangupta/add_malloc3d_nvcc
...
Add hipMalloc3D to nvcc detail
2018-05-21 12:04:52 +05:30
Maneesh Gupta
92d8e05aa0
Disable incomplete unit tests that don't work on nvcc path
...
Change-Id: If5823ec96a3b2497a08c46ab802c5a0158271053
2018-05-21 11:35:03 +05:30
Maneesh Gupta
5133299804
Add hipMalloc3D to nvcc detail
...
Change-Id: I8a5654066ed1504e3b05eddbbdebf05fd52aa149
2018-05-21 11:33:09 +05:30
Maneesh Gupta
817a6857f2
Merge pull request #456 from founta/master
...
defined hipPitchedPtr when using hipcc with nvcc
2018-05-21 10:53:39 +05:30
Maneesh Gupta
cfb7be414b
Merge pull request #455 from ROCm-Developer-Tools/magic
...
Change HIP fat binary magic number
2018-05-21 09:52:03 +05:30
Maneesh Gupta
43ac6a61e7
Merge pull request #454 from ROCm-Developer-Tools/hip-clang-hipcc
...
Let hipcc suport hip-clang
2018-05-21 09:51:42 +05:30
Siu Chi Chan
86b56068b5
Merge pull request #458 from gargrahul/fix_memcpy2dasync_pinned
...
Fix for memcpy2DAsync for pinned host memory case
2018-05-18 15:58:55 -04:00
foreman
adea953c81
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
2018-05-18 14:34:14 -04:00
Alex Voicu
43fca684c8
Update hip_module.cpp
...
Typo.
2018-05-18 17:50:45 +01:00
Rahul Garg
4f5bdb071c
Fix for memcpy2DAsync for pinned host memory case
2018-05-18 21:09:50 +05:30
founta
5c5d87b0a3
defined hipPitchedPtr
...
Added a define for hipPitchedPtr to resolve a compiler error
2018-05-18 09:11:50 -04:00
Maneesh Gupta
1c93e11cdf
Merge pull request #433 from gargrahul/add_hipmemset3d
...
Added hipMemset3D
2018-05-18 14:54:15 +05:30
Jenkins
6198452991
Merge 'master' into 'amd-master'
...
Change-Id: I34bbe8311825d881c414767ca7bbbb7a0aafc2b8
2018-05-18 04:09:38 -05:00
Maneesh Gupta
43f7705278
Merge pull request #440 from yxsamliu/assert2
...
Add __assert_fail, __device_trap and hipErrorAssert for clang
2018-05-18 14:13:27 +05:30
Maneesh Gupta
bb1f53ac44
Merge pull request #448 from 949f45ac/master
...
Provide correct __mul64hi and __umul64hi builtins, using code from ROCm-Device-Libs
2018-05-18 13:18:16 +05:30