Commit Graph

54851 Commits

Author SHA1 Message Date
Ben Sander fbd22c3e49 Merge branch 'master' into hip_init_alloc 2017-09-14 11:53:33 -05:00
foreman a12776ba65 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


[ROCm/clr commit: 4066449a8b]
2017-09-14 11:58:52 -04: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 a047da2c83 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.

[ROCm/clr commit: de8c59ed00]
2017-09-14 10:55:38 -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
Aaron Enye Shi ffe21c9d75 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 c443f3814f Fix typo in nvcc_detail/hip_runtime_api.h
[ROCm/clr commit: 846b0555b9]
2017-09-14 16:19:57 +05:30
Maneesh Gupta 846b0555b9 Fix typo in nvcc_detail/hip_runtime_api.h 2017-09-14 16:19:57 +05:30
Maneesh Gupta c3c94dcd8d Fix typo in nvcc_detail/hip_runtime_api.h 2017-09-14 16:19:57 +05:30
Maneesh Gupta fb5ba88f2b Merge pull request #180 from 7SK/hip_doc_update
Add more info for inline asm in hip kernel guide and cookbook readme

[ROCm/clr commit: b66f710ff3]
2017-09-14 16:17:04 +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 926c8677ce 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 bb818d9c74 Merge pull request #175 from gargrahul/assert_support
Device side assert support

[ROCm/clr commit: 096caca840]
2017-09-14 16:08:00 +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 c7e5fd24ac Merge pull request #175 from gargrahul/assert_support
Device side assert support
2017-09-14 16:08:00 +05:30
Maneesh Gupta a0f3bed3ab Merge pull request #172 from bensander/streamwaitevent
Streamwaitevent

[ROCm/clr commit: bf8f23b2a4]
2017-09-14 16:07:19 +05:30
Maneesh Gupta bf8f23b2a4 Merge pull request #172 from bensander/streamwaitevent
Streamwaitevent
2017-09-14 16:07:19 +05:30
Maneesh Gupta 61be1d3bfd Merge pull request #172 from bensander/streamwaitevent
Streamwaitevent
2017-09-14 16:07:19 +05:30
sriharikarnam f65fb4755e Add hipDevice[Get/Set]SharedMemConfig API on nvcc details
[ROCm/clr commit: f6fda276ce]
2017-09-14 16:03:19 +05:30
sriharikarnam f6fda276ce Add hipDevice[Get/Set]SharedMemConfig API on nvcc details 2017-09-14 16:03:19 +05:30
sriharikarnam 3e69b2ed5a Add hipDevice[Get/Set]SharedMemConfig API on nvcc details 2017-09-14 16:03:19 +05:30
foreman 80971280eb 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


[ROCm/clr commit: 44b7cfefaf]
2017-09-14 03:14:53 -04:00
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 2e98e3c4a0 Add HIP_INIT_ALLOC to init allocated memory.
[ROCm/clr commit: fff42fd591]
2017-09-13 23:31:48 +00:00
Ben Sander fff42fd591 Add HIP_INIT_ALLOC to init allocated memory. 2017-09-13 23:31:48 +00:00
Ben Sander cea80cd8b3 Add HIP_INIT_ALLOC to init allocated memory. 2017-09-13 23:31:48 +00:00
Chris Freehill b4f2e8d8f1 Remove use of tools library
Change-Id: I80eb95987e1e91c67bd6c3e4b12df934860940f1
2017-09-13 13:49:56 -05:00
Chris Freehill b22f297ea2 Remove use of tools library
Change-Id: I80eb95987e1e91c67bd6c3e4b12df934860940f1


[ROCm/ROCR-Runtime commit: b4f2e8d8f1]
2017-09-13 13:49:56 -05:00
Aaron Enye Shi 718b5a12d6 Added support for RHEL 7.4
[ROCm/clr commit: bfff9bf005]
2017-09-13 14:21:43 -04:00
Aaron Enye Shi bfff9bf005 Added support for RHEL 7.4 2017-09-13 14:21:43 -04:00
Aaron Enye Shi a6028ade1e Added support for RHEL 7.4 2017-09-13 14:21:43 -04:00
foreman fe289ba112 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


[ROCm/clr commit: 8b2c819023]
2017-09-13 14:08:50 -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 8ef3235c5a 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


[ROCm/clr commit: 068bf554fb]
2017-09-13 11:47:55 -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
Chris Freehill 0cb7db7d7e Adjust CMakefile to use defines instead of env. vars.
Change-Id: If5e97269774416eb65ab2d6d3f9e299b950c63a4
2017-09-13 09:33:18 -04:00
Chris Freehill c937b65f2f Adjust CMakefile to use defines instead of env. vars.
Change-Id: If5e97269774416eb65ab2d6d3f9e299b950c63a4


[ROCm/ROCR-Runtime commit: 0cb7db7d7e]
2017-09-13 09:33:18 -04:00
Sandeep Kumar 451f36a42a Add more info for inline asm in hip kernel guide and cookbook readme 2017-09-13 12:57:37 +05:30
Sandeep Kumar 695862fdc6 Add more info for inline asm in hip kernel guide and cookbook readme
[ROCm/clr commit: 6eb1d2d52f]
2017-09-13 12:57:37 +05:30
Sandeep Kumar 6eb1d2d52f Add more info for inline asm in hip kernel guide and cookbook readme 2017-09-13 12:57:37 +05:30
Sandeep Kumar e43802035f Add more info for inline asm in hip kernel guide and cookbook readme 2017-09-13 12:57:37 +05:30
foreman b8032a52ef 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


[ROCm/clr commit: d0cd65755a]
2017-09-13 03:12:50 -04:00
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 aa6fb7ccd4 Update hipcc
[ROCm/clr commit: 4f7972b0ee]
2017-09-12 17:50:44 -04:00
Aaron Enye Shi 4f7972b0ee Update hipcc 2017-09-12 17:50:44 -04:00
Aaron Enye Shi b340f4a6ed Update hipcc 2017-09-12 17:50:44 -04:00
foreman 1e875380b6 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


[ROCm/clr commit: 8aef16e13c]
2017-09-12 17:13:01 -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 84be665e67 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


[ROCm/clr commit: 23f12d5ea4]
2017-09-12 17:07:18 -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