Commit Graph

5814 Commits

Author SHA1 Message Date
Maneesh Gupta b04a576c12 Add signature for hipFuncGetAttributes to nvcc_details
Change-Id: I06d5b50028fcfe3ea9d81f749b02be6b094c0977


[ROCm/clr commit: a923cac5d5]
2018-05-30 11:24:48 +05:30
Rahul Garg a4aa29f24b Fix hipBindTexture on NVCC path
[ROCm/clr commit: d74353b112]
2018-05-30 10:59:07 +05:30
Maneesh Gupta 5d5afbf558 Merge pull request #475 from gargrahul/fix_tex2d_tests
Fix tex2D tests for result value

[ROCm/clr commit: d2cfa6e5e2]
2018-05-30 08:34:51 +05:30
Maneesh Gupta b074d762fa Merge pull request #472 from Jorghi12/patch-3
Adding double/long int signatures for abs

[ROCm/clr commit: 3327a9a2de]
2018-05-30 08:32:14 +05:30
Maneesh Gupta c510903a32 Merge pull request #471 from Jorghi12/patch-4
Adding double/long int signatures for abs

[ROCm/clr commit: fde0613554]
2018-05-30 08:31:32 +05:30
Maneesh Gupta 7bf1ca2fd6 Merge pull request #465 from gargrahul/optimize_memcpy2d
Optimize memcpy2D kernel use

[ROCm/clr commit: fb23ccab58]
2018-05-30 08:31:16 +05:30
Rahul Garg 914abf8c41 Fix runTest return type
[ROCm/clr commit: dabe2fda39]
2018-05-29 16:18:14 +05:30
Rahul Garg 51f21711a7 Fix tex2D tests for result value
[ROCm/clr commit: 28c878f266]
2018-05-29 16:03:37 +05:30
lthakur 53dc974461 HIP test case for 1D texture fetch (#424)
[ROCm/clr commit: 366a0a97ca]
2018-05-29 14:08:01 +05:30
Alex Voicu 377b028628 GCC only supports power-of-2 component counts, so round up to next square.
[ROCm/clr commit: c059619e2c]
2018-05-29 01:22:26 +01:00
Rahul Garg f40b06757c Add 1d texture types for NVCC path
[ROCm/clr commit: 3699e74857]
2018-05-28 15:02:06 +05:30
Jorghi12 8a2d7a25b1 Update math_functions.h
CUDA also has a function named labs.

[ROCm/clr commit: b33876ee4d]
2018-05-26 16:22:10 -04:00
Jorghi12 9b43fd84d0 Update math_functions.cpp
CUDA also has a function named labs.

[ROCm/clr commit: 61ff40a1cf]
2018-05-26 16:21:14 -04:00
Alex Voicu 0a2d514cf8 Add missing alias half / half2 aliases
[ROCm/clr commit: 0f4a135e5f]
2018-05-26 12:10:50 +01:00
Jorghi12 43d55a79e4 Adding double/long int signatures for abs
Adding overloads for abs that are found in cuda's math_functions.

[ROCm/clr commit: b127488ea9]
2018-05-26 00:41:24 -04:00
Jorghi12 fbbaedfdea Adding double/long int signatures for abs
Adding overloads for abs that are found in cuda's math_functions.

[ROCm/clr commit: 13f37d550f]
2018-05-26 00:40:14 -04:00
Yaxun (Sam) Liu c7d481a812 Add more function declarations to hip-clang
[ROCm/clr commit: 9c43970a27]
2018-05-25 16:18:46 -04:00
Alex Voicu badea56b4f Missing bits.
[ROCm/clr commit: 544adec793]
2018-05-25 20:15:04 +01:00
Alex Voicu 0dfdaf1808 Missing bits.
[ROCm/clr commit: 25ac508214]
2018-05-25 20:12:21 +01:00
Alex Voicu 7a480af716 Move converting constructor from _Float16 under macro guard. Refactor.
[ROCm/clr commit: 40dad93426]
2018-05-25 19:46:41 +01:00
Yaxun (Sam) Liu 494f7f6a38 Add math function declaration for hip-clang
[ROCm/clr commit: f53e86e1b8]
2018-05-25 12:22:16 -04:00
foreman 8e925ae2a8 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/clr commit: e9039d398e]
2018-05-24 18:12:49 -04:00
Rahul Garg 0ab5c9d6f1 Use 64x4 grid dims
[ROCm/clr commit: 27e0566c3a]
2018-05-24 23:51:52 +05:30
Rahul Garg 439655d213 Clean up and fix remaining bytes copy
[ROCm/clr commit: aed2653857]
2018-05-24 23:30:27 +05:30
foreman bf393cab7a 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/clr commit: 9cdb308045]
2018-05-24 12:01:44 -04:00
Alex Voicu bfbc4f6587 Update hipTestHalf to actually test behaviour. Add missing hipHostfree.
[ROCm/clr commit: 59a046dd2d]
2018-05-24 13:55:30 +01:00
Alex Voicu a231cd5604 Remove vestigial inline LLVMIR.
[ROCm/clr commit: f2a86f3e1c]
2018-05-24 12:46:14 +01:00
Rahul Garg 4fc64ff4c5 Fix memcpy2d kernel dims
[ROCm/clr commit: 53a7c61e9b]
2018-05-24 17:00:12 +05:30
Rahul Garg 4e52a634a1 Correct remaining bytes in copy 2d kernel
[ROCm/clr commit: 96b4618d26]
2018-05-24 08:27:24 +05:30
foreman f436a9791a 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/clr commit: 113c711b81]
2018-05-23 13:40:52 -04:00
Alex Voicu 2b16b4e31b Missing commit.
[ROCm/clr commit: ecefdd6541]
2018-05-23 17:57:47 +01:00
Rahul Garg 432467d88b Optimize memcpy2D kernel use
[ROCm/clr commit: 2c3d1498d4]
2018-05-23 14:43:47 +05:30
Maneesh Gupta 335dad2feb Merge pull request #464 from gargrahul/fix_memcpy2d_pinned_mem_case
Fixed memcpy2D for pinned memory case using 2D kernel

