コミットグラフ

13197 コミット

作成者 SHA1 メッセージ 日付
foreman e5783abc2b P4 to Git Change 1604468 by skudchad@skudchad_test2_win_opencl on 2018/09/11 18:28:45
SWDEV-145570 - [HIP] - Assert functionality for error != hipSuccess with LOG_LEVEL=3

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#8 edit
2018-09-11 18:34:50 -04:00
foreman 832753f4d3 P4 to Git Change 1604468 by skudchad@skudchad_test2_win_opencl on 2018/09/11 18:28:45
SWDEV-145570 - [HIP] - Assert functionality for error != hipSuccess with LOG_LEVEL=3

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/debug.hpp#8 edit
2018-09-11 18:34:50 -04:00
foreman 9bb9312630 P4 to Git Change 1604422 by gandryey@gera-ocl-lc on 2018/09/11 16:51:04
SWDEV-79445 - OCL generic changes and code clean-up
	- Don't call backing store destruction for Null programs

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#25 edit
2018-09-11 17:08:39 -04:00
foreman 86c038863b P4 to Git Change 1604364 by cpaquot@cpaquot-ocl-lc-lnx on 2018/09/11 15:43:44
SWDEV-145570 - [HIP] Added hipCtxGetSharedMemConfig

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#14 edit
2018-09-11 16:08:44 -04:00
Aaron Enye Shi 7aa282897f Avoid host min func conflict with gcc min 2018-09-11 18:48:31 +00:00
foreman e615155636 P4 to Git Change 1604296 by jatang@jatang-opencl-hsa-stg5 on 2018/09/11 14:13:12
SWDEV-126897 - Fix a regression of Device Enqueue in LC path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#6 edit
2018-09-11 14:37:55 -04:00
Aaron Enye Shi 5f0838300e Use templates for min to prevent ambiguity 2018-09-11 18:21:54 +00:00
foreman 63e7f9255c P4 to Git Change 1604214 by cpaquot@cpaquot-ocl-lc-lnx on 2018/09/11 12:12:23
SWDEV-145570 - [HIP] Added empty hipModuleGetGlobal function.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#19 edit
2018-09-11 12:26:34 -04:00
foreman 8914124cc8 P4 to Git Change 1603998 by eboumaou@eboumaou_ugl_stg on 2018/09/11 03:45:45
SWDEV-164509 - [Dassault][Catia] Adding 8-bits internal format support for sL8 format in OpenGL

	For glTextureView support, GL_LUMINANCE8 internal format needs to return 8_BITS view compatibility class.

	Add 3 new surface formats, CM_SURF_FMT_L8_SRGB, CM_SURF_FMT_R8_SRGB and CM_SURF_FMT_RG8_SRGB. For the moment, only L8_SRGB is supported by GLL.
	Keep L8_X24_SRGB format because of side effects, especially outside the GL driver (CAL)

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#32 edit
2018-09-11 03:58:48 -04:00
foreman eb9e563d7b P4 to Git Change 1603981 by chui@ocl-promo-incrementor on 2018/09/11 02:56:14
SWDEV-2 - Change OpenCL version number from 2733 to 2734.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2481 edit
2018-09-11 03:08:37 -04:00
foreman 0307bf3511 P4 to Git Change 1603869 by skudchad@skudchad-lnx on 2018/09/10 20:04:11
SWDEV-1 - Fix to build HIP with gcc-5.4

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#17 edit
2018-09-10 20:17:35 -04:00
foreman bda4d20a58 P4 to Git Change 1603686 by lmoriche@lmoriche_opencl_dev2 on 2018/09/10 14:36:15
SWDEV-1 - Cleanups required to build with gcc-5.4
	- Fix the Windows build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.hpp#5 edit
2018-09-10 15:02:41 -04:00
foreman fea536eea4 P4 to Git Change 1603633 by lmoriche@lmoriche_opencl_dev2 on 2018/09/10 13:24:30
SWDEV-1 - Cleanups required to build with gcc-5.4

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#100 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/support/libcxx/build/Makefile.libcxx#7 edit
2018-09-10 13:33:24 -04:00
foreman 03e6266c64 P4 to Git Change 1603601 by jatang@jatang-opencl-hsa-stg5 on 2018/09/10 11:55:05
SWDEV-126897 - Fix segfault in HSAIL/ROCm path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#68 edit
2018-09-10 12:09:51 -04:00
foreman 8e02d82368 P4 to Git Change 1603595 by gandryey@gera-ocl-lc on 2018/09/10 11:45:44
SWDEV-79445 - OCL generic changes and code clean-up
	- Make a fallback to system memory without device access if USWC allocation failed
	- Destroy the backing store after the load of all kernels

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#24 edit
2018-09-10 11:57:07 -04:00
Yaxun Sam Liu 6f2201475d Use template for hipLaunchKernelGGL for hip-clang 2018-09-07 16:20:00 -04:00
Yaxun Sam Liu be4a8f6859 Add empty printf for hip-clang 2018-09-07 16:15:08 -04:00
foreman 75aabd3934 P4 to Git Change 1602799 by chui@ocl-promo-incrementor on 2018/09/07 02:56:24
SWDEV-2 - Change OpenCL version number from 2732 to 2733.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2480 edit
2018-09-07 03:11:16 -04:00
foreman 4f3b907029 P4 to Git Change 1602680 by cpaquot@cpaquot-ocl-lc-lnx on 2018/09/06 17:59:01
SWDEV-145570 - [HIP] Bump max command queues to 300 for HIP.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#298 edit
2018-09-06 18:14:28 -04:00
lcskrishna fc2c8de816 added host for float2half and hlaf2float 2018-09-06 15:02:52 -07:00
foreman 1d5f2b6dac P4 to Git Change 1602604 by gandryey@gera-ocl-lc on 2018/09/06 15:25:43
SWDEV-79445 - OCL generic changes and code clean-up
	- Combine opencl compiler options under a single function.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#229 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#317 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.hpp#102 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#68 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#55 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#44 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#17 edit
