Maneesh Gupta
6337247921
Merge pull request #615 from aaronenyeshi/enable-hip-compiler
...
Enable HIP_COMPILER to choose HIP-Clang lib links
[ROCm/clr commit: 0123fb816d ]
2018-08-10 09:34:51 +05:30
Maneesh Gupta
a3e7b7c18e
Merge pull request #613 from ROCm-Developer-Tools/hcc-compat
...
Add HCC compatibility mode for hip-clang
[ROCm/clr commit: a5f9ae90d2 ]
2018-08-10 09:32:31 +05:30
Maneesh Gupta
4e2e234a56
Merge pull request #617 from gargrahul/genco_remove_adipose_extn
...
Remove adipose extension from genco output
[ROCm/clr commit: 497610f96c ]
2018-08-10 09:31:44 +05:30
Maneesh Gupta
f74ececf41
Merge pull request #619 from ROCm-Developer-Tools/revert-pr457
...
Revert pr457
[ROCm/clr commit: 79e9a2dfa4 ]
2018-08-10 09:25:57 +05:30
sunway513
3621ec1971
resolve a segfault bug when env var not set; remove startup_kernel_loader class
...
[ROCm/clr commit: 7c467220a8 ]
2018-08-09 16:40:26 +00:00
foreman
7aeeb26dc9
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
[ROCm/clr commit: 53e1b3b74f ]
2018-08-09 03:16:04 -04:00
foreman
7ad3f2f33a
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
[ROCm/clr commit: b33c52ed6f ]
2018-08-08 18:58:03 -04:00
foreman
b641645bbf
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
[ROCm/clr commit: ac9ebe294b ]
2018-08-08 15:05:57 -04:00
foreman
39397d988f
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
[ROCm/clr commit: d600b28bd0 ]
2018-08-08 13:05:50 -04:00
foreman
bc3d4a0298
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
[ROCm/clr commit: a326b96d41 ]
2018-08-08 13:05:50 -04:00
Rahul Garg
1f0d24fa61
Clean up module api samples
...
[ROCm/clr commit: b6c5d7d71b ]
2018-08-08 22:28:13 +05:30
Evgeny Mankov
dac14d60b7
[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
[ROCm/clr commit: ce57b99f9d ]
2018-08-08 18:34:57 +03:00
Yaxun Sam Liu
d3295e61e2
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.
[ROCm/clr commit: 87de95975a ]
2018-08-08 08:55:28 -04:00
foreman
44f389b7eb
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
[ROCm/clr commit: 1575bb0507 ]
2018-08-08 03:21:33 -04:00
foreman
eb836ba642
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
[ROCm/clr commit: 1a61f6b9e5 ]
2018-08-07 17:56:54 -04:00
foreman
20e1c977c9
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
[ROCm/clr commit: 769cc7cddb ]
2018-08-07 17:29:56 -04:00
Yaxun Sam Liu
6e153a743f
Fix __HIP_DEVICE_COMPILE__ not defined when hip/math_functions.h is included
...
This fixes build failure in TensorFlow 1.8 for HCC
[ROCm/clr commit: 058eb7535b ]
2018-08-07 17:14:39 -04:00
foreman
289f9e9c69
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
[ROCm/clr commit: 99cb78b186 ]
2018-08-07 15:53:13 -04:00
Yaxun Sam Liu
6df5aef807
Fix declaration conflict when hip/math_functions.h is included first
...
This fixes build failure in TensorFlow 1.8 for HCC
[ROCm/clr commit: 69bbf45b44 ]
2018-08-07 15:44:59 -04:00
foreman
da2cfffc52
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
[ROCm/clr commit: abefff3eb2 ]
2018-08-07 14:51:30 -04:00
foreman
d05fc25898
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
[ROCm/clr commit: 60bea15438 ]
2018-08-07 03:13:19 -04:00
foreman
ee0e1fafe2
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
[ROCm/clr commit: b4ccaeffe1 ]
2018-08-06 21:24:14 -04:00
foreman
d4ff3dee52
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
[ROCm/clr commit: aa99feb153 ]
2018-08-06 17:32:00 -04:00
foreman
76e0512872
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
[ROCm/clr commit: f889d2ebba ]
2018-08-04 03:10:36 -04:00
sunway513
e1d72394da
Add more check to ensure the startup loader only be enabled with the env var set to 1
...
[ROCm/clr commit: 7d776ae665 ]
2018-08-04 01:52:27 +00:00
sunway513
ef368c0f43
Add startup loader under HIP_STARTUP_LOADER env var, disable by default
...
[ROCm/clr commit: 9af862d364 ]
2018-08-04 01:48:06 +00:00
Wen-Heng (Jack) Chung
d7b2bab183
Revert "HIP program state re-initialization logic"
...
This reverts commit 865fe01b37 .
[ROCm/clr commit: 1fe7f1be91 ]
2018-08-03 17:03:04 -05:00
Wen-Heng (Jack) Chung
fbf97dddb5
Revert "Improve performance of re-initialization logic"
...
This reverts commit 1d1b402e5b .
[ROCm/clr commit: f6178c2159 ]
2018-08-03 17:02:58 -05:00
Wen-Heng (Jack) Chung
1494fc442f
Revert "Keep the map which tracks GPU kernel symbols to grow monotonically"
...
This reverts commit ca62af218c .
[ROCm/clr commit: 329f3b7a5e ]
2018-08-03 17:02:50 -05:00
foreman
4926800fc4
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
[ROCm/clr commit: 9cd2db67f6 ]
2018-08-03 16:05:12 -04:00
foreman
c1f7312937
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
[ROCm/clr commit: 6d82075654 ]
2018-08-03 03:09:01 -04:00
foreman
4897c229a4
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
[ROCm/clr commit: f4add6058a ]
2018-08-03 01:15:15 -04:00
Maneesh Gupta
34e14adae2
Merge pull request #588 from Jorghi12/patch-10
...
Fixing a HIP bug that causes DEBUG symbols to be dropped.
[ROCm/clr commit: ac18a3b701 ]
2018-08-03 08:48:56 +05:30
Maneesh Gupta
0f033ca572
Merge pull request #603 from b-sumner/master
...
Drop use of NVCC_COMPAT since it is always set
[ROCm/clr commit: b485957858 ]
2018-08-03 08:45:18 +05:30
Maneesh Gupta
044a73015e
Merge pull request #601 from sarunyap/fix-shareWithAll-mem-dev-mapping
...
Remove device mapping from shareWithAll memory
[ROCm/clr commit: ad44a77ed4 ]
2018-08-03 08:45:04 +05:30
foreman
8819b1de20
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
[ROCm/clr commit: 678764d113 ]
2018-08-02 20:20:23 -04:00
foreman
934eca953a
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
[ROCm/clr commit: 08a308dd59 ]
2018-08-02 18:52:37 -04:00
foreman
650747dfe6
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
[ROCm/clr commit: 388d597321 ]
2018-08-02 18:00:05 -04:00
foreman
8ca0447f6e
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
[ROCm/clr commit: 2ff260c727 ]
2018-08-02 12:33:55 -04:00
Rahul Garg
22d59ba040
Remove adipose extension from genco output
...
[ROCm/clr commit: e9d7584b02 ]
2018-08-02 15:16:36 +05:30
foreman
d9ab745d5b
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
[ROCm/clr commit: 7d877e1589 ]
2018-08-02 03:12:11 -04:00
foreman
68f06e9f60
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
[ROCm/clr commit: e638c1377f ]
2018-08-02 02:18:57 -04:00
foreman
a3fc17658c
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
[ROCm/clr commit: 11a91fbe0b ]
2018-08-02 02:14:04 -04:00
Maneesh Gupta
1039c7952c
Merge pull request #610 from aaronenyeshi/enable-hcc-module-launch
...
Enable hipHccModuleLaunchKernel on HIP-Clang
[ROCm/clr commit: 0354367a07 ]
2018-08-02 08:08:46 +05:30
Maneesh Gupta
6de7fd4934
Merge pull request #600 from ROCm-Developer-Tools/enable-texture-functions
...
Enable HIP texture functions with HIP vector types
[ROCm/clr commit: 4544e681ac ]
2018-08-02 08:01:00 +05:30
Maneesh Gupta
f9dbc19d51
Merge pull request #593 from mangupta/patch2-removerdynamic
...
[FindHIP] Remove rdynamic from CMAKE_SHARED_LIBRARY_LINK_HIP_FLAGS
[ROCm/clr commit: 1692af19cc ]
2018-08-02 07:58:34 +05:30
Maneesh Gupta
c440c4d3e8
Merge pull request #514 from luckynikki/GETandALGN
...
[GETandALGN]: Get channel and alignment details
[ROCm/clr commit: 2960739c43 ]
2018-08-02 07:57:50 +05:30
Yaxun Sam Liu
b8bbc4f1fa
Let hipcc handle static library for hip-clang
...
[ROCm/clr commit: 2ba45a23b8 ]
2018-08-01 22:03:01 -04:00
Aaron Enye Shi
da60937c5d
Enable HIP_COMPILER to choose HIP-Clang lib links
...
[ROCm/clr commit: 7560956233 ]
2018-08-01 20:37:46 +00:00
Yaxun Sam Liu
b587661200
Add hc_get_workitem_absolute_id for hip-clang HCC compatibility mode
...
[ROCm/clr commit: 9c28758fa0 ]
2018-08-01 15:14:38 -04:00