Commit Graph

13557 Commits

Author SHA1 Message Date
foreman 0aa5b591fc P4 to Git Change 1757990 by asalmanp@asalmanp-ocl-stg on 2019/03/18 21:40:52
SWDEV-132899 - [OCL][GFX10] passing "force-wgp-mode" option to Finalizer to enable WGP mode by default on gfx10+
	and allow GPU_ENABLE_WGP_MODE to control the WGP/CU mode for HSAIL/SC path as well.
	- also for Ariel (Navi10Lite) the wave32 should be disabled in LC but allow GPU_ENABLE_WAVE32_MODE control it for testing if needed.

	ReviewrequestURL = http://ocltc.amd.com/reviews/r/16926/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#70 edit
2019-03-18 21:59:50 -04:00
foreman ddba7b6c8d P4 to Git Change 1757959 by asalmanp@asalmanp-ocl-stg on 2019/03/18 18:53:08
SWDEV-132899 - [OCL][GFX10] propagate "force-wgp-mode" option to finalizer

	ReviewRequestURL = ReviewRequestURL = http://ocltc.amd.com/reviews/r/16894/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/gpu/hsail_be.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#140 edit
2019-03-18 19:12:32 -04:00
foreman 02357d3832 P4 to Git Change 1757956 by kjayapra@1_HIPWS_SL_IPC on 2019/03/18 18:47:13
SWDEV-144570 - Fixing Compilation Error from CL 1757948

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#21 edit
2019-03-18 19:09:27 -04:00
foreman e432cfb2e9 P4 to Git Change 1757948 by kjayapra@1_HIPWS_SL_IPC on 2019/03/18 18:29:24
SWDEV-144570 - Implementation of
	               hipMemcpyToSymbol, hipMemcpyFromSymbol,
	               hipMemcpyToSymbolAsync, hipMemcpyFromSymbolAsync,
	               hipGetSymbolAddress, hipModuleGetGlobal

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#12 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#45 edit
2019-03-18 18:44:55 -04:00
foreman 5d790f0cc0 P4 to Git Change 1757948 by kjayapra@1_HIPWS_SL_IPC on 2019/03/18 18:29:24
SWDEV-144570 - Implementation of
	               hipMemcpyToSymbol, hipMemcpyFromSymbol,
	               hipMemcpyToSymbolAsync, hipMemcpyFromSymbolAsync,
	               hipGetSymbolAddress, hipModuleGetGlobal

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#12 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#13 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#101 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#45 edit
2019-03-18 18:44:55 -04:00
foreman 5aae5461c3 P4 to Git Change 1757879 by wchau@wchau_OCL_boltzmann on 2019/03/18 16:14:33
SWDEV-168145 - Add ECC target feature to OpenCL runtime
	- passing the sram-ecc option when using COMGR

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#33 edit
2019-03-18 17:07:24 -04:00
Nicholas Malaya b1ec4e0b5f Update hip_faq.md
Making more clear what this list details. In particular, this list is intended to indicate what items for each CUDA release is supported, and which are not.
2019-03-18 14:51:18 -05:00
Jenkins 4f32124b90 Merge 'master' into 'amd-master'
Change-Id: I7fd7b61a4a78eeb26600bfe18593c0fd67a008b8
2019-03-16 16:37:02 -04:00
foreman 153ce98b4a P4 to Git Change 1757370 by chui@ocl-promo-incrementor on 2019/03/16 03:00:30
SWDEV-2 - Change OpenCL version number from 2854 to 2855.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2602 edit
2019-03-16 03:11:12 -04:00
Michael LIAO b74b4500c4 [Device Function] Support immediate argument.
- `immarg`, immediate argument, is enabled on all AMDGPU intrinsics.
  Revise device functions using these intrinsics with immediate
  arguments.
