Граф коммитов

13402 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta fa438547af Merge pull request #667 from carlushuang/longlong_as_double_fix
fix __longlong_as_double() problem, return the double value

[ROCm/clr commit: 2eadadff94]
2018-09-12 12:53:57 +05:30
Maneesh Gupta 0fb8d0a14c Merge pull request #666 from ROCm-Developer-Tools/mangupta-patch-2
[ci] Disable hipVectorTypes* tests in CI

[ROCm/clr commit: 74a13473f3]
2018-09-12 12:52:15 +05:30
foreman 22923e9bdd P4 to Git Change 1604592 by chui@ocl-promo-incrementor on 2018/09/12 02:55:57
SWDEV-2 - Change OpenCL version number from 2734 to 2735.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2482 edit


[ROCm/clr commit: 3f18c0691a]
2018-09-12 03:11:49 -04:00
carlushuang f52bfda061 fix __longlong_as_double() problem, return the double value
previous version return a long long valus *as* double, hence we may get the wrong result.
this also affect atomicAdd(double * ...), which use long long pointer to mimic double pointer.

Signed-off-by: carlushuang <carlus.huang@amd.com>


[ROCm/clr commit: 15281b7b84]
2018-09-12 13:25:00 +08:00
Maneesh Gupta 154742f02c [ci] Disable hipVectorTypes* tests in CI
Disable directed_tests/deviceLib/hipVectorTypes.tst & directed_tests/deviceLib/hipVectorTypesDevice.tst in CI due to HCC regressions. Once HCC fixes are in, the tests can be re-enabled in CI.

[ROCm/clr commit: d45cf59fc4]
2018-09-12 10:32:15 +05:30
foreman 639942e21e 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


[ROCm/clr commit: e5783abc2b]
2018-09-11 18:34:50 -04:00
foreman 42a04159d8 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


[ROCm/clr commit: 832753f4d3]
2018-09-11 18:34:50 -04:00
foreman a2af1d68ae 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


[ROCm/clr commit: 9bb9312630]
2018-09-11 17:08:39 -04:00
foreman d0098787c8 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


[ROCm/clr commit: 86c038863b]
2018-09-11 16:08:44 -04:00
Aaron Enye Shi 031932e509 Avoid host min func conflict with gcc min
[ROCm/clr commit: 7aa282897f]
2018-09-11 18:48:31 +00:00
foreman b7ec7ccfb7 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


[ROCm/clr commit: e615155636]
2018-09-11 14:37:55 -04:00
Aaron Enye Shi 17d6266150 Use templates for min to prevent ambiguity
[ROCm/clr commit: 5f0838300e]
2018-09-11 18:21:54 +00:00
foreman 26a372c286 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


[ROCm/clr commit: 63e7f9255c]
2018-09-11 12:26:34 -04:00
foreman 3f05dba83f 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


[ROCm/clr commit: 8914124cc8]
2018-09-11 03:58:48 -04:00
foreman a34d7108ae 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


[ROCm/clr commit: eb9e563d7b]
2018-09-11 03:08:37 -04:00
foreman 3e0d3eafe4 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


[ROCm/clr commit: 0307bf3511]
2018-09-10 20:17:35 -04:00
foreman 9e9f191c98 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


[ROCm/clr commit: bda4d20a58]
2018-09-10 15:02:41 -04:00
foreman 73b444c681 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


[ROCm/clr commit: fea536eea4]
2018-09-10 13:33:24 -04:00
foreman 08dd8e0f64 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


[ROCm/clr commit: 03e6266c64]
2018-09-10 12:09:51 -04:00
foreman bae6f34b08 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


[ROCm/clr commit: 8e02d82368]
2018-09-10 11:57:07 -04:00
Yaxun Sam Liu 392b153a55 Use template for hipLaunchKernelGGL for hip-clang
[ROCm/clr commit: 6f2201475d]
2018-09-07 16:20:00 -04:00
Yaxun Sam Liu bce1ac6a00 Add empty printf for hip-clang
[ROCm/clr commit: be4a8f6859]
2018-09-07 16:15:08 -04:00
foreman c28557fff4 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


[ROCm/clr commit: 75aabd3934]
2018-09-07 03:11:16 -04:00
foreman 18b7db12c5 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


[ROCm/clr commit: 4f3b907029]
2018-09-06 18:14:28 -04:00
lcskrishna 5340097083 added host for float2half and hlaf2float
[ROCm/clr commit: fc2c8de816]
2018-09-06 15:02:52 -07:00
foreman 787fdc49a3 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


