Commit Graph

13557 Commits

Author SHA1 Message Date
Jenkins d2f4b4a411 Merge 'master' into 'amd-master'
Change-Id: I7faf1139f498cdf3eddf1983ad7a101ad19bc2b2
2017-09-20 04:10:54 -05:00
foreman 5b85bc981c P4 to Git Change 1460945 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/20 03:00:04
SWDEV-2 - Change OpenCL version number from 2501 to 2502.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2249 edit
2017-09-20 03:13:12 -04:00
Siu Chi Chan bf6a3f4294 ensure the condition is evaluated before applying the negation operator 2017-09-20 01:38:28 -04:00
Maneesh Gupta 794ea64e6e Merge pull request #183 from wsttiger/master
Remove the conversion of warpSize to be consistent with hipDeviceProp
2017-09-20 09:15:18 +05:30
Maneesh Gupta 9ab3184aab Merge pull request #184 from emankov/master
[HIPIFY] Fix typo in doc
2017-09-20 09:11:50 +05:30
Maneesh Gupta 0166e6ff68 Merge pull request #161 from kknox/hcc-integration-testing-squash
HCC integration testing
2017-09-20 09:10:30 +05:30
foreman f42b464126 P4 to Git Change 1460659 by skudchad@skudchad_test2_win_opencl on 2017/09/19 14:21:48
SWDEV-95919 - Expose all MCVML2 counters for gfx9 on PAL OCL backend.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#40 edit
2017-09-19 15:15:04 -04:00
foreman 61de12fb47 P4 to Git Change 1460349 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/19 03:00:07
SWDEV-2 - Change OpenCL version number from 2500 to 2501.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2248 edit
2017-09-19 03:15:02 -04:00
foreman fb18f128c9 P4 to Git Change 1460106 by wchau@wchau_OCL_boltzmann on 2017/09/18 15:29:29
SWDEV-120036 - Supporting the cl_amd_device_attribute_query on the ROC device - Back out changelist 1459984
	- not all device attributes are supported, will re-submit the changes when every attribute is supported.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#26 edit
2017-09-18 17:12:05 -04:00
foreman a851cc152c P4 to Git Change 1460028 by wchau@wchau_OCL_boltzmann on 2017/09/18 14:03:40
SWDEV-111439 - Add query for preferred constant size
	- fixed a mistake of using 64KiB for the size, which should be 16KiB.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#576 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#63 edit
