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
foreman
4e047235f0
P4 to Git Change 1600056 by skudchad@skudchad_test2_win_opencl on 2018/08/30 12:04:10
...
SWDEV-145570 - [HIP] Fix elapsed time calc for hipEvent
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15717/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#6 edit
2018-08-30 12:17:57 -04:00
foreman
03a81d46b7
P4 to Git Change 1600013 by gandryey@gera-w8 on 2018/08/30 11:12:14
...
SWDEV-79445 - OCL generic changes and code clean-up
- Fix a typo from CL#1599699
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#5 edit
2018-08-30 11:27:16 -04:00
foreman
ce5e68844d
P4 to Git Change 1599845 by chui@ocl-promo-incrementor on 2018/08/30 02:56:39
...
SWDEV-2 - Change OpenCL version number from 2727 to 2728.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2475 edit
2018-08-30 03:14:25 -04:00
Maneesh Gupta
0b8e209532
Merge pull request #564 from phani544/hipClangClass8B
...
Adding class size>8bytes tests
2018-08-30 10:33:47 +05:30
Maneesh Gupta
9060955c89
Merge pull request #647 from tdd11235813/fix-cmake-build-name
...
Fixes build-name bug due to reversed string() arguments in cmake.
2018-08-30 10:32:39 +05:30
foreman
45d50bb738
P4 to Git Change 1599701 by gandryey@gera-w8 on 2018/08/29 18:48:36
...
SWDEV-79445 - OCL generic changes and code clean-up
- Use SDMA staging transfers for data upload if pinning fails. Fixes HIP failure in a test that uses the code segment data for uppload.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#26 edit
2018-08-29 18:57:40 -04:00
foreman
6cc75de90f
P4 to Git Change 1599699 by gandryey@gera-w8 on 2018/08/29 18:43:02
...
SWDEV-79445 - OCL generic changes and code clean-up
- Move WaveLimiter logic to the abstract layer. PAL version was taken as the base, thus performance of GSL path can be affected by this change
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#315 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devwavelimiter.cpp#1 move/add
... //depot/stg/opencl/drivers/opencl/runtime/device/devwavelimiter.hpp#1 move/add
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#598 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#331 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#133 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.cpp#15 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.hpp#11 delete
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#107 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#8 move/delete
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#8 move/delete
2018-08-29 18:54:19 -04:00
Aaron Enye Shi
decf9beec9
__forceinline__ needs inline and always_inline
...
Related to SWDEV-163084
2018-08-29 18:33:35 +00:00
foreman
5ee211e801
P4 to Git Change 1599472 by gandryey@gera-w8 on 2018/08/29 12:25:34
...
SWDEV-79445 - OCL generic changes and code clean-up
- Move FindLocalWorkSize() logic to the abstraction layer
- Replace the ROCr path with the common FindLocalWorkSize() functionality
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#227 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#314 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#330 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#132 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#67 edit
2018-08-29 12:35:08 -04:00
Aaron Enye Shi
ecfb2bdeba
Remove testing bitinsert/extract on nvcc path
2018-08-29 15:29:53 +00:00
Yaxun Sam Liu
0f4546deca
Add clock() and clock64()
2018-08-29 10:51:00 -04:00
fpadmin
19b5ac131a
Adding class size>8bytes tests
2018-08-29 15:16:43 +05:30
foreman
3f02c35aea
P4 to Git Change 1599289 by chui@ocl-promo-incrementor on 2018/08/29 02:57:14
...
SWDEV-2 - Change OpenCL version number from 2726 to 2727.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2474 edit
2018-08-29 03:07:58 -04:00
foreman
ef83d84899
P4 to Git Change 1599194 by gandryey@gera-w8 on 2018/08/28 18:38:33
...
SWDEV-79445 - OCL generic changes and code clean-up
- Move printf setup in the kernels to the abstraction layer
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#329 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#131 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#47 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#238 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.hpp#6 edit
2018-08-28 18:48:05 -04:00
foreman
5cfeb120ed
P4 to Git Change 1599157 by gandryey@gera-ocl-lc on 2018/08/28 17:11:04
...
SWDEV-79445 - OCL generic changes and code clean-up
- Add devkerenle.cpp/hpp files for device::Kernel object
- Move generic code for the arguments setup from the device layer to the abstraction layer
- Update ROCr and PAL paths to utilize the generic logic for the arguments setup
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#226 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#313 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#328 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#130 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#51 edit
2018-08-28 17:30:29 -04:00
Aaron Enye Shi
622342f01d
Add tests for bitextract and bitinsert
2018-08-28 20:01:54 +00:00
Aaron Enye Shi
031c0204d8
Add bitinsert64 to device functions
2018-08-28 20:01:14 +00:00
Aaron Enye Shi
24429eabb0
Clean up and add meaningful variables to bit funcs
2018-08-28 18:19:48 +00:00
Yaxun (Sam) Liu
4335feba47
Fix documentation about hip-clang macros
2018-08-28 09:55:18 -04:00
Yaxun (Sam) Liu
4216c426eb
Fix documentation about hip-clang macros
2018-08-28 09:48:38 -04:00
Yaxun (Sam) Liu
8b80403ef4
Documents hip-clang predefined macros
2018-08-28 09:43:38 -04:00
Maneesh Gupta
190ead8337
Merge pull request #646 from mangupta/new_ci_flow
...
[ci] New CI flow
2018-08-28 13:14:57 +05:30
foreman
0c5f415b5f
P4 to Git Change 1598764 by chui@ocl-promo-incrementor on 2018/08/28 02:56:43
...
SWDEV-2 - Change OpenCL version number from 2725 to 2726.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2473 edit
2018-08-28 03:09:31 -04:00