Commit Graph

13474 Commits

Author SHA1 Message Date
foreman bd54838ca7 P4 to Git Change 1233743 by bcrane@MSDNBCRANE99-OCL on 2016/02/02 20:45:13
SWDEV-86253 - [QR] 6 to 7% performance drop is observed in BasemarkCL test

	CL1226184 adds serialization to LHIO, because pxproxy accesses global state, without locks, leading to crash, etc.

	To fix OpenCL perf regressions, allow unserialized access to pxproxy.  It may be that OpenCL design leads away from racy behavior, so it may be safe.  This was checked in to gather information.  What software gets perf drops?  Does any software get fixed?

	The dangerous functions are CreateDevice, CreateContext, because the handles from the OS are saved in global caches, and if those global caches are modified in one thread, while other threads are looking-up from the caches - that is a problem.

	TC: http://ocltc:8111/viewModification.html?modId=66278&personal=true

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#158 edit
2016-02-02 20:52:50 -05:00
Peng Sun b20e02ae58 Finish all TODO for error code 2016-02-02 17:39:46 -06:00
scchan 63a6bce3d9 add inline attribute to shfl functions 2016-02-02 12:53:17 -06:00
Ben Sander 714bfcbff6 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP 2016-02-02 10:05:44 -06:00
Ben Sander 182296ce59 Remove warning on ballot/any/all and pop/clz.
Since these are supported in HIP no reason to emit warnings.
2016-02-02 10:02:48 -06:00
streamhsa b14c890851 Adjusted the value of __any as per CUDA -sandeep 2016-02-02 15:25:42 +05:30
streamhsa a7c0be6e4b ADDED Support for __ffs() and __ffsll() having signed input -sandeep 2016-02-02 15:05:46 +05:30
streamhsa e5a491f3c8 Added test for ballot and removing HIP_FUNCTION from hipSampleAtomicsTest.cpp -sandeep 2016-02-02 14:50:55 +05:30
Jack Chung e62a9e1bb7 Merge branch 'privatestaging' of github.com:AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-02 16:28:02 +08:00
Jack Chung 8df395a006 Suppress linker warnings in case HCC distribution contains OpenCL/SPIR symbols 2016-02-02 16:27:42 +08:00
foreman 99556aca1d P4 to Git Change 1233406 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/02 03:01:34
SWDEV-2 - Change OpenCL version number from 2023 to 2024.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1770 edit
2016-02-02 03:13:00 -05:00
scchan ed0a4fc1b7 adding shfl, shfl_up, shfl_down, shfl_xor intrinsics 2016-02-01 23:55:31 -06:00
Ben Sander 0c03868e90 Merge pull request #10 from SethosII/patch-1
Update hip_faq.md based on Sethosll review.  Closes #10
2016-02-01 22:01:17 -06:00
Maneesh Gupta 405ee35a04 Add double and integer intrinsics to test 2016-02-01 16:00:45 +05:30
foreman 6dc767146f P4 to Git Change 1232961 by emankov@em-hsa-amd on 2016/02/01 04:39:58
SWDEV-79309 - OpenCL Compiler Library improvements.

	Minor Legacy Code Cleanup for OpenCL kernel caching feature implementation.

	Testing: precheck-in
	http://ocltc.amd.com:8111/viewModification.html?modId=66106&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true

	Reviewer: Stanislav Mekhanoshin

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#90 edit
2016-02-01 04:47:26 -05:00
Jack Chung 518ef58652 Disable sincosf which has trouble on hcc now. 2016-02-01 17:42:37 +08:00
Maneesh Gupta 97fb876c6a Split math function tests into several smaller tests 2016-02-01 14:36:50 +05:30
Maneesh Gupta 8d01a1db15 Disable testing of unsupported single precision intrinsics 2016-02-01 14:34:28 +05:30
Maneesh Gupta 4b94638bd3 Add few more single precision intrinsics to hcc_detail/hip_runtime.h 2016-02-01 14:29:50 +05:30
Maneesh Gupta c5990d5651 Restrict using namespace hc::precise_math to device only 2016-02-01 14:26:50 +05:30
Maneesh Gupta 0f4fe765c4 Remove redundant #define __HCC__ in hcc_detail/hip_runtime.h 2016-02-01 14:24:41 +05:30
foreman 916f8de56e P4 to Git Change 1232927 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/01 03:00:11
SWDEV-2 - Change OpenCL version number from 2022 to 2023.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1769 edit
2016-02-01 03:11:25 -05:00
Paul Jähne 2872d8dfec Update hip_faq.md
changed Cuda to CUDA for consistency
changed NVIDIA to Nvidia for consistency
corrected apostrophes
corrected section "What hardware does HIP support?"
2016-01-31 13:29:03 +01:00
foreman 57237e521f P4 to Git Change 1232805 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/31 03:00:12
SWDEV-2 - Change OpenCL version number from 2021 to 2022.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1768 edit
2016-01-31 03:09:04 -05:00
foreman ed94a0d1af P4 to Git Change 1232767 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/30 03:00:11
SWDEV-2 - Change OpenCL version number from 2020 to 2021.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1767 edit
2016-01-30 03:11:15 -05:00
foreman 434a3ff361 P4 to Git Change 1232550 by skudchad@skudchad_test_win_opencl2 on 2016/01/29 14:32:21
SWDEV-77172 - Enable ThreadTrace for SVM.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/9671/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#342 edit
2016-01-29 14:39:05 -05:00
foreman f485a378be P4 to Git Change 1232363 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/29 03:00:14
SWDEV-2 - Change OpenCL version number from 2019 to 2020.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1766 edit
2016-01-29 03:12:55 -05:00
foreman f009f13ac4 P4 to Git Change 1232190 by gandryey@gera-w8 on 2016/01/28 15:54:15
SWDEV-86312 - Report correct available LDS size for clGetKernelInfoAMD
	- return LDS size.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuscsi.cpp#35 edit
