Wykres commitów

3311 Commity

Autor SHA1 Wiadomość Data
foreman d033b0eee9 P4 to Git Change 2034784 by gandryey@gera-hip-lnx on 2019/11/21 16:31:24
SWDEV-79445 - OCL generic changes and code clean-up
	- Enable WGP mode in ROCr GFX10 by default
	- Read GPU_ENABLE_WAVE32_MODE environment variable to control wave32/64 on ROCr

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#142 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#46 edit
2019-11-21 16:33:51 -05:00
foreman e4d5473068 P4 to Git Change 2034397 by chui@ocl-promo-incrementor on 2019/11/21 03:00:11
SWDEV-2 - Change OpenCL version number from 3043 to 3044.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2791 edit
2019-11-21 03:02:57 -05:00
foreman 07d13a34d9 P4 to Git Change 2033779 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/20 07:17:56
SWDEV-144570 - Update function global during hipModuleLoad.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#47 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#48 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#35 edit
2019-11-20 07:24:20 -05:00
foreman cd6595375b P4 to Git Change 2033674 by chui@ocl-promo-incrementor on 2019/11/20 03:00:10
SWDEV-2 - Change OpenCL version number from 3042 to 3043.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2790 edit
2019-11-20 03:07:23 -05:00
foreman 410d09a835 P4 to Git Change 2032867 by chui@ocl-promo-incrementor on 2019/11/19 03:00:10
SWDEV-2 - Change OpenCL version number from 3041 to 3042.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2789 edit
2019-11-19 02:12:21 -06:00
foreman db3812e2ad P4 to Git Change 2031811 by chui@ocl-promo-incrementor on 2019/11/17 03:00:10
SWDEV-2 - Change OpenCL version number from 3040 to 3041.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2788 edit
2019-11-18 07:14:06 -05:00
foreman 86d28f8e69 P4 to Git Change 2031718 by chui@ocl-promo-incrementor on 2019/11/16 03:00:09
SWDEV-2 - Change OpenCL version number from 3039 to 3040.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2787 edit
2019-11-16 03:06:10 -05:00
foreman 58e4bca449 P4 to Git Change 2031605 by gandryey@gera-win10 on 2019/11/15 16:34:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Make sure transfer doesn't exceed CP dma limit

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#81 edit
2019-11-15 16:38:27 -05:00
foreman 1abf6a3655 P4 to Git Change 2031447 by gandryey@gera-win10 on 2019/11/15 13:01:06
SWDEV-79445 - OCL generic changes and code clean-up
	- Restore the original logic for PAL_DISABLE_SDMA

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#106 edit
2019-11-15 13:04:36 -05:00
foreman 465e4b302e P4 to Git Change 2031436 by gandryey@gera-win10 on 2019/11/15 12:23:57
SWDEV-79445 - OCL generic changes and code clean-up
	- Disable SDMA and use 32KB LDS for VanGoghLite

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#105 edit
2019-11-15 12:27:42 -05:00
foreman 1be3ca9196 P4 to Git Change 2031217 by chui@ocl-promo-incrementor on 2019/11/15 03:00:09
SWDEV-2 - Change OpenCL version number from 3038 to 3039.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2786 edit
2019-11-15 03:05:37 -05:00
foreman 43f22ea424 P4 to Git Change 2030347 by chui@ocl-promo-incrementor on 2019/11/14 03:00:09
SWDEV-2 - Change OpenCL version number from 3037 to 3038.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2785 edit
2019-11-14 03:03:08 -05:00
foreman 55ce170a7c P4 to Git Change 2029642 by chui@ocl-promo-incrementor on 2019/11/13 03:00:08
SWDEV-2 - Change OpenCL version number from 3036 to 3037.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2784 edit
2019-11-13 03:07:18 -05:00
foreman b2f8050ede P4 to Git Change 2029039 by kjayapra@0_HIPWS_LNX1_ROCM on 2019/11/12 12:52:46
SWDEV-210844 - Implementing hipExtGetLinkTypeAndHopCount

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#344 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#141 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#44 edit
2019-11-12 12:55:17 -05:00
foreman 1927416168 P4 to Git Change 2028995 by jatang@jatang_win_pal_lc on 2019/11/12 11:56:20
SWDEV-207835 - Implement uniform package versioning for cmake version of OpenCL.

	Need to generate the same style of packages name as the Makefile version does.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#29 edit