[ROCm/clr commit: 7042fe6067]
2018-05-22 10:42:28 +05:30
Maneesh Gupta e72516bd2f Merge pull request #445 from ROCm-Developer-Tools/feature_func_attributes
Add support for the hipFuncGetAttributes interface.

[ROCm/clr commit: 85342d73b5]
2018-05-22 09:37:41 +05:30
Maneesh Gupta c3009a7392 Merge pull request #462 from ROCm-Developer-Tools/mangupta-hipMemcpy-fix
hipMemcpy returns success if sizeBytes is 0.

[ROCm/clr commit: 37cdae8cd4]
2018-05-22 06:34:22 +05:30
Maneesh Gupta 40776838cd Merge pull request #418 from pfultz2/host-device-targets
Add host and device targets

[ROCm/clr commit: 197cac144d]
2018-05-22 06:33:56 +05:30
foreman 4abe730e57 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/clr commit: 6c06a08783]
2018-05-21 20:02:17 -04:00
Rahul Garg 54497d1e2b Fixed memcpy2D for pinned memory case using 2D kernel
[ROCm/clr commit: 40fb44dbe6]
2018-05-21 22:14:45 +05:30
Evgeny Mankov 8bf5453afc [HIPIFY][DNN] support of cuDNN 7.1.3 - finishing
[ROCm/clr commit: 5585072e63]
2018-05-21 18:31:20 +03:00
Maneesh Gupta efe6b5e4a0 hipMemcpy returns success if sizeBytes is 0.
Fixes SWDEV-153754 & SWDEV-154178.

[ROCm/clr commit: 66d05e6fc3]
2018-05-21 15:38:44 +05:30
Maneesh Gupta 66dec3e5ab Merge pull request #460 from mangupta/fix_nvcc_tests
Disable incomplete unit tests that don't work on nvcc path

[ROCm/clr commit: 212bf6b6b3]
2018-05-21 12:05:12 +05:30
Maneesh Gupta 47f3529ccf Disable incomplete unit tests that don't work on nvcc path
Change-Id: If5823ec96a3b2497a08c46ab802c5a0158271053


[ROCm/clr commit: 92d8e05aa0]
2018-05-21 11:35:03 +05:30
Maneesh Gupta 96e4122845 Add hipMalloc3D to nvcc detail
Change-Id: I8a5654066ed1504e3b05eddbbdebf05fd52aa149


[ROCm/clr commit: 5133299804]
2018-05-21 11:33:09 +05:30
Maneesh Gupta 23f1dee5c5 Merge pull request #456 from founta/master
defined hipPitchedPtr when using hipcc with nvcc

[ROCm/clr commit: 817a6857f2]
2018-05-21 10:53:39 +05:30
Maneesh Gupta 32911a3b9c Merge pull request #455 from ROCm-Developer-Tools/magic
Change HIP fat binary magic number

[ROCm/clr commit: cfb7be414b]
2018-05-21 09:52:03 +05:30
Maneesh Gupta e8970c6de8 Merge pull request #454 from ROCm-Developer-Tools/hip-clang-hipcc
Let hipcc suport hip-clang

[ROCm/clr commit: 43ac6a61e7]
2018-05-21 09:51:42 +05:30
foreman 0ba24a103a 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/clr commit: adea953c81]
2018-05-18 14:34:14 -04:00
Alex Voicu 677e945726 Update hip_module.cpp
Typo.

[ROCm/clr commit: 43fca684c8]
2018-05-18 17:50:45 +01:00
Rahul Garg 8575112052 Fix for memcpy2DAsync for pinned host memory case
[ROCm/clr commit: 4f5bdb071c]
2018-05-18 21:09:50 +05:30
founta cc87c11be1 defined hipPitchedPtr
Added a define for hipPitchedPtr to resolve a compiler error

[ROCm/clr commit: 5c5d87b0a3]
2018-05-18 09:11:50 -04:00