2016-01-28 16:02:41 -05:00
sunway513 04aa623569 Fix some typos and incorrect namings in comments 2016-01-28 13:17:44 -06:00
sunway513 f531ab50e5 Fix @file and @brief tag on header files 2016-01-28 10:59:21 -06:00
Ben Sander fd1a2721c2 Fix typo in hipStreamWaitEvent. Fixes#9 2016-01-28 09:51:11 -06:00
foreman 91ed3c45fc P4 to Git Change 1231889 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/28 03:00:15
SWDEV-2 - Change OpenCL version number from 2018 to 2019.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1765 edit
2016-01-28 03:10:27 -05:00
foreman 4ad4539710 P4 to Git Change 1231595 by weizhang@weizhang-lnx-opencl on 2016/01/27 12:13:15
SWDEV-85649 - The return of owner() needs to be casted to get amd::Image.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#125 edit
2016-01-27 12:28:37 -05:00
foreman 80ab916a5b P4 to Git Change 1231549 by wchau@wchau_WIN_OCL_HSA on 2016/01/27 11:23:48
SWDEV-79308 - Use 64-bit to calculate the scratch buffer size for OCL.  We observed that the computed scratch buffer size could be > 4G when compilier optimization option is not used.
	Cross branch change - requires CL1231547.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#157 edit