2019-11-12 12:04:53 -05:00
foreman 2a927f1c3b P4 to Git Change 2028744 by chui@ocl-promo-incrementor on 2019/11/12 03:00:07
SWDEV-2 - Change OpenCL version number from 3035 to 3036.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2783 edit
2019-11-12 03:07:45 -05:00
foreman 131437441e P4 to Git Change 2028285 by axie@axie-hip-rocm on 2019/11/11 12:03:24
SWDEV-193973 - [OpenCL][NV21] Add support for Navi21
	Add #ifndef OPENCL_MAINLINE around Navi 21 source code. This is to facilitate Open Source preparation.

	Tests:
	http://ocltc.amd.com:8111/viewModification.html?modId=128639&personal=true&tab=vcsModificationBuilds

	ReviewBoard: http://ocltc.amd.com/reviews/r/18267/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#140 edit
2019-11-11 12:06:15 -05:00
foreman eb364125d5 P4 to Git Change 2027775 by chui@ocl-promo-incrementor on 2019/11/09 03:00:06
SWDEV-2 - Change OpenCL version number from 3034 to 3035.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2782 edit
2019-11-09 03:13:41 -05:00
foreman 1f0d5016ed P4 to Git Change 2027470 by axie@axie-hip-rocm on 2019/11/08 13:48:51
SWDEV-198863 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_DB (phase 3)
	Use ClPrint to implement other log functions.
	Move some funtion to use new log functions.
	This is the final change of the JIRA.

	Tests:
	1. Linux HIP ROCM platform. VEGA10. Driver is release build.
	1.1 export LOG_LEVEL=3
	      ./hipModule
	      There are many logs.
	1.2 export GPU_LOG_MASK=0
	     ./hipModule
	     There is no log
	2. Windows HIP PAL platform. VEGA10, Driver is release build.
	2.1 set LOG_LEVEL=3
	    run test hipPrintfKernel
	    There are many logs
	2.2 set GPU_LOG_MASK=0
	    run test hipPrintfKernel
	    There is no log

	3. http://ocltc.amd.com:8111/viewModification.html?modId=128588&personal=true&tab=vcsModificationBuilds

	ReviewBoard: http://ocltc.amd.com/reviews/r/18259/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#177 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#157 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#14 edit
2019-11-08 13:54:34 -05:00
foreman 106f1cfef8 P4 to Git Change 2027394 by axie@axie-hip-rocm on 2019/11/08 11:33:17
SWDEV-193973 - [OpenCL][NV21] Add support for Navi21
	Add IDs.

	Tests:
	http://ocltc.amd.com:8111/viewModification.html?modId=128585&personal=true&tab=vcsModificationBuilds
	http://ocltc.amd.com:8111/viewModification.html?modId=128554&personal=true&tab=vcsModificationBuilds
	http://ocltc.amd.com:8111/viewModification.html?modId=128550&personal=true&tab=vcsModificationBuilds

	ReviewBoard: http://ocltc.amd.com/reviews/r/18249/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#139 edit
2019-11-08 11:38:06 -05:00
foreman 73048b9aa1 P4 to Git Change 2027191 by chui@ocl-promo-incrementor on 2019/11/08 03:00:05
SWDEV-2 - Change OpenCL version number from 3033 to 3034.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2781 edit
2019-11-08 03:12:03 -05:00
foreman 7434cabbf7 P4 to Git Change 2026938 by axie@axie-hip-rocm on 2019/11/07 17:44:09
SWDEV-198859 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_DB

	There are regression caused by this change in ocltst test.
	Back out changelist 2026859

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#176 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#156 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#13 edit
2019-11-07 17:48:59 -05:00
foreman c10b29f0e0 P4 to Git Change 2026859 by axie@axie-hip-rocm on 2019/11/07 15:54:13
SWDEV-198863 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_DB (phase 3)
	Use ClPrint to implement other log functions.
	Move some funtion to use new log functions.
	This is the final change of the JIRA.

	Tests:
	1. Linux HIP ROCM platform. VEGA10. Driver is release build.
	1.1 export LOG_LEVEL=3
	      ./hipModule
	      There are many logs.
	1.2 export GPU_LOG_MASK=0
	     ./hipModule
	     There is no log
	2. Windows HIP PAL platform. VEGA10, Driver is release build.
	2.1 set LOG_LEVEL=3
	    run test hipPrintfKernel
	    There are many logs
	2.2 set GPU_LOG_MASK=0
	    run test hipPrintfKernel
	    There is no log

	3. http://ocltc.amd.com:8111/viewModification.html?modId=128490&personal=true&tab=vcsModificationBuilds

	ReviewBoard: http://ocltc.amd.com/reviews/r/18247/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#175 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#155 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#12 edit