2018-09-06 15:37:37 -04:00
foreman e075998b2b P4 to Git Change 1602601 by skudchad@skudchad_test2_win_opencl on 2018/09/06 15:01:00
SWDEV-145570 - [HIP] Implement hipStreamAddCallback and hipStreamQuery

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/concurrent.hpp#9 edit
2018-09-06 15:21:28 -04:00
foreman d305283689 P4 to Git Change 1602601 by skudchad@skudchad_test2_win_opencl on 2018/09/06 15:01:00
SWDEV-145570 - [HIP] Implement hipStreamAddCallback and hipStreamQuery

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/concurrent.hpp#9 edit
2018-09-06 15:21:28 -04:00
foreman 27d67ac268 P4 to Git Change 1602321 by chui@ocl-promo-incrementor on 2018/09/06 02:56:40
SWDEV-2 - Change OpenCL version number from 2731 to 2732.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2479 edit
2018-09-06 03:09:39 -04:00
foreman 1380df62d9 P4 to Git Change 1602019 by marsenau@marsenau-fiji on 2018/09/05 14:33:40
SWDEV-79445 - Remove use of irif.
	     This is now directly linked in the library build and will be
	  removed as a standalone library.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#83 edit
2018-09-05 14:45:11 -04:00
foreman b0396b47e1 P4 to Git Change 1601829 by marsenau@marsenau-fiji on 2018/09/05 09:00:19
SWDEV-79445 - Stop using -opencl component of triple. This
	  hasn't been needed in a while.

	  Also stop redundantly defining extension macros.

Affected files ...

... //depot/stg/opencl/drivers/opencl/opencldefs#231 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#43 edit
2018-09-05 09:11:51 -04:00
foreman 9ed60d4cca P4 to Git Change 1601745 by chui@ocl-promo-incrementor on 2018/09/05 02:57:23
SWDEV-2 - Change OpenCL version number from 2730 to 2731.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2478 edit
2018-09-05 03:09:33 -04:00
fpadmin 9ca3401f8b [HIP-Clang]Add friend class/function test 2018-09-05 11:48:49 +05:30
Yaxun Sam Liu 7d1492ab61 Let hipcc link -lpthread -lm by default 2018-09-04 17:11:47 -04:00
Yaxun Sam Liu 627c179612 Let hipcc handle obj files in linker response file for hip-clang
If obj files in linker response file contains device code, pass them to hip-clang, otherwise keep them in the linker
response file.
2018-09-04 16:57:55 -04:00
foreman 42f5788b2e P4 to Git Change 1601516 by asalmanp@asalmanp-ocl-stg on 2018/09/04 16:37:05
SWDEV-132899 - [OCL][GFX10.1] Adding gfx1010 support and use  Pal::GfxIpLevel::GfxIp10_1/Pal::AsicRevision::Navi10 for gfx1010 and Pal::GfxIpLevel::GfxIp10/Pal::AsicRevision::Navi10Lite for Ariel (gfx1000)

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#152 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#240 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#38 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#108 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#54 edit
2018-09-04 16:57:45 -04:00
Yaxun (Sam) Liu 139d76a4db Document kernel launching for hip-clang 2018-09-04 16:56:53 -04:00
Yaxun (Sam) Liu cc0fbc0e2e Support placement new in hip-clang 2018-09-04 16:53:46 -04:00
foreman 6ffc12c7c8 P4 to Git Change 1601331 by jatang@jatang_rocm_lc2 on 2018/09/04 11:32:49
SWDEV-126897 - Use the new __amd_scheduler_rocm.

	It's only a name change.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocschedcl.cpp#2 edit