2016-01-27 11:36:07 -05:00
foreman e33c3ccfea P4 to Git Change 1231447 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/27 03:00:10
SWDEV-2 - Change OpenCL version number from 2017 to 2018.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1764 edit
2016-01-27 03:08:14 -05:00
Ben Sander 0dcc03434d Update links in docs to GPUOpen and to Doxygen 2016-01-27 00:23:47 -06:00
Aditya Avinash Atluri f1c3e2cd15 Update README.md 2016-01-26 10:43:41 -05:00
Aditya Avinash Atluri d5e8fa3e86 Corrected compilation error 2016-01-26 10:40:06 -05:00
Ben Sander 304171c1a2 Initial commit for GPUOpen Launch 2016-01-26 20:14:33 -06:00
foreman 7f314354ff P4 to Git Change 1231033 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/26 03:00:16
SWDEV-2 - Change OpenCL version number from 2016 to 2017.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1763 edit
2016-01-26 03:10:46 -05:00
foreman e86b145ec2 P4 to Git Change 1230704 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/25 03:00:14
SWDEV-2 - Change OpenCL version number from 2015 to 2016.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1762 edit
2016-01-25 03:15:39 -05:00
foreman a31a0abe40 P4 to Git Change 1230605 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/24 03:00:11
SWDEV-2 - Change OpenCL version number from 2014 to 2015.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1761 edit
2016-01-24 03:11:00 -05:00
foreman bf64f1645e P4 to Git Change 1230563 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/23 03:00:10
SWDEV-2 - Change OpenCL version number from 2013 to 2014.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1760 edit
2016-01-23 03:12:55 -05:00
foreman c99d679c9e P4 to Git Change 1230521 by gandryey@gera-w8 on 2016/01/22 17:58:08
SWDEV-86035 - Add OCL backend for PAL
	- PAL backend build is disabled by default. "BUILD_PAL_DEVICE = yes" enables the build. You also have to update the client workspace with PAL mapping: //depot/stg/pal/... //<your_opencl_location>/runtime/device/pal/palbe/...

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#130 edit
... //depot/stg/opencl/drivers/opencl/compiler/sclibdefs.opencl#8 edit
... //depot/stg/opencl/drivers/opencl/opencldefs#166 edit
... //depot/stg/opencl/drivers/opencl/openclrules#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/Makefile#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#192 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugger.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugmanager.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugmanager.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d10.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d11.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldeviced3d9.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsched.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palschedcl.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltrap.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/top.hpp#23 edit
2016-01-22 18:18:55 -05:00
foreman 5359977da1 P4 to Git Change 1230222 by bwicakso@opencl-hsa-stg-bwicakso on 2016/01/22 12:13:26
SWDEV-82353 - Enable local memory by default on oclhsa
	Test: tc precheckin http://ocltc.amd.com:8111/viewLog.html?buildId=14201294&tab=buildResultsDiv&buildTypeId=PrecheckinTestsOpenCLSanity_PrecheckinSanityKaveriLinux64bitDebugHsaFoundation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#252 edit
2016-01-22 12:25:38 -05:00
foreman 46d0ec7830 P4 to Git Change 1230108 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/22 03:00:12
SWDEV-2 - Change OpenCL version number from 2012 to 2013.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1759 edit
2016-01-22 03:09:58 -05:00
foreman 7bf5bb51b5 P4 to Git Change 1229824 by bwicakso@opencl-hsa-stg-bwicakso on 2016/01/21 11:45:50
SWDEV-82353 - Remove assert and only assign the customHostAllocDevice_ with the first device that has customHostAllocator.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#38 edit
2016-01-21 11:56:58 -05:00
foreman a6a7510986 P4 to Git Change 1229676 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/21 03:00:11
SWDEV-2 - Change OpenCL version number from 2011 to 2012.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1758 edit
2016-01-21 03:09:34 -05:00
foreman 22b26ca387 P4 to Git Change 1229520 by fdaniil@spb_fdaniil_amd_hsa_brigvar_test on 2016/01/20 17:01:23
SWDEV-82159 - [CQE OCL][ISV][QR] Error is observed while debugging the sample with CodeXL; Faulty CL:1208929

	[Synopsis]
	compile from binary logic changes caused issue with resulting binary generation in CodeXL

	[Solution]
	do not use compile options from binary if they are explicitly specified

	[Testing]
	precheckin, MCL
	Reviewed by Evgeniy Mankov, German Andryeyev

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#78 edit
2016-01-20 17:10:22 -05:00
foreman 86962e50fe P4 to Git Change 1229261 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/01/20 03:00:10
SWDEV-2 - Change OpenCL version number from 2010 to 2011.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1757 edit
2016-01-20 03:07:19 -05:00