2019-11-07 16:06:51 -05:00
foreman 4fbf7389b2 P4 to Git Change 2026403 by chui@ocl-promo-incrementor on 2019/11/07 03:00:05
SWDEV-2 - Change OpenCL version number from 3032 to 3033.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2780 edit
2019-11-07 03:06:59 -05:00
foreman f6ce2e78ea P4 to Git Change 2026159 by gandryey@gera-win10 on 2019/11/06 18:14:30
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix the detection of all devices for P2P. The previous logic worked only if GPU_ENABLE_PAL was forced to 1.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#174 edit
2019-11-06 18:22:20 -05:00
foreman 2506752348 P4 to Git Change 2026152 by cpaquot@cpaquot-ocl-lc-lnx on 2019/11/06 17:50:08
SWDEV-206239 - [HIP] RCCL: finegrain VRAM does not work
	Implemented fine grained VRAM allocation via ATOMICS.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#138 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#45 edit
2019-11-06 18:00:44 -05:00
foreman 86ca698d2f P4 to Git Change 2026151 by cpaquot@cpaquot-ocl-lc-lnx on 2019/11/06 17:49:50
SWDEV-145570 - Revert CL 2026045.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#34 edit
2019-11-06 17:55:50 -05:00
foreman 438eb7d9ce P4 to Git Change 2026045 by cpaquot@cpaquot-ocl-lc-lnx on 2019/11/06 15:01:45
SWDEV-145570 - [HIP] Report submitted when actually submitted to the HW.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#33 edit
2019-11-06 15:19:25 -05:00
foreman d16ccc8dcc P4 to Git Change 2025942 by axie@axie-hip-rocm on 2019/11/06 11:58:18
SWDEV-198863 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_DB (phase 2)
	Enable the log functions for release build.

	Tests:
	1. Linux HIP ROCM platform. VEGA10. Driver is release build.
	1.1 export LOG_LEVEL=3
	      ./hipModule
	      There are many logs.
	1.2 export GPU_LOG_MASK=0
	     ./hipModule
	     There is no log
	2. Windows HIP PAL platform. VEGA10, Driver is release or fastdbg build.
	2.1 set LOG_LEVEL=3
	    run test hipPrintfKernel
	    There are many logs
	2.2 set GPU_LOG_MASK=0
	    run test hipPrintfKernel
	    There is no log

	3. http://ocltc.amd.com:8111/viewModification.html?modId=128481&personal=true&tab=vcsModificationBuilds

	ReviewBoard: http://ocltc.amd.com/reviews/r/18240/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#324 edit