2017-09-18 14:15:44 -04:00
foreman d540aab99d P4 to Git Change 1459984 by wchau@wchau_OCL_boltzmann on 2017/09/18 12:13:12
SWDEV-120036 - Supporting the cl_amd_device_attribute_query on the ROC device

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#25 edit
2017-09-18 12:28:52 -04:00
Evgeny Mankov bbaf16b263 [HIPIFY] CUDA RT Textures support update 2017-09-18 17:52:50 +03:00
Evgeny Mankov bfa3a0a433 [HIPIFY] Fix typo in doc 2017-09-18 17:26:33 +03:00
foreman f8bc731619 P4 to Git Change 1459702 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2499 to 2500.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2247 edit
2017-09-16 03:14:05 -04:00
Jenkins 9fe3a9362f Merge 'master' into 'amd-master'
Change-Id: I05d997b8f72cb3fdca93aacf787514a0aa288081
2017-09-15 16:51:04 -05:00
wsttiger bda788ca97 Remove the conversion of warpSize to be consistent with hipDeviceProp 2017-09-15 15:05:05 -05:00
Ben Sander 5e48654932 Merge pull request #182 from whchung/bump_major_version
Bump device major version from 2 to 3
2017-09-15 11:15:35 -05:00
Wen-Heng (Jack) Chung 1efc99e69f Bump device major version from 2 to 3
This would significantly improve performance for certain apps in kernel
selection logic.
2017-09-15 15:47:39 +00:00
Jenkins fa97bd7751 Merge 'master' into 'amd-master'
Change-Id: I7782abb64120ea7da07d0cd3af4dbf1d60ba4f09
2017-09-15 10:30:45 -05:00
Kent Knox 6020c8b499 Adding boolean parameter to job to push to docker-hub
Remove the restriction to build only on gfx803
2017-09-15 10:25:26 -05:00
Kent Knox 8840fc3f87 Made function hcc_integration_testing 2017-09-15 10:25:26 -05:00
Kent Knox 60908fe8da Adding support to take parameters from upstream hcc
HCC build can start passing in build parameters into hip build
2017-09-15 10:25:26 -05:00
Kent Knox 46f9300a12 Adding docker_clean_images 2017-09-15 10:25:26 -05:00
Kent Knox c8c5016601 Adding docker_upload_dockerhub
Refactored when docker images get deleted to the end of the
pipeline
2017-09-15 10:25:26 -05:00
Kent Knox c363e03874 Adding support to upload images to docker-hub 2017-09-15 10:25:26 -05:00
foreman 040f46d584 P4 to Git Change 1459235 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/15 03:00:04
SWDEV-2 - Change OpenCL version number from 2498 to 2499.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2246 edit
2017-09-15 03:13:25 -04:00
Maneesh Gupta 01163d327b Merge pull request #155 from wsttiger/master
Modify hip headers such that they are more compatible with strict C compiler
2017-09-15 10:49:55 +05:30
Maneesh Gupta 39fb3230e5 Merge pull request #177 from aaronenyeshi/patch-2
[CentOS7] Fix HIP sample hipInfo and other tests
2017-09-15 10:49:01 +05:30
foreman 86c8a67059 P4 to Git Change 1459027 by wchau@wchau_OCL_boltzmann on 2017/09/14 15:39:04
SWDEV-111439 - Add query for preferred constant size

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#34 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#291 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#575 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#61 edit
2017-09-14 16:26:32 -04:00
foreman b44fd81c76 P4 to Git Change 1459027 by wchau@wchau_OCL_boltzmann on 2017/09/14 15:39:04
SWDEV-111439 - Add query for preferred constant size

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl1.2/CL/cl_ext.h#18 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_ext.h#34 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.1/CL/cl_ext.h#11 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.2/CL/cl_ext.h#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#291 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#575 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#61 edit
2017-09-14 16:26:32 -04:00
Ben Sander b54ab82694 Merge pull request #179 from gargrahul/fix_hipmallocarray
Fixed hipMallocArray for 1D cases
2017-09-14 12:59:33 -05:00
Ben Sander 05ea7d1b3c Merge pull request #181 from bensander/hip_init_alloc
Add HIP_INIT_ALLOC to init allocated memory.
2017-09-14 12:57:31 -05:00
Ben Sander 1ea468e279 Merge branch 'master' into hip_init_alloc 2017-09-14 11:53:33 -05:00
foreman 4066449a8b P4 to Git Change 1458879 by gandryey@gera-w8 on 2017/09/14 11:41:44
SWDEV-129129 - [[CQE OCL][Vega vs Fiji] Upto 12% Performance drop observed on VEGA10 compared to FIJI while running BlackMagic Davinci Resolve
	More benchmark tuning:
	- Keep system memory locked in the resource cache. That removes huge amount of lock/unlock calls to OS due to the resource creation and destruciton
	- Reduce the command buffer size to 256 commands and incrrease the amount of CBs to 16
	- Increase the amount of resident resources to 2048

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#574 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#31 edit
2017-09-14 11:58:52 -04:00
Aaron Enye Shi de8c59ed00 hcc-config already sets -lc++ -lc++abi flags
Since hcc-config will set the flags for CentOS7 and RHEL 7.X, we don't need to set flags here.
2017-09-14 10:55:38 -04:00
Maneesh Gupta 846b0555b9 Fix typo in nvcc_detail/hip_runtime_api.h 2017-09-14 16:19:57 +05:30
Maneesh Gupta b66f710ff3 Merge pull request #180 from 7SK/hip_doc_update
Add more info for inline asm in hip kernel guide and cookbook readme
2017-09-14 16:17:04 +05:30
Maneesh Gupta 096caca840 Merge pull request #175 from gargrahul/assert_support
Device side assert support
2017-09-14 16:08:00 +05:30
Maneesh Gupta bf8f23b2a4 Merge pull request #172 from bensander/streamwaitevent
Streamwaitevent
2017-09-14 16:07:19 +05:30
sriharikarnam f6fda276ce Add hipDevice[Get/Set]SharedMemConfig API on nvcc details 2017-09-14 16:03:19 +05:30
foreman 44b7cfefaf P4 to Git Change 1458724 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/14 03:00:06
SWDEV-2 - Change OpenCL version number from 2497 to 2498.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2245 edit
2017-09-14 03:14:53 -04:00
Ben Sander fff42fd591 Add HIP_INIT_ALLOC to init allocated memory. 2017-09-13 23:31:48 +00:00
Aaron Enye Shi bfff9bf005 Added support for RHEL 7.4 2017-09-13 14:21:43 -04:00
foreman 8b2c819023 P4 to Git Change 1458387 by rili@rili-new-stg-pal-opencl on 2017/09/13 13:59:02
SWDEV-131925 - Initialize virtual queue
	                            Code Review: http://ocltc.amd.com/reviews/r/13436/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#57 edit
2017-09-13 14:08:50 -04:00
foreman 068bf554fb P4 to Git Change 1458325 by gandryey@gera-w8 on 2017/09/13 11:33:32
SWDEV-132238 - [CQE OCL][Vega10][DTB-Blocker][QR] 'Allocation (Single)' test of WF Conformance is failing; Faulty CL# 1451444
	- Disable reporting extra HBCC memory by default. Reporting extra memory can be reenabled with GPU_ADD_HBCC_SIZE=1

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#280 edit
2017-09-13 11:47:55 -04:00
Sandeep Kumar 6eb1d2d52f Add more info for inline asm in hip kernel guide and cookbook readme 2017-09-13 12:57:37 +05:30
foreman d0cd65755a P4 to Git Change 1458204 by johtaylo@johtaylo-jtincrementor-increment on 2017/09/13 03:00:04
SWDEV-2 - Change OpenCL version number from 2496 to 2497.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2244 edit
2017-09-13 03:12:50 -04:00
Aaron Enye Shi 4f7972b0ee Update hipcc 2017-09-12 17:50:44 -04:00
foreman 8aef16e13c P4 to Git Change 1458035 by wchau@wchau_OCL_boltzmann on 2017/09/12 16:31:24
SWDEV-130808 - set the local sizes to preferredWorkGroupSize_ when clEnqueueNDRange is not given and the kernel does not have required workgroup sizes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#320 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#411 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#43 edit
2017-09-12 17:13:01 -04:00
foreman 23f12d5ea4 P4 to Git Change 1458033 by asalmanp@asalmanp-ocl-stg on 2017/09/12 16:29:49
SWDEV-130722 - Channel order in an interop buffer from OpenCL to OpenGL is flipped on Vega

	Follow up for CL#1456230. Adding a new table that maps the OGL surface formats (hData.format) returned by wglResourceAttachAMD function into the OCL image format. The hData.format is the internal image surface format created for an interop by OGL and should be used by OCL for cl_gl interop.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/13421/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#36 edit
2017-09-12 17:07:18 -04:00