[ROCm/clr commit: 1d5f2b6dac]
2018-09-06 15:37:37 -04:00
foreman d6357be515 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


[ROCm/clr commit: e075998b2b]
2018-09-06 15:21:28 -04:00
foreman e179d5a031 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


[ROCm/clr commit: d305283689]
2018-09-06 15:21:28 -04:00
foreman 7ce4392150 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


[ROCm/clr commit: 27d67ac268]
2018-09-06 03:09:39 -04:00
foreman c1e0ad299d 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


[ROCm/clr commit: 1380df62d9]
2018-09-05 14:45:11 -04:00
foreman 4208e8e04b 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


[ROCm/clr commit: b0396b47e1]
2018-09-05 09:11:51 -04:00
foreman 0b524cf5f8 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


[ROCm/clr commit: 9ed60d4cca]
2018-09-05 03:09:33 -04:00
fpadmin 6801abdb7a [HIP-Clang]Add friend class/function test
[ROCm/clr commit: 9ca3401f8b]
2018-09-05 11:48:49 +05:30
Yaxun Sam Liu fcc445b7fe Let hipcc link -lpthread -lm by default
[ROCm/clr commit: 7d1492ab61]
2018-09-04 17:11:47 -04:00
Yaxun Sam Liu ab6c9b7113 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.


[ROCm/clr commit: 627c179612]
2018-09-04 16:57:55 -04:00
foreman 29c39ade39 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


[ROCm/clr commit: 42f5788b2e]
2018-09-04 16:57:45 -04:00
Yaxun (Sam) Liu 3fcf056229 Document kernel launching for hip-clang
[ROCm/clr commit: 139d76a4db]
2018-09-04 16:56:53 -04:00
Yaxun (Sam) Liu dabbf3771b Support placement new in hip-clang
[ROCm/clr commit: cc0fbc0e2e]
2018-09-04 16:53:46 -04:00
foreman dd5aa956a1 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


[ROCm/clr commit: 6ffc12c7c8]
2018-09-04 11:42:41 -04:00
Jenkins f1d47ac7fc Merge 'master' into 'amd-master'
Change-Id: I08b1105ecfa1b64f53cb080fb16193c9d5820a66


[ROCm/clr commit: 30cb7d444c]
2018-09-04 04:09:31 -05:00
Maneesh Gupta 3f4348a81c Merge pull request #654 from ROCm-Developer-Tools/fix-force-inline
__forceinline__ needs inline and always_inline

[ROCm/clr commit: 0a02ae19dc]
2018-09-03 16:35:34 +05:30
Maneesh Gupta 7891e7423d Merge pull request #657 from yxsamliu/fix-clz
Fix ambiguity of __clz and __clzll

[ROCm/clr commit: 6dfb6fac8b]
2018-09-03 16:34:42 +05:30
Maneesh Gupta 1091564a43 Merge pull request #656 from searlmc1/msearles-fixes
Add keyword 'explicit' to avoid ambiguity

[ROCm/clr commit: 0957130a52]
2018-09-03 16:33:41 +05:30
Maneesh Gupta 7b45626603 Merge pull request #651 from yxsamliu/hip-clang-clock
Add clock() and clock64()

[ROCm/clr commit: d515998ac4]
2018-09-03 16:32:30 +05:30
Maneesh Gupta 125a1e706b Merge pull request #649 from ROCm-Developer-Tools/yxsamliu-patch-3
Documents hip-clang predefined macros

[ROCm/clr commit: 75a010fa3c]
2018-09-03 16:32:12 +05:30
Maneesh Gupta 15bb444efa Merge pull request #640 from aaronenyeshi/hip-clang-add-bit-funcs
Add bitextract and bitinsert functions

[ROCm/clr commit: 11d1b8d310]
2018-09-03 16:31:42 +05:30
foreman 98dc95af38 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


[ROCm/clr commit: 3150738ad2]
2018-09-01 03:09:48 -04:00
Yaxun Sam Liu 1da85d8537 Fix ambiguity of __clz and __clzll
[ROCm/clr commit: 701519d27d]
2018-08-31 18:07:57 -04:00
Saleel Kudchadker 54b81517d8 Fix record_event and hipStreamSync2 tests. The test should expect null stream to complete if synchrionize is called as per the spec
[ROCm/clr commit: 3684975b91]
2018-08-31 12:54:23 -07:00
Mark Searles 45590c6c6d 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)


[ROCm/clr commit: 992c90079b]
2018-08-31 11:10:58 -07:00