2019-11-06 12:11:11 -05:00
foreman 46c64aa3e2 P4 to Git Change 2024896 by chui@ocl-promo-incrementor on 2019/11/05 03:00:04
SWDEV-2 - Change OpenCL version number from 3031 to 3032.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2779 edit
2019-11-05 03:05:18 -05:00
foreman 029cfb4aee P4 to Git Change 2024527 by gandryey@gera-win10 on 2019/11/04 16:11:31
SWDEV-209969 - SQTT missing event instrumenting token in OpenCL trace
	- SQTT trace reports memory clears if program load occurs during the capture. Avoid memory clears with GPU if CPU backing store is available

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#100 edit
2019-11-04 16:18:08 -05:00
foreman 3f6e18bf6b P4 to Git Change 2024454 by axie@axie-hip-rocm on 2019/11/04 14:38:31
SWDEV-198863 - Options for hip-clang-vdi path to provide the chicken bits, or functional equivalents to HCC_DB (phase 1)

	1. The log macros is turned off for release build.  So log functions has zero impact to release build.
	2. The log macros have level, mask, condition control. So we can have more control to avoid log flooding.

	I also adjusted some existing log to use new log functions.
	1. To excercise and test the new log functions.
	2. To improve performance slightly.
	3. The change is mainly for HIP-ROCM, we can move more in next phases for PAL or ORCA.
	4. I make these log feature unavailable for release build. We can revert to old log functions for release build in a case by case method.

	Tests:
	1. http://ocltc.amd.com:8111/viewModification.html?modId=128289&personal=true&tab=vcsModificationBuilds
	http://ocltc.amd.com:8111/viewModification.html?modId=128358&personal=true&tab=vcsModificationBuilds

	2. release build, run hip program, there is no log
	3. fastdebug build, run hip program,
	export LOG_LEVEL=3
	export GPU_LOG_MASK=4294967295
	There was a lot of logs.

	4. fastdebug build, run hip program,
	export LOG_LEVEL=2
	export GPU_LOG_MASK=4294967295
	There was no logs.

	5. fastdebug build, run hip program,
	export LOG_LEVEL=3
	export GPU_LOG_MASK=4294967294
	There was much less logs.

	6. fastdebug build, run hip program,
	export LOG_LEVEL=3
	export GPU_LOG_MASK=47102
	There was even much less logs. The logs was expected according to the mask.

	7. Tested step 2 to 6 similarily in Windows and Linux

	ReviewBoard: http://ocltc.amd.com/reviews/r/18215

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#46 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hiprtc_internal.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/comgrctx.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#137 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#100 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#323 edit
2019-11-04 14:44:59 -05:00
foreman 68340fee18 P4 to Git Change 2023164 by chui@ocl-promo-incrementor on 2019/11/01 03:00:11
SWDEV-2 - Change OpenCL version number from 3030 to 3031.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2778 edit
2019-11-01 03:06:49 -04:00
foreman 60eea61dd7 P4 to Git Change 2022345 by chui@ocl-promo-incrementor on 2019/10/31 03:00:12
SWDEV-2 - Change OpenCL version number from 3029 to 3030.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2777 edit
2019-10-31 03:13:59 -04:00
foreman ec18fcbc84 P4 to Git Change 2022337 by todli@todli-win-opencl-kv1 on 2019/10/31 02:34:19
SWDEV-200688 - Correct some misalignment between DeviceInfo and CALtarget, so that VEGAM can be correctly recognized as gfx804 instead of gfx902

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#10 edit
2019-10-31 02:36:59 -04:00
foreman 6b680186bc P4 to Git Change 2021639 by chui@ocl-promo-incrementor on 2019/10/30 03:00:53
SWDEV-2 - Change OpenCL version number from 3028 to 3029.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2776 edit
2019-10-30 03:07:02 -04:00
foreman 783f1a506c P4 to Git Change 2021171 by gandryey@gera-win10 on 2019/10/29 12:06:07
SWDEV-208424 - ROCr language runtime should not free code object until executable destroy
	- Reshuffle the code to make sure HSA runtime can keep the pointer to the code object

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#67 edit
2019-10-29 12:23:34 -04:00
foreman c081898145 P4 to Git Change 2020900 by chui@ocl-promo-incrementor on 2019/10/29 03:00:53
SWDEV-2 - Change OpenCL version number from 3027 to 3028.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2775 edit
2019-10-29 03:02:40 -04:00
foreman 720ea66859 P4 to Git Change 2020678 by gandryey@gera-win10 on 2019/10/28 18:06:48
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix memory leaks in COMGR path. Make sure  metadata_ object is properly destroyed in COMGR.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#53 edit
2019-10-28 18:13:35 -04:00
foreman a8e96b1d3d P4 to Git Change 2019944 by chui@ocl-promo-incrementor on 2019/10/26 03:00:52
SWDEV-2 - Change OpenCL version number from 3026 to 3027.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2774 edit
2019-10-26 03:10:02 -04:00
foreman e22fe683e7 P4 to Git Change 2019867 by gandryey@gera-win10 on 2019/10/25 18:12:01
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix memory leaks in COMGR path. Don't create binaryData, since it will be overwritten with action_data_get_data() call.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#65 edit
2019-10-25 18:17:54 -04:00
foreman be8023429a P4 to Git Change 2019864 by axie@axie_opencl_pal on 2019/10/25 18:03:56
SWDEV-204995 - Linux Pro: Houdini18 Application hang is seen with pyro sample on OpenCL selection.
	The new Houdini application has around 286.6K byte TLS. In Linux, the TLS resides in thread stack. TLS is allocated and initialized during pthread_create.
	If command queue thread stack size is only 256k byte, pthread_create function failed with return value EINVAL.

	The above information is verified by this test:
	I printed out the address of a __thread variable. Then I printed out an address of a local variable. I confirmed both variables are in the same memory segment according to /proc/id/maps. This memory segment is same size of CQ_THREAD_STACK_SIZE and changed with this environment variable.

	The __thread variable is 286.6K byte away from the bottom of the stack but still inside the stack.

	I have added printf to verify function guessTlsSize can guess tlsSize correctly. And pthread_create succeeded in first invocation with tls size adjustment.

	Tests:
	1. Test houdini - PASS
	2. http://ocltc.amd.com:8111/viewModification.html?modId=128021&personal=true&tab=vcsModificationBuilds

	ReviewBoard: http://ocltc.amd.com/reviews/r/18175

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#47 edit
2019-10-25 17:08:39 -05:00
foreman 0ce1ad6acb P4 to Git Change 2019704 by cpaquot@cpaquot-ocl-lc-lnx on 2019/10/25 14:07:38
SWDEV-208972 - [HIP] Enable LOG_LEVEL in release bits.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#322 edit
2019-10-25 14:17:24 -04:00
foreman 81c59e130f P4 to Git Change 2019270 by chui@ocl-promo-incrementor on 2019/10/25 03:00:52
SWDEV-2 - Change OpenCL version number from 3025 to 3026.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2773 edit
2019-10-25 02:10:07 -05:00
foreman a1c86d10b5 P4 to Git Change 2019036 by gandryey@gera-win10 on 2019/10/24 17:06:27
SWDEV-208424 - ROCr language runtime should not free code object until executable destroy
	- Keep the code object reader alive until the program destruction. Update HSAIL path only, since LC path already handles it correctly.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#107 edit
