Commit Graph

13557 Commits

Author SHA1 Message Date
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
Maneesh Gupta 095d4dd91e Merge pull request #484 from gargrahul/fix_malloc_hiphostreg
Fix memcpy2D for malloc+ hostRegister
2018-06-01 16:53:25 +05:30
Maneesh Gupta 3fec282097 Merge pull request #447 from ROCm-Developer-Tools/feature_native_vector_types
Switch over to using native vector types, for better codegen. Remove noise.
2018-06-01 13:58:07 +05:30
Maneesh Gupta 8ecb3eeb55 Merge pull request #466 from ROCm-Developer-Tools/feature_use_Float16
Feature use _Float16 and match CUDA __half behaviour.
2018-06-01 13:50:12 +05:30
foreman 9c63c5efb5 P4 to Git Change 1562633 by johtaylo@johtaylo-jtincrementor2-increment on 2018/06/01 03:00:06
SWDEV-2 - Change OpenCL version number from 2667 to 2668.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2415 edit
2018-06-01 03:10:53 -04:00
Yaxun (Sam) Liu 3ed6fff0db Update INSTALL.md 2018-05-31 23:55:42 -04:00
foreman 28247da814 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
2018-05-31 18:18:00 -04:00
foreman 97223251ca P4 to Git Change 1562330 by gandryey@gera-w8 on 2018/05/31 14:48:10
SWDEV-79445 - OCL generic changes and code clean-up
	- Restore reatain/release methods in the device object, removed in CL#1398097. There is a crash in the old SHOC11_DeviceMemory test on TC.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#305 edit
2018-05-31 14:55:04 -04:00
Alex Voicu e03ca1a72e Re-sync with upstream. Add integer abs. 2018-05-31 16:38:00 +01:00
Alex Voicu e20380319a Merge branch 'feature_use_Float16' of https://github.com/ROCm-Developer-Tools/HIP into feature_use_Float16 2018-05-31 15:27:31 +01:00
Alex Voicu 208f5a41c6 Add missing interop with volatile. Fix unit tests. 2018-05-31 15:27:12 +01:00
Jenkins a98791744f Merge 'master' into 'amd-master'
Change-Id: I7fc7c2321bc4d89c69271a648f8450deb0c53e02
2018-05-31 04:09:40 -05:00
Rahul Garg a3609eaf61 Fix memcpy2D for malloc+ hostRegister 2018-05-31 13:14:27 +05:30
foreman 8a7d8ba5f5 P4 to Git Change 1561978 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/31 03:00:09
SWDEV-2 - Change OpenCL version number from 2666 to 2667.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2414 edit
2018-05-31 03:07:23 -04:00
Maneesh Gupta 2271d26cda Merge pull request #480 from yxsamliu/add-fun
Add more function declarations for hip-clang
2018-05-31 09:27:54 +05:30
Maneesh Gupta f815552066 Merge pull request #481 from gargrahul/fix_texobj1dfetch_test
Fixed texture obj 1Dfetch test
2018-05-31 09:14:31 +05:30
Maneesh Gupta c264dcb715 Merge pull request #479 from yxsamliu/fix-hipcc
Drop --amdgpu-target= options for hip-clang
2018-05-31 09:12:36 +05:30
Alex Voicu 14e6a04387 Switch to using ROCDL directly, as opposed to via HC. Add missing bits. 2018-05-31 03:17:26 +01:00
foreman d703ef373a P4 to Git Change 1561847 by gandryey@gera-w8 on 2018/05/30 17:34:28
SWDEV-79445 - OCL generic changes and code clean-up
	- Replace resize(0) with clear() for std::vector. Clear() should preserve the original memory for data.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#103 edit
