Граф коммитов

13197 Коммитов

Автор SHA1 Сообщение Дата
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
foreman a36ef232f2 P4 to Git Change 1561039 by gandryey@gera-w8 on 2018/05/29 13:29:24
SWDEV-79445 - OCL generic changes and code clean-up
	- Move modified_ fleld initialization to fix g++ compilation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#36 edit
2018-05-29 13:50:48 -04:00
foreman 51a4d1865c P4 to Git Change 1561015 by gandryey@gera-w8 on 2018/05/29 13:10:06
SWDEV-79445 - OCL generic changes and code clean-up
	Optimize memory dependency tracking logic:
	1. Add modified_ filed to the event object to track memory writes into device memory.
	2. Check memory dependency only if a write operation is currently requested or previously performed.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#100 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#52 edit
2018-05-29 13:18:29 -04:00
Rahul Garg dabe2fda39 Fix runTest return type 2018-05-29 16:18:14 +05:30
Rahul Garg 28c878f266 Fix tex2D tests for result value 2018-05-29 16:03:37 +05:30
lthakur 366a0a97ca HIP test case for 1D texture fetch (#424) 2018-05-29 14:08:01 +05:30
Maneesh Gupta 48b7b4a4ad Merge pull request #473 from gargrahul/add_tex1d_nvcc
Add 1d texture types for NVCC path
2018-05-29 13:54:34 +05:30
foreman 616c2272b0 P4 to Git Change 1560741 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/29 03:00:05
SWDEV-2 - Change OpenCL version number from 2664 to 2665.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2412 edit
2018-05-29 03:10:40 -04:00
Alex Voicu c059619e2c GCC only supports power-of-2 component counts, so round up to next square. 2018-05-29 01:22:26 +01:00
foreman c1e910d666 P4 to Git Change 1560456 by gandryey@gera-w8 on 2018/05/28 14:41:37
SWDEV-154862 - [CQE OCL][DTB][DTB-BLOCKER][Perf][QR][G] Upto 13% Performance drop observed while running CLFFT subtests due to Faulty CL #1559246
	- Disable command queue notification if the event is on the same queue.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_common.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_execute.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_profile_amd.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_sdi_amd.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_thread_trace_amd.cpp#9 edit
2018-05-28 14:56:22 -04:00
Rahul Garg 3699e74857 Add 1d texture types for NVCC path 2018-05-28 15:02:06 +05:30