Maneesh Gupta
546378292d
Merge pull request #623 from ROCm-Developer-Tools/tf18
...
Fix declaration conflict when hip/math_functions.h is included first
2018-08-10 09:36:27 +05:30
Maneesh Gupta
695746421f
Merge pull request #616 from ROCm-Developer-Tools/hip-clang-static-lib
...
Let hipcc handle static library for hip-clang
2018-08-10 09:35:22 +05:30
Maneesh Gupta
0123fb816d
Merge pull request #615 from aaronenyeshi/enable-hip-compiler
...
Enable HIP_COMPILER to choose HIP-Clang lib links
2018-08-10 09:34:51 +05:30
Maneesh Gupta
a5f9ae90d2
Merge pull request #613 from ROCm-Developer-Tools/hcc-compat
...
Add HCC compatibility mode for hip-clang
2018-08-10 09:32:31 +05:30
Maneesh Gupta
497610f96c
Merge pull request #617 from gargrahul/genco_remove_adipose_extn
...
Remove adipose extension from genco output
2018-08-10 09:31:44 +05:30
Maneesh Gupta
79e9a2dfa4
Merge pull request #619 from ROCm-Developer-Tools/revert-pr457
...
Revert pr457
2018-08-10 09:25:57 +05:30
Evgeny Mankov
d1540de3b8
Merge pull request #624 from emankov/cuComplex
...
[HIPIFY][Complex] Add cuComplex support
2018-08-09 20:01:51 +03:00
sunway513
7c467220a8
resolve a segfault bug when env var not set; remove startup_kernel_loader class
2018-08-09 16:40:26 +00:00
Jenkins
7096be425a
Merge 'master' into 'amd-master'
...
Change-Id: I02f86242eebb6f3035681ed074eb024b8556420e
2018-08-09 04:09:46 -05:00
foreman
53e1b3b74f
P4 to Git Change 1591182 by chui@ocl-promo-incrementor on 2018/08/09 02:56:37
...
SWDEV-2 - Change OpenCL version number from 2712 to 2713.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2460 edit
2018-08-09 03:16:04 -04:00
foreman
b33c52ed6f
P4 to Git Change 1591041 by vsytchen@vsytchen-win10 on 2018/08/08 18:46:17
...
SWDEV-159881 - [OCL][ROCm] Add SVM coarse-grain buffer support with device memory (Part 1)
1. Implement submitSvmFree/Copy/FillMemory.
2. Add macro IS_HIP that determines if the client is HIP.
3. Add setting enableCoarseGrainSVM that allows the use of device memory for coarse grain SVM allocations.
4. Set enableCoarseGrainSVM to be true only for HIP.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15597/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#294 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/macros.hpp#10 edit
2018-08-08 18:58:03 -04:00
foreman
ac9ebe294b
P4 to Git Change 1590896 by vsytchen@vsytchen-win10 on 2018/08/08 14:49:41
...
SWDEV-79445 - OCL generic changes and code clean-up
1. std::auto_ptr is deprecated in c++11 and removed in c++17. Use unique_ptr instead.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15576/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#21 edit
2018-08-08 15:05:57 -04:00
foreman
d600b28bd0
P4 to Git Change 1590860 by lmoriche@lmoriche_opencl_dev2 on 2018/08/08 12:49:56
...
SWDEV-161464 - OpenCL github project rpm and deb package issue
- Add CPack packaging to the CMake build.
Affected files ...
... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#20 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#14 edit
2018-08-08 13:05:50 -04:00
foreman
a326b96d41
P4 to Git Change 1590860 by lmoriche@lmoriche_opencl_dev2 on 2018/08/08 12:49:56
...
SWDEV-161464 - OpenCL github project rpm and deb package issue
- Add CPack packaging to the CMake build.
Affected files ...
... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#20 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#14 edit
2018-08-08 13:05:50 -04:00
Rahul Garg
b6c5d7d71b
Clean up module api samples
2018-08-08 22:28:13 +05:30
Evgeny Mankov
ce57b99f9d
[HIPIFY][Complex] Add cuComplex support
...
+ Add API_COMPLEX support (data types and functions)
+ Add cuComplex_API_supported_by_HIP.md
+ Add cuComplex_Julia.cu test
+ Update README.md
2018-08-08 18:34:57 +03:00
Yaxun Sam Liu
87de95975a
Fix __HIP_ARCH_* not defined after including math_functions.h
...
hcc_detail/math_functions.h used to include hcc_detail/hip_runtime.h.
Removing it has caused regression in TensorFlow 1.8.
Put it back for backward compatibiliity.
2018-08-08 08:55:28 -04:00
foreman
1575bb0507
P4 to Git Change 1590683 by chui@ocl-promo-incrementor on 2018/08/08 02:56:36
...
SWDEV-2 - Change OpenCL version number from 2711 to 2712.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2459 edit
2018-08-08 03:21:33 -04:00
foreman
1a61f6b9e5
P4 to Git Change 1590524 by gandryey@gera-lnx-rcf on 2018/08/07 17:38:31
...
SWDEV-160552 - [CQE OCL][DTB][BD][Perf][QR][G] Soft hang is observed with ProRender after few subtests due to base driver.
- Reset the pointer to nullptr if PAL platform was destroyed
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#102 edit
2018-08-07 17:56:54 -04:00
foreman
769cc7cddb
P4 to Git Change 1590512 by gandryey@gera-lnx-rcf on 2018/08/07 17:06:25
...
SWDEV-160552 - [CQE OCL][DTB][BD][Perf][QR][G] Soft hang is observed with ProRender after few subtests due to base driver.
- Delete PAL platform object if runtime didn't find any supported device.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#101 edit
2018-08-07 17:29:56 -04:00
Yaxun Sam Liu
058eb7535b
Fix __HIP_DEVICE_COMPILE__ not defined when hip/math_functions.h is included
...
This fixes build failure in TensorFlow 1.8 for HCC
2018-08-07 17:14:39 -04:00
foreman
99cb78b186
P4 to Git Change 1590448 by gandryey@gera-w8 on 2018/08/07 15:31:50
...
SWDEV-159036 - HBCC is off by default in OCL on WX9100
- Disable HBCC, since it causes ocltst failures on TC
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#293 edit
2018-08-07 15:53:13 -04:00
Yaxun Sam Liu
69bbf45b44
Fix declaration conflict when hip/math_functions.h is included first
...
This fixes build failure in TensorFlow 1.8 for HCC
2018-08-07 15:44:59 -04:00
foreman
abefff3eb2
P4 to Git Change 1590417 by gandryey@gera-w8 on 2018/08/07 14:30:31
...
SWDEV-159036 - HBCC is off by default in OCL on WX9100
- Add HBCC size to the global memory. It seems KMD fixed all regressions.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#292 edit
2018-08-07 14:51:30 -04:00
foreman
60bea15438
P4 to Git Change 1590078 by chui@ocl-promo-incrementor on 2018/08/07 02:56:00
...
SWDEV-2 - Change OpenCL version number from 2710 to 2711.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2458 edit
2018-08-07 03:13:19 -04:00
foreman
b4ccaeffe1
P4 to Git Change 1590010 by skudchad@skudchad_test2_win_opencl on 2018/08/06 21:18:48
...
SWDEV-145570 - [HIP] - Fix some issues in hip runtime
- Set stream for event
- Free mem needs to be reported in bytes but runtime backends reports in Kb
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15586/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#15 edit
2018-08-06 21:24:14 -04:00
foreman
aa99feb153
P4 to Git Change 1589968 by skudchad@skudchad_test2_win_opencl on 2018/08/06 17:25:53
...
SWDEV-145570 - [HIP] Increase the default size for SVM to 16GB for HIP
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15578/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#100 edit
2018-08-06 17:32:00 -04:00
foreman
f889d2ebba
P4 to Git Change 1589611 by chui@ocl-promo-incrementor on 2018/08/04 02:55:53
...
SWDEV-2 - Change OpenCL version number from 2709 to 2710.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2457 edit
2018-08-04 03:10:36 -04:00
sunway513
7d776ae665
Add more check to ensure the startup loader only be enabled with the env var set to 1
2018-08-04 01:52:27 +00:00
sunway513
9af862d364
Add startup loader under HIP_STARTUP_LOADER env var, disable by default
2018-08-04 01:48:06 +00:00
Wen-Heng (Jack) Chung
1fe7f1be91
Revert "HIP program state re-initialization logic"
...
This reverts commit 04640992dc .
2018-08-03 17:03:04 -05:00
Wen-Heng (Jack) Chung
f6178c2159
Revert "Improve performance of re-initialization logic"
...
This reverts commit b883ea759d .
2018-08-03 17:02:58 -05:00
Wen-Heng (Jack) Chung
329f3b7a5e
Revert "Keep the map which tracks GPU kernel symbols to grow monotonically"
...
This reverts commit 8f521edff1 .
2018-08-03 17:02:50 -05:00
foreman
9cd2db67f6
P4 to Git Change 1589476 by axie@axie-rocm-opencl on 2018/08/03 15:54:24
...
SWDEV-79445 - OCL generic changes and code clean-up
- Optimize setup of kernel arguments.
- Add HW ABI support in the abstraction layer
- Remove arguments parsing loop from the kernel launch. Memory processing will be responsible for dependency tracking and patching of arguments.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/15400/
Tests:
1. ./run_conformance.py ./opencl_conformance_tests_reallyquick.csv CL_DEVICE_TYPE_GPU for openCL 1.2: OpenCL-GL sharing failed. This is not a regression.
2. ./ocltst -m oclruntime.so -A oclruntime.exclude
3. ./run_conformance.py opencl_conformance_tests_lightning.csv CL_DEVICE_TYPE_GPU : PASS
4. teamcity test: http://ocltc.amd.com:8111/viewModification.html?modId=104598&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#17 edit
2018-08-03 16:05:12 -04:00
foreman
6d82075654
P4 to Git Change 1589162 by chui@ocl-promo-incrementor on 2018/08/03 02:56:36
...
SWDEV-2 - Change OpenCL version number from 2708 to 2709.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2456 edit
2018-08-03 03:09:01 -04:00
foreman
f4add6058a
P4 to Git Change 1589138 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/03 01:04:05
...
SWDEV-145570 - [HIP] Added __gnu_h2f_ieee and __gnu_f2h_ieee
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#16 edit
2018-08-03 01:15:15 -04:00
Maneesh Gupta
ac18a3b701
Merge pull request #588 from Jorghi12/patch-10
...
Fixing a HIP bug that causes DEBUG symbols to be dropped.
2018-08-03 08:48:56 +05:30
Maneesh Gupta
b485957858
Merge pull request #603 from b-sumner/master
...
Drop use of NVCC_COMPAT since it is always set
2018-08-03 08:45:18 +05:30
Maneesh Gupta
ad44a77ed4
Merge pull request #601 from sarunyap/fix-shareWithAll-mem-dev-mapping
...
Remove device mapping from shareWithAll memory
2018-08-03 08:45:04 +05:30
foreman
678764d113
P4 to Git Change 1589087 by skudchad@skudchad_rocm on 2018/08/02 20:10:02
...
SWDEV-145570 - [HIP] - hipHccModuleLaunchKernel needs to be a c++ sym
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#14 edit
2018-08-02 20:20:23 -04:00
foreman
08a308dd59
P4 to Git Change 1589062 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/02 18:34:20
...
SWDEV-145570 - [HIP] Fix a segfault exposed by rocBlas.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#39 edit
2018-08-02 18:52:37 -04:00
foreman
388d597321
P4 to Git Change 1589030 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/02 17:40:15
...
SWDEV-145570 - [HIP] Fixed the underline
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#15 edit
2018-08-02 18:00:05 -04:00
foreman
2ff260c727
P4 to Git Change 1588779 by cpaquot@cpaquot-ocl-lc-lnx on 2018/08/02 12:25:51
...
SWDEV-145570 - [HIP] Refactored some g_* stuff
Refactored g_functions into a platform state.
Added a _vars for registered variables.
Added an execution stack similar to Hcc-clang.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#14 edit
2018-08-02 12:33:55 -04:00
Rahul Garg
e9d7584b02
Remove adipose extension from genco output
2018-08-02 15:16:36 +05:30
foreman
7d877e1589
P4 to Git Change 1588573 by chui@ocl-promo-incrementor on 2018/08/02 02:56:34
...
SWDEV-2 - Change OpenCL version number from 2707 to 2708.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2455 edit
2018-08-02 03:12:11 -04:00
foreman
e638c1377f
P4 to Git Change 1588556 by skudchad@skudchad_rocm on 2018/08/02 02:04:15
...
SWDEV-145570 - [HIP] - Release eStop if it not a nullptr.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#13 edit
2018-08-02 02:18:57 -04:00
foreman
11a91fbe0b
P4 to Git Change 1588551 by skudchad@skudchad_rocm on 2018/08/02 01:55:45
...
SWDEV-145570 - [HIP] - Refactor ihipModuleLaunchKernel and add hipModuleLaunchKernelExt
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#8 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#8 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#12 edit
2018-08-02 02:14:04 -04:00
Maneesh Gupta
0354367a07
Merge pull request #610 from aaronenyeshi/enable-hcc-module-launch
...
Enable hipHccModuleLaunchKernel on HIP-Clang
2018-08-02 08:08:46 +05:30
Maneesh Gupta
4544e681ac
Merge pull request #600 from ROCm-Developer-Tools/enable-texture-functions
...
Enable HIP texture functions with HIP vector types
2018-08-02 08:01:00 +05:30
Maneesh Gupta
1692af19cc
Merge pull request #593 from mangupta/patch2-removerdynamic
...
[FindHIP] Remove rdynamic from CMAKE_SHARED_LIBRARY_LINK_HIP_FLAGS
2018-08-02 07:58:34 +05:30