2018-05-30 18:48:09 -04:00
Yaxun (Sam) Liu 0e0b028846 Fix __syncthreads for hip-clang 2018-05-30 16:33:18 -04:00
foreman b8a9cdb20e P4 to Git Change 1561794 by gandryey@gera-w8 on 2018/05/30 16:14:30
SWDEV-79445 - OCL generic changes and code clean-up
	- Move memory sync logic to processMemObjectsHSA() to simplify the arguments setup

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#102 edit
2018-05-30 16:22:34 -04:00
Rahul Garg 7cfd059919 Fixed texture obj 1Dfetch test 2018-05-30 21:54:51 +05:30
Yaxun (Sam) Liu 27fe2283d6 Add more function declarations for hip-clang 2018-05-30 06:51:03 -04:00
Yaxun (Sam) Liu 3609e6f3b2 Drop --amdgpu-target= options for hip-clang
They are replaced by --cuda-gpu-arch= options elsewhere
2018-05-30 06:47:44 -04:00
Maneesh Gupta e5b8358b05 Merge pull request #469 from yxsamliu/fun
Add math function declaration for hip-clang
2018-05-30 15:01:27 +05:30
Jenkins c7366831e3 Merge 'master' into 'amd-master'
Change-Id: If682eb69168da413136c4e5c110468ac658139b7
2018-05-30 04:09:39 -05:00
foreman 7a0c50c4c5 P4 to Git Change 1561407 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/30 03:00:07
SWDEV-2 - Change OpenCL version number from 2665 to 2666.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2413 edit
2018-05-30 03:08:52 -04:00
Maneesh Gupta ab579ae0e3 Merge pull request #477 from mangupta/hipfuncgetattr_nvcc
Add signature for hipFuncGetAttributes to nvcc_details
2018-05-30 12:29:03 +05:30
Maneesh Gupta 87baa0f742 Merge pull request #478 from gargrahul/fix_tex1dfetch_test
Fixed tex1dFetch test
2018-05-30 12:13:47 +05:30
Rahul Garg 3b0842e70a Fixed tex1dFetch test 2018-05-30 11:42:01 +05:30
Maneesh Gupta e2842f2f28 [dtests] Fix nvcc path build errors in hipFuncGetAttributes.tst
Change-Id: I000bed69162897f7b6edd733ed6e9acc93beb0ed
2018-05-30 11:26:11 +05:30
Maneesh Gupta a923cac5d5 Add signature for hipFuncGetAttributes to nvcc_details
Change-Id: I06d5b50028fcfe3ea9d81f749b02be6b094c0977
2018-05-30 11:24:48 +05:30
Maneesh Gupta f160629268 Merge pull request #476 from gargrahul/fix_bindtexture_nvcc
Fix hipBindTexture on NVCC path
2018-05-30 11:21:27 +05:30
Rahul Garg d74353b112 Fix hipBindTexture on NVCC path 2018-05-30 10:59:07 +05:30
foreman 818a6d46d2 P4 to Git Change 1561359 by todli@todli-win-opencl-kv1 on 2018/05/30 01:19:53
SWDEV-152361 - add memory reference to MainEngine queue before initializing BusAddressable memory

	http://ocltc.amd.com/reviews/r/14978/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#101 edit
2018-05-30 01:27:28 -04:00
Maneesh Gupta d2cfa6e5e2 Merge pull request #475 from gargrahul/fix_tex2d_tests
Fix tex2D tests for result value
2018-05-30 08:34:51 +05:30
Maneesh Gupta 3327a9a2de Merge pull request #472 from Jorghi12/patch-3
Adding double/long int signatures for abs
2018-05-30 08:32:14 +05:30
Maneesh Gupta fde0613554 Merge pull request #471 from Jorghi12/patch-4
Adding double/long int signatures for abs
2018-05-30 08:31:32 +05:30
Maneesh Gupta fb23ccab58 Merge pull request #465 from gargrahul/optimize_memcpy2d
Optimize memcpy2D kernel use
2018-05-30 08:31:16 +05:30
foreman 0680df2550 P4 to Git Change 1561216 by gandryey@gera-w8 on 2018/05/29 18:05:31
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove parent_ field from the device object, since it was used for subdevices only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#219 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#304 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#590 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#45 edit
2018-05-29 18:13:40 -04:00
foreman 12315470b7 P4 to Git Change 1561216 by gandryey@gera-w8 on 2018/05/29 18:05:31
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove parent_ field from the device object, since it was used for subdevices only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#219 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#304 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#590 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#45 edit
2018-05-29 18:13:40 -04:00