2019-10-24 17:15:52 -04:00
foreman ee2f6fcf88 P4 to Git Change 2019005 by gandryey@gera-win10 on 2019/10/24 16:25:40
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix memory leaks in COMGR path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#64 edit
2019-10-24 16:29:54 -04:00
foreman 7ad6787328 P4 to Git Change 2018860 by gandryey@gera-win10 on 2019/10/24 13:29:26
SWDEV-207662 - [EURI][OPENCL][Forum 244452]: Multiple printf statements inside kernel producing strange output on Vega on Windows
	- Correct the printf arguments parsing logic. Don't use local PrintfInfo info, because it can contain some stale data after the first iteration

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#27 edit
2019-10-24 13:30:53 -04:00
foreman 3991264b0f P4 to Git Change 2018621 by chui@ocl-promo-incrementor on 2019/10/24 03:01:03
SWDEV-2 - Change OpenCL version number from 3024 to 3025.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2772 edit
2019-10-24 03:05:42 -04:00
foreman 707020264f P4 to Git Change 2017982 by chui@ocl-promo-incrementor on 2019/10/23 03:00:51
SWDEV-2 - Change OpenCL version number from 3023 to 3024.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2771 edit
2019-10-23 03:09:40 -04:00
foreman bd22579c3f P4 to Git Change 2017443 by eshcherb@evgeny-hip on 2019/10/22 12:00:47
SWDEV-197287 - prof_protocol fix

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_prof_api.h#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/prof_protocol.h#2 delete
... //depot/stg/opencl/drivers/opencl/runtime/platform/prof_protocol.h#2 edit
2019-10-22 12:38:12 -04:00