Wykres commitów

13474 Commity

Autor SHA1 Wiadomość Data
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
foreman 176867f31b P4 to Git Change 1560058 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/27 03:00:36
SWDEV-2 - Change OpenCL version number from 2663 to 2664.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2411 edit
2018-05-27 03:08:19 -04:00
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
foreman f2d23cbd01 P4 to Git Change 1560039 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/26 03:00:04
SWDEV-2 - Change OpenCL version number from 2662 to 2663.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2410 edit
2018-05-26 03:14:00 -04: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
foreman 4e1c25c90d P4 to Git Change 1559770 by gandryey@gera-w8 on 2018/05/25 12:44:43
SWDEV-79445 - OCL generic changes and code clean-up
	- Switch to USWC memory for command buffers

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#99 edit
2018-05-25 12:49:57 -04:00
Yaxun (Sam) Liu f53e86e1b8 Add math function declaration for hip-clang 2018-05-25 12:22:16 -04:00
foreman ace88c8b63 P4 to Git Change 1559533 by johtaylo@johtaylo-jtincrementor2-increment on 2018/05/25 03:00:15
SWDEV-2 - Change OpenCL version number from 2661 to 2662.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2409 edit
2018-05-25 03:10:30 -04:00
foreman be77b7fac1 P4 to Git Change 1559383 by gandryey@gera-w8 on 2018/05/24 18:38:36
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove memory reallocation interfaces. It was used for AMDIL path with HW constant buffers support. It seems AMDIL with SI+ doesn't enable HW const buffers.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#303 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#589 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.hpp#166 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#324 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#129 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#132 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.hpp#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#105 edit
2018-05-24 18:49:01 -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
foreman 3ac03daffc 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
foreman 73dd22dba8 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
foreman f095889106 P4 to Git Change 1559253 by gandryey@gera-w8 on 2018/05/24 15:44:23
SWDEV-79445 - OCL generic changes and code clean-up
	- Following CL#1558704. Fix a regression with AMDIL path. Allocate default device sampler

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#588 edit
2018-05-24 15:56:10 -04:00
foreman 34f6e5c3cd P4 to Git Change 1559246 by gandryey@gera-w8 on 2018/05/24 15:30:37
SWDEV-79445 - OCL generic changes and code clean-up
	- Notify command queues about waiting events before command submission. That allows to issue a marker earlier to avoid extra latency when other jobs can be submitted before a notification in the worker thread.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_common.hpp#21 edit
2018-05-24 15:36:09 -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