2019-03-15 12:38:04 -04:00
Maneesh Gupta 41bbd24185 Merge pull request #964 from eshcherb/roctracer-hip-frontend-190314
tracing callback layer update
2019-03-15 16:24:46 +05:30
foreman 782b1a87cc P4 to Git Change 1756830 by chui@ocl-promo-incrementor on 2019/03/15 03:00:31
SWDEV-2 - Change OpenCL version number from 2853 to 2854.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2601 edit
2019-03-15 03:17:08 -04:00
Evgeny 2aa88a4505 tracing callback layer update 2019-03-14 22:43:52 -05:00
Maneesh Gupta e3726bbf90 Merge pull request #963 from gargrahul/add_module_get_global_test
Test hipModuleGetGlobal
2019-03-15 06:17:50 +05:30
Maneesh Gupta 23170f6af8 Merge pull request #958 from aaronenyeshi/cxxabi-mismatch-workaround
CXX11 ABI Mismatch Workaround
2019-03-15 06:15:46 +05:30
foreman 2e184e8605 P4 to Git Change 1756725 by jatang@jatang_win_pal_lc on 2019/03/14 18:00:06
SWDEV-178313 - Enable OpenCL 2.0 and the ClKhrImage2dFromBuffer extension on ROCm/LC path for Vega10+.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#122 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#42 edit
2019-03-14 19:33:16 -04:00
Rahul Garg 46346343af Test hipModuleGetGlobal 2019-03-15 04:08:03 +05:30
foreman 1a06978531 P4 to Git Change 1756649 by gandryey@gera-w8 on 2019/03/14 16:24:17
SWDEV-86035 - Fix asserts in PAL after latest integration

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#71 edit
2019-03-14 18:25:41 -04:00
foreman 077970019b P4 to Git Change 1756596 by slinder1@slinder1-fiji-ocllc on 2019/03/14 15:19:56
SWDEV-79445 - Extend buildlog handling in Comgr path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#19 edit
2019-03-14 17:09:48 -04:00
Rahul Garg af72cde0a1 Add 2D fallback to use copy kernel 2019-03-14 13:03:06 +05:30
Siu Chi Chan 739d43c5d8 remove visibility hidden attribute 2019-03-13 11:58:32 -04:00
Jenkins 581dbbad71 Merge 'master' into 'amd-master'
Change-Id: Iacbb173bd73fe861c4ca67dbf6fd8480981f5010
2019-03-13 04:09:50 -05:00
foreman a9861b1192 P4 to Git Change 1755461 by chui@ocl-promo-incrementor on 2019/03/13 03:00:30
SWDEV-2 - Change OpenCL version number from 2852 to 2853.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2600 edit
2019-03-13 03:10:17 -04:00
foreman 20652884f1 P4 to Git Change 1754722 by chui@ocl-promo-incrementor on 2019/03/12 03:00:29
SWDEV-2 - Change OpenCL version number from 2851 to 2852.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2599 edit
2019-03-12 03:36:24 -04:00
Maneesh Gupta f14c695edb Merge pull request #957 from eshcherb/roctracer-hip-frontend-190311
adding memset32d
2019-03-12 10:58:56 +05:30
Evgeny 0586924ae6 adding memset32d 2019-03-11 21:28:27 -05:00
Siu Chi Chan 5044c9ba49 minor cleanup 2019-03-11 19:51:57 +00:00
Siu Chi Chan f54da9358b remove old style triple name 2019-03-11 19:51:51 +00:00
Siu Chi Chan 30053f6443 move triple_to_hsa_isa into the header 2019-03-11 19:51:44 +00:00
Siu Chi Chan fa564a5345 Fix memory leak introduced by previous change to Agent_global.
Make Agent_global manage the lifetime of the name string
2019-03-11 19:51:32 +00:00
Aaron Enye Shi fcde9fe3df Fix Agent_global variables failing hipTestDeviceSymbol
Issue: Header uses std::vector<Agent_global> agent_globals which is created by hip_module.cpp
  - Move iterator fails to copy Agent_global from library source into header version
  - Due to different versions of std::string name in struct Agent_global
Fix: Change Agent_global to use char* name instead of std::string name
2019-03-11 19:51:25 +00:00
Aaron Enye Shi f8aca3159c Fix hash_for undefined reference in hipTestConstant test
Issue: mismatch undefined symbols in different user env
  - Binary expects modified return value std::string&
  - Fails to match libhip_hcc.so: return value is std::string& but doesn't match modified C++ env
