Commit-Graf

13197 Incheckningar

Upphovsman SHA1 Meddelande Datum
Jenkins 8a818e7c3c Merge 'master' into 'amd-master'
Change-Id: Iabad59882dd6108e1556b30b591126bbd85717ed
2018-06-11 04:09:36 -05:00
srinivas Charupally 47835efac5 Adding struct test for hipLaunchKernel() 2018-06-11 12:37:38 +05:30
Maneesh Gupta 359e6609bc Merge pull request #505 from ROCm-Developer-Tools/fix-hipcc-linker
Let hipcc handle library in linker response file for hip-clang
2018-06-11 12:01:45 +05:30
Maneesh Gupta 181cde1899 Merge pull request #506 from ROCm-Developer-Tools/fix-extern-shared
Add support of extern __shared__ for hip-clang
2018-06-11 11:59:58 +05:30
Maneesh Gupta 7122376751 Merge pull request #509 from odellus/patch-1
Update hip_porting_guide.md
2018-06-11 09:32:36 +05:30
Tomas Wood 683894c698 Update hip_porting_guide.md
use ".hip.cpp" for *source* files
2018-06-09 17:16:08 -07:00
Siu Chi Chan 2fbe29093d Merge pull request #508 from ROCm-Developer-Tools/revert-447-feature_native_vector_types
Revert "Switch over to using native vector types, for better codegen. Remove noise."
2018-06-08 18:11:41 -04:00
Siu Chi Chan d137271083 Revert "Switch over to using native vector types, for better codegen. Remove noise." 2018-06-08 16:48:22 -04:00
Yaxun (Sam) Liu 9566616dd2 Add __device__ to device functions in hip_fp16_math_fwd.h 2018-06-08 11:23:52 -04:00
Yaxun (Sam) Liu 93fbbfc8ad Add more function declarations for hip-clang 2018-06-08 11:20:42 -04:00
Yaxun (Sam) Liu 6215587197 Fix channel_descriptor.h about vector 3 for gcc 2018-06-08 11:18:41 -04:00
Yaxun (Sam) Liu 9398c9c927 Add support of extern __shared__ for hip-clang 2018-06-08 11:17:25 -04:00
Yaxun (Sam) Liu 8d3e4b4475 Let hipcc handle library in linker response file for hip-clang 2018-06-08 11:14:26 -04:00
Jenkins 00ff1de37b Merge 'master' into 'amd-master'
Change-Id: Id3509caf58997df490c201cfec8512318a51dbe9
2018-06-08 04:09:38 -05:00
Maneesh Gupta cb642f14ab Merge pull request #482 from ROCm-Developer-Tools/feature_clean_up_hip_math
Switch to using ROCDL directly, as opposed to via HC. Add missing bits.
2018-06-06 16:07:22 +05:30
Maneesh Gupta a1ad2b9c65 Merge pull request #496 from gargrahul/add_gettexresdesc_nvcc
Add getTextureResourceDescriptor on NVCC
2018-06-06 15:12:11 +05:30
Maneesh Gupta a432847b1b Merge pull request #487 from gargrahul/fix_hiparray_alloc_flag_nvcc
Map hipArray alloc flags on NVCC
2018-06-06 15:11:40 +05:30
Maneesh Gupta 53037472ff Merge pull request #497 from gargrahul/fix_memcpy3d_fastpath
Fix hipMemcpy3D for fast path
2018-06-06 14:44:02 +05:30
Maneesh Gupta 28c5b15d88 Merge pull request #492 from gargrahul/fix_depth_3d_alloc
Fix depth value for 3D allocations
2018-06-06 14:41:23 +05:30
Maneesh Gupta f7c49dde38 Merge pull request #491 from scchan/fix_wait
callback handling: don't need to wait for the thread to become ready
2018-06-06 14:38:25 +05:30
Maneesh Gupta cd20a370eb Merge pull request #489 from gargrahul/add_dev_prop_integrated
Add integrated device property
2018-06-06 14:31:30 +05:30
Maneesh Gupta eab2c3f248 Merge pull request #488 from gargrahul/fix_surface2dobj_test
Fix surface 2d object test for testResult
2018-06-06 14:31:00 +05:30
Maneesh Gupta 95270bcdca Merge pull request #486 from ROCm-Developer-Tools/yxsamliu-patch-1
Add documentation for compiling HIP program with hip-clang
2018-06-06 13:04:23 +05:30
foreman b2f2af72d4 P4 to Git Change 1564519 by johtaylo@johtaylo-jtincrementor2-increment on 2018/06/06 03:00:05
SWDEV-2 - Change OpenCL version number from 2670 to 2671.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2418 edit
2018-06-06 03:09:36 -04:00
foreman f92ce11e65 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
2018-06-05 19:43:49 -04:00
foreman aa7316a8eb P4 to Git Change 1564341 by gandryey@gera-w8 on 2018/06/05 16:37:09
SWDEV-79445 - OCL generic changes and code clean-up
	- Follwoing CL#1564298. Delete the old array

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#421 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#106 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#55 edit
2018-06-05 16:44:03 -04:00
foreman 1130565901 P4 to Git Change 1564298 by gandryey@gera-w8 on 2018/06/05 15:43:17
SWDEV-79445 - OCL generic changes and code clean-up
	- Add reallocation logic for memory dependency. SVM path can send the amount of SVM ptrs over the max size of arguments

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#420 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#105 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#54 edit
2018-06-05 15:48:18 -04:00
Rahul Garg 163d4a5b03 Fix hipMemcpy3D for fast path 2018-06-05 18:54:33 +05:30
Rahul Garg 6f8bcf53b0 Add getTextureResourceDescriptor on NVCC 2018-06-05 18:46:25 +05:30
foreman e979380f6e P4 to Git Change 1563820 by johtaylo@johtaylo-jtincrementor2-increment on 2018/06/05 03:00:06
SWDEV-2 - Change OpenCL version number from 2669 to 2670.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2417 edit
2018-06-05 03:08:48 -04:00
Siu Chi Chan 0d719c514f remove the _ready flag in ihipStreamCallback_t and the mutex that protects it. 2018-06-04 17:29:04 -04:00
Rahul Garg fa6ce7a724 Fix depth value for 3D allocations 2018-06-04 18:00:22 +05:30
Jenkins 0bb5e72dcc Merge 'master' into 'amd-master'
Change-Id: Ic8f0d312c994b1a76325962b267e24d4e65b25c7
2018-06-04 04:09:38 -05:00
Alex Voicu 92c106bcf5 Fix hideous typos. 2018-06-03 03:03:55 +01:00
Siu Chi Chan e21e6ed3a0 callback handler: don't need to wait for the thread to become ready 2018-06-02 17:55:37 -04:00
Alex Voicu 13a1917741 Add missing __device__ for forward declares. 2018-06-02 17:46:37 +01:00
Alex Voicu 513ba4eb8a Switch the atomic implementation to use Clang builtins. 2018-06-02 12:27:17 +01:00
Alex Voicu 68a0dd826d Remove vestigial implementations. 2018-06-02 11:37:08 +01:00
Rahul Garg 94f086e9cd Add integrated device property 2018-06-02 13:11:16 +05:30
foreman 5b1637456d P4 to Git Change 1563123 by johtaylo@johtaylo-jtincrementor2-increment on 2018/06/02 03:00:08
SWDEV-2 - Change OpenCL version number from 2668 to 2669.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2416 edit
2018-06-02 03:18:56 -04:00
Rahul Garg b94f18767f Fix surface 2d object test for testResult 2018-06-02 10:58:03 +05:30
Alex Voicu 3a17e2ad06 Rename for minimal confusion. 2018-06-01 22:55:33 +01:00
foreman 2c4c7ab564 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
2018-06-01 15:01:45 -04:00
foreman 9558b4dc19 P4 to Git Change 1562960 by skudchad@skudchad_test2_win_opencl on 2018/06/01 14:46:26
SWDEV-145570 - [HIP] - Rename SVManager to be more genric. The same functionality can be used for HIP without needing additonal map

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/15054/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#220 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#306 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#591 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#419 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#92 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#104 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.cpp#29 edit
2018-06-01 14:57:43 -04:00
foreman 4214c42b59 P4 to Git Change 1562960 by skudchad@skudchad_test2_win_opencl on 2018/06/01 14:46:26
SWDEV-145570 - [HIP] - Rename SVManager to be more genric. The same functionality can be used for HIP without needing additonal map

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/15054/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#220 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#306 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#591 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#419 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#92 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#104 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#53 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.cpp#29 edit
2018-06-01 14:57:43 -04:00
Alex Voicu b72d82f982 Missing __device__. 2018-06-01 19:48:36 +01:00
Alex Voicu 91d9ec75d7 Fix typos / address review comments. 2018-06-01 16:20:21 +01:00
Alex Voicu f2d7f112ab Re-sync with upstream. 2018-06-01 15:49:05 +01:00
Yaxun (Sam) Liu bb9ad15c34 Update INSTALL.md 2018-06-01 10:19:02 -04:00
Rahul Garg b1b9a477a2 Map hipArray alloc flags on NVCC 2018-06-01 17:28:43 +05:30