2018-09-04 11:42:41 -04:00
Jenkins 30cb7d444c Merge 'master' into 'amd-master'
Change-Id: I08b1105ecfa1b64f53cb080fb16193c9d5820a66
2018-09-04 04:09:31 -05:00
Maneesh Gupta 0a02ae19dc Merge pull request #654 from ROCm-Developer-Tools/fix-force-inline
__forceinline__ needs inline and always_inline
2018-09-03 16:35:34 +05:30
Maneesh Gupta 6dfb6fac8b Merge pull request #657 from yxsamliu/fix-clz
Fix ambiguity of __clz and __clzll
2018-09-03 16:34:42 +05:30
Maneesh Gupta 0957130a52 Merge pull request #656 from searlmc1/msearles-fixes
Add keyword 'explicit' to avoid ambiguity
2018-09-03 16:33:41 +05:30
Maneesh Gupta d515998ac4 Merge pull request #651 from yxsamliu/hip-clang-clock
Add clock() and clock64()
2018-09-03 16:32:30 +05:30
Maneesh Gupta 75a010fa3c Merge pull request #649 from ROCm-Developer-Tools/yxsamliu-patch-3
Documents hip-clang predefined macros
2018-09-03 16:32:12 +05:30
Maneesh Gupta 11d1b8d310 Merge pull request #640 from aaronenyeshi/hip-clang-add-bit-funcs
Add bitextract and bitinsert functions
2018-09-03 16:31:42 +05:30
foreman 3150738ad2 P4 to Git Change 1600831 by chui@ocl-promo-incrementor on 2018/09/01 02:56:39
SWDEV-2 - Change OpenCL version number from 2729 to 2730.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2477 edit
2018-09-01 03:09:48 -04:00
Yaxun Sam Liu 701519d27d Fix ambiguity of __clz and __clzll 2018-08-31 18:07:57 -04:00
Saleel Kudchadker 3684975b91 Fix record_event and hipStreamSync2 tests. The test should expect null stream to complete if synchrionize is called as per the spec 2018-08-31 12:54:23 -07:00
Mark Searles 992c90079b Add keyword 'explicit' to avoid ambiguity
Older gcc, e.g., 5.x, see an ambiguity in some calls. Example error
output as seen with gcc 5.5:

In file included from benchmark_wino.cpp:1:
In file included from ./miopen.hpp:13:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/regex:38:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/algorithm:62:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/bits/stl_algo.h:66:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/random:51:
/usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/bits/random.tcc:1324:27: error: call to 'abs' is ambiguous
                    const double __y = -std::abs(__n) * __param._M_sm - 1;
                                        ^~~~~~~~
/opt/rocm/hip/include/hip/hcc_detail/hip_complex.h:345:31: note: candidate function
__DEFINE_HIP_COMPLEX_REAL_FUN(abs, hipCabs)
2018-08-31 11:10:58 -07:00
Saleel Kudchadker b76c94afb9 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into skudchad-hip 2018-08-31 10:38:41 -07:00
Mark Searles 37cc117bd5 Add keyword 'explicit' to avoid ambiguity
Older gcc, e.g., 5.x, see an ambiguity in some calls. Example error
output as seen with gcc 5.5:

In file included from benchmark_wino.cpp:1:
In file included from ./miopen.hpp:13:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/regex:38:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/algorithm:62:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/bits/stl_algo.h:66:
In file included from /usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/random:51:
/usr/lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/bits/random.tcc:1324:27: error: call to 'abs' is ambiguous
                    const double __y = -std::abs(__n) * __param._M_sm - 1;
                                        ^~~~~~~~
/opt/rocm/hip/include/hip/hcc_detail/hip_complex.h:345:31: note: candidate function
__DEFINE_HIP_COMPLEX_REAL_FUN(abs, hipCabs)
2018-08-31 10:36:05 -07:00
foreman 8404016f00 P4 to Git Change 1600382 by chui@ocl-promo-incrementor on 2018/08/31 02:56:45
SWDEV-2 - Change OpenCL version number from 2728 to 2729.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2476 edit
2018-08-31 03:11:17 -04:00
foreman 5c4478fa22 P4 to Git Change 1600140 by gandryey@gera-w8 on 2018/08/30 15:10:58
SWDEV-79445 - OCL generic changes and code clean-up
	- It's not necessary to have backend specific  binary objects in HSAIL or LC paths.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#228 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#316 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpubinary.hpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#239 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.cpp#3 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.hpp#4 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocbinary.hpp#7 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#33 edit
2018-08-30 15:31:56 -04:00
foreman da2aa0859e P4 to Git Change 1600103 by emankov@em-hsa on 2018/08/30 13:45:44
SWDEV-143465 - HSAIL - Compiler Lib - Stop supporting SPIR binary on CI+ as well

	This change plugs a hole when compiling from SPIR precompiled binary is possible on CI+ devices without option "-x spir" specified.
	SPIR text has been already deprecated.

	[Reviewers] Brian Sumner, Stanislav Mekhanoshin

	[Testing] http://ocltc.amd.com:8111/viewModification.html?modId=107222&personal=true&tab=vcsModificationBuilds

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#101 edit
2018-08-30 14:01:59 -04:00