Fix: Change return value to char*, create new key std::string in header from char*
2019-03-11 19:51:18 +00:00
foreman 2a27a1d32f P4 to Git Change 1753846 by chui@ocl-promo-incrementor on 2019/03/09 03:00:28
SWDEV-2 - Change OpenCL version number from 2850 to 2851.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2598 edit
2019-03-09 03:16:26 -05:00
foreman ea146a3c5d P4 to Git Change 1753587 by smekhano@stas-msdn-pluto-ocl on 2019/03/08 14:20:41
SWDEV-79445 - compiler dumps were damaged on Windows

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#31 edit
2019-03-08 14:45:57 -05:00
Michael Liao f46d6cf249 [hip] Re-implement hipLaunchKernelGGL as macros. 2019-03-08 09:10:51 -05:00
Jenkins fd368c7554 Merge 'master' into 'amd-master'
Change-Id: I8491766916813e6f344bdc8aa65cda30bf9f3f63
2019-03-08 04:09:55 -06:00
foreman e3c07cbf4e P4 to Git Change 1753323 by chui@ocl-promo-incrementor on 2019/03/08 03:00:28
SWDEV-2 - Change OpenCL version number from 2849 to 2850.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2597 edit
2019-03-08 03:14:25 -05:00
Maneesh Gupta 44309ee879 Merge pull request #951 from tycho/nvcc-hipDeviceSetCacheConfig
nvcc_detail/hip_runtime_api.h: add missing hipDeviceSetCacheConfig API
2019-03-08 09:22:25 +05:30
foreman 435401ceb7 P4 to Git Change 1753206 by kzhuravl@bos-10-kzhuravl-sc on 2019/03/07 21:36:25
SWDEV-125823 - Use ccache if ROCM_OPENCL_CCACHE_BUILD=ON

	This is a preparation for enabling ccache in our Jenkins jobs.

	Change-Id: I3d0ae3fbf0f14afdd828fc51120f24b130ee105d

	Reviewed and tested: http://git.amd.com:8080/c/compute/ec/opencl/+/208573

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#22 edit
2019-03-07 21:52:47 -05:00
foreman d07fd4bd06 P4 to Git Change 1753206 by kzhuravl@bos-10-kzhuravl-sc on 2019/03/07 21:36:25
SWDEV-125823 - Use ccache if ROCM_OPENCL_CCACHE_BUILD=ON

	This is a preparation for enabling ccache in our Jenkins jobs.

	Change-Id: I3d0ae3fbf0f14afdd828fc51120f24b130ee105d

	Reviewed and tested: http://git.amd.com:8080/c/compute/ec/opencl/+/208573

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#22 edit
2019-03-07 21:52:47 -05:00
Maneesh Gupta 8bc97d6859 Merge pull request #953 from yxsamliu/vdi
Fix HIP/VDI build failure due to dlopen change
2019-03-08 06:02:47 +05:30
foreman 5859df8ba1 P4 to Git Change 1753100 by cpaquot@cpaquot-ocl-lc-lnx on 2019/03/07 16:44:30
SWDEV-145570 - [HIP] Forgot this file.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#121 edit
2019-03-07 17:29:21 -05:00
foreman f9942770e0 P4 to Git Change 1753099 by cpaquot@cpaquot-ocl-lc-lnx on 2019/03/07 16:43:54
SWDEV-145570 - [HIP] Change IS_HIP into a dynamic variable set by HIP layer

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#303 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/macros.hpp#11 edit
2019-03-07 17:24:23 -05:00
foreman 598c3f2821 P4 to Git Change 1753099 by cpaquot@cpaquot-ocl-lc-lnx on 2019/03/07 16:43:54
SWDEV-145570 - [HIP] Change IS_HIP into a dynamic variable set by HIP layer

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#303 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/macros.hpp#11 edit
2019-03-07 17:24:23 -05:00
foreman e51a27e182 P4 to Git Change 1753035 by wchau@wchau_OCL_Linux on 2019/03/07 15:02:39
SWDEV-182054 - Allow building OpenCL-Runtime with COMGR enabled without OpenCL-Driver being present

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#12 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#184 edit
... //depot/stg/opencl/drivers/opencl/compiler/Makefile#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#242 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#335 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#126 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#87 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#120 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#51 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#100 edit
2019-03-07 15:48:33 -05:00
foreman 1f45d27b9f P4 to Git Change 1752994 by kjayapra@2_HIPWS_SL_D32 on 2019/03/07 14:06:54
SWDEV-145570 - Implementation of ihipMemsetD32 and ihipMemsetD32Async
	       HIP-HCC Info: https://github.com/ROCm-Developer-Tools/HIP/pull/933

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#11 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#12 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#44 edit
2019-03-07 14:58:49 -05:00
Yaxun Sam Liu 2dc87b6019 Fix HIP/VDI build failure due to dlopen change 2019-03-07 14:45:45 -05:00
foreman 2df067619f P4 to Git Change 1752821 by gandryey@gera-w8 on 2019/03/07 10:48:10
SWDEV-180834 - [Forum] - Washed-Out Colors in Premiere Pro CC 2018 When 10bit Enabled
	- Correct OGL->OCL mapping for CM_SURF_FMT_RGB10_X2 format

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevicegl.cpp#10 edit
2019-03-07 10:58:16 -05:00
Evgeny Mankov 6b664dcf77 Merge pull request #950 from emankov/master
[HIPIFY][tests] Update lit testing infrastructure
2019-03-07 15:19:15 +03:00
Jenkins f659fea4b8 Merge 'master' into 'amd-master'
Change-Id: I36a294a054f029038c3ae5a9376695e8790897ff
2019-03-07 04:09:48 -06:00