Wykres commitów

13474 Commity

Autor SHA1 Wiadomość Data
Yaxun Sam Liu 0027a54d8b Add HIP_DUMP_CODE_OBJECT 2018-10-26 14:14:00 -04:00
Yaxun Sam Liu da6c5c152e Adding checks and debug output for fat binary for hip-clang 2018-10-26 14:13:12 -04:00
foreman a4c1b1b9d3 P4 to Git Change 1624606 by asalmanp@asalmanp-ocl-stg on 2018/10/26 13:57:59
SWDEV-132899 - [OCL] use the new "numAvailableCus" property from PAL which has the correct number of total available CUs

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/16060/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#114 edit
2018-10-26 14:08:34 -04:00
Evgeny Mankov c79e0ab55b Merge pull request #729 from emankov/master
[HIPIFY][doc] Readme update
2018-10-26 15:04:00 +03:00
Evgeny Mankov 5ab9c4bbca [HIPIFY][doc] Readme update
Clang 7.0.0 release has a known bug https://bugs.llvm.org/show_bug.cgi?id=36384, thus 7.0.0 is unstable release for Linux and Windows.
Last stable and tested LLVM+Clang release is 6.0.1.
2018-10-26 15:01:58 +03:00
Aaron Enye Shi ba43d1ce1b Remove libhip_device.a static library
Move remaining function definitions from device_util.cpp to hip_runtime.h header. We can now remove the static library completely as device_util.cpp was the last file part of target hip::hip_device .
2018-10-25 19:52:35 +00:00
Evgeny Mankov c54ca16fb5 Merge pull request #727 from emankov/master
[HIPIFY][cmake][fix] Mark all target_link_libraries with PRIVATE keyword
2018-10-25 17:11:30 +03:00
Evgeny Mankov b244d1fc99 [HIPIFY][cmake][fix] Mark all target_link_libraries with PRIVATE keyword
[Reason]
Avoid cmake error occurred when mixing signatures with AddLLVM.cmake

[Error]
CMake Error at CMakeLists.txt:26 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "hipify-clang".
All uses of target_link_libraries with a target must be either all-keyword or all-plain.

Error occurred only on Linux and LLVM 7.0.0
2018-10-25 17:09:18 +03:00
Alex Voicu a743939900 hipLaunchKernel, hipLaunchParm are deprecated, and shall be removed. 2018-10-25 13:32:17 +01:00
Jenkins bb5a732785 Merge 'master' into 'amd-master'
Change-Id: I01408ac709c29e815234097f4acdc07e9b98e8c0
2018-10-25 04:09:35 -05:00
foreman a7b8e9bf47 P4 to Git Change 1623749 by chui@ocl-promo-incrementor on 2018/10/25 03:00:37
SWDEV-2 - Change OpenCL version number from 2764 to 2765.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2512 edit
2018-10-25 03:04:33 -04:00
Maneesh Gupta 05beeec84d Merge pull request #723 from mangupta/fix_double_shfl
Fix logic for double variants of __shfl*
2018-10-25 06:01:38 +05:30
Maneesh Gupta cd53504215 Merge pull request #720 from mangupta/make_rocm19_usable_again
Make HIP functional again with HCC from ROCm 1.9.x
2018-10-25 06:01:27 +05:30
Maneesh Gupta df02a8ef5f Merge pull request #716 from yxsamliu/gfx906
Let hipcc handle gfx906 for hip-clang
2018-10-25 06:01:16 +05:30
foreman 5a126bf678 P4 to Git Change 1623601 by skudchad@skudchad_test2_win_opencl on 2018/10/24 17:52:57
SWDEV-145570 - [HIP] Refactor hipStreamAddCallback

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#15 edit
2018-10-24 18:00:42 -04:00
Maneesh Gupta 7b6d232672 Fix logic for double variants of __shfl*
Change-Id: I604f00b54cf4bd9c5f26ca6fa680fca5e9629417
2018-10-24 12:39:09 +05:30
Maneesh Gupta b01ac26948 Make HIP functional again with HCC from ROCm 1.9.x
Change-Id: I214acdfd0b79dcf783993e44fe31baee64fd4dc3
2018-10-24 10:41:56 +05:30
Qianfeng Zhang 443698ce00 Make correct checking of the returned hipDeviceptr_t from read_global_description() 2018-10-23 21:13:11 +08:00
foreman bb7f9839e7 P4 to Git Change 1622558 by chui@ocl-promo-incrementor on 2018/10/23 03:00:35
SWDEV-2 - Change OpenCL version number from 2763 to 2764.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2511 edit
2018-10-23 03:08:10 -04:00
foreman 697488de5b P4 to Git Change 1622418 by gandryey@gera-w8 on 2018/10/22 17:03:57
SWDEV-79445 - OCL generic changes and code clean-up
	- Don't disable the trace if start occurred on a queue, which didn't generate a preparation. That should fix random timeouts and still keep trace commands in order.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#10 edit
2018-10-22 17:15:40 -04:00
Evgeny Mankov 7631fd7f90 Merge pull request #719 from emankov/master
[HIPIFY] Split CUDA2HIP map into a number of maps based on API type
2018-10-23 00:03:02 +03:00
Evgeny Mankov 75972cb51d [HIPIFY] Split CUDA2HIP map into a number of maps based on API type
[Reasons]
+ Simplify the support
+ Optimize compilation and code generation time

[Additionally]
+ Update minimum required version of cmake
+ Fix MSVC compile options force update
2018-10-23 00:00:10 +03:00
foreman 8a8f11369e P4 to Git Change 1622391 by gandryey@gera-w8 on 2018/10/22 16:33:17
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove detection of the global memory usage, based on the names of variables

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#82 edit
2018-10-22 16:46:17 -04:00
foreman dacfc65a68 P4 to Git Change 1622080 by chui@ocl-promo-incrementor on 2018/10/22 03:01:11
SWDEV-2 - Change OpenCL version number from 2762 to 2763.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2510 edit
2018-10-22 03:10:32 -04:00
Yaxun Sam Liu 1f7b924e2e Let hipcc handle gfx906 for hip-clang 2018-10-21 10:04:30 -04:00
Jenkins e64f7d4609 Merge 'master' into 'amd-master'
Change-Id: I134ce409dd1a0cbf93c1185b6f92089775d327fa
2018-10-19 04:09:39 -05:00
foreman 0cad7593a1 P4 to Git Change 1621545 by chui@ocl-promo-incrementor on 2018/10/19 03:00:32
SWDEV-2 - Change OpenCL version number from 2761 to 2762.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2509 edit
2018-10-19 03:09:00 -04:00
Maneesh Gupta 407e092a13 Merge pull request #705 from ROCm-Developer-Tools/feature_minimal_changes_for_hc_next
Feature minimal changes for hc next
2018-10-19 06:58:31 +05:30
Siu Chi Chan f39873c584 Support more than one bundles in a single .kernel section
When compiling with Early Finalization enabled in HCC,
the resulting .kernel section of the host object now may
contain more than one device code bundles.  This is to
teach the HIP runtime to correctly extract all the
bundles from the .kernel section.
2018-10-18 17:00:27 -04:00
foreman eac5cfc736 P4 to Git Change 1620949 by chui@ocl-promo-incrementor on 2018/10/18 03:00:34
SWDEV-2 - Change OpenCL version number from 2760 to 2761.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2508 edit
2018-10-18 14:17:28 -04:00
foreman 8526ed9b96 P4 to Git Change 1620765 by skudchad@skudchad_test2_win_opencl on 2018/10/17 16:58:04
SWDEV-145570 - [HIP] Track last used event and use last enqueued command in a stream rather than creating a new event

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#20 edit
2018-10-18 13:41:32 -04:00
foreman 19caea543c P4 to Git Change 1620765 by skudchad@skudchad_test2_win_opencl on 2018/10/17 16:58:04
SWDEV-145570 - [HIP] Track last used event and use last enqueued command in a stream rather than creating a new event

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#90 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.hpp#20 edit
2018-10-18 13:41:32 -04:00
Evgeny Mankov 23c8a3e18f Merge pull request #712 from emankov/master
[HIPIFY] CUDA Driver API data types total revise
2018-10-18 18:52:41 +03:00
Evgeny Mankov 865c6f23c7 [HIPIFY] CUDA Driver API data types total revise
+ for all CUDA versions
+ add missing types
+ fix typos
+ sync with HIP
+ update CUDA_Driver_API_functions_supported_by_HIP.md
+ formatting, annotating
2018-10-18 18:50:24 +03:00
foreman 5df1b0cb03 P4 to Git Change 1620269 by chui@ocl-promo-incrementor on 2018/10/17 03:00:32
SWDEV-2 - Change OpenCL version number from 2759 to 2760.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2507 edit
2018-10-18 11:13:25 -04:00
Alex Voicu 3678063598 Dumb workaround is still needed, so add it back. 2018-10-18 15:33:46 +01:00
foreman 4ef369958b P4 to Git Change 1619908 by wchau@wchau_OCL_cmake on 2018/10/16 14:08:33
SWDEV-167383 - [OCL]: Switch to new object format
	- Add flag to disable Ver 3 Object format until it is support by OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#11 edit
2018-10-18 09:36:36 -04:00
foreman e4f80bc457 P4 to Git Change 1619545 by chui@ocl-promo-incrementor on 2018/10/16 03:00:31
SWDEV-2 - Change OpenCL version number from 2758 to 2759.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2506 edit
2018-10-18 08:03:17 -04:00
foreman 9bad9b4d54 P4 to Git Change 1619397 by gandryey@gera-w8 on 2018/10/15 18:23:10
SWDEV-155434 - Add SQTT instrumentation tokens for OpenCL dispatches for RGP support
	- Add the barrier's reason to the RGP trace

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#57 edit
2018-10-18 07:34:23 -04:00
Alex Voicu 59533b84e1 Guard new includes. 2018-10-18 12:29:27 +01:00
Alex Voicu 602280eb8b Re-sync with upstream. 2018-10-18 12:27:03 +01:00
Maneesh Gupta 30523b72a2 Merge pull request #688 from aaronenyeshi/fix-sinf-cosf-ocml
Use sinf and cosf from ocml device libs
2018-10-18 16:39:20 +05:30
foreman 55e3c896aa P4 to Git Change 1619186 by gandryey@gera-w8 on 2018/10/15 13:38:18
SWDEV-155434 - Add SQTT instrumentation tokens for OpenCL dispatches for RGP support
	- Fix SQTT tockets update when multiple queues are captured

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#113 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#56 edit
2018-10-18 06:41:29 -04:00
foreman 8112fe829e P4 to Git Change 1618388 by chui@ocl-promo-incrementor on 2018/10/13 03:01:02
SWDEV-2 - Change OpenCL version number from 2757 to 2758.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2505 edit
2018-10-18 04:10:36 -04:00
foreman 01310ef81f P4 to Git Change 1618184 by kzhuravl@kzhuravl-fiji-ocllc-2 on 2018/10/12 14:28:12
SWDEV-125823 - Fix cmake-based opencl build from p4

	//depot/mirrors/amdgcn.git/* changes would be submitted through gerrit.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#14 edit
2018-10-18 03:07:56 -04:00
foreman 2dcc063b81 P4 to Git Change 1618184 by kzhuravl@kzhuravl-fiji-ocllc-2 on 2018/10/12 14:28:12
SWDEV-125823 - Fix cmake-based opencl build from p4

	//depot/mirrors/amdgcn.git/* changes would be submitted through gerrit.

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#35 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#14 edit
2018-10-18 03:07:56 -04:00
Maneesh Gupta 9143ae6bdb Merge pull request #692 from whchung/hip-reinit-take2
HIP program state re-initialization logic (take 2)
2018-10-18 12:06:41 +05:30
Maneesh Gupta c7a147f109 Merge pull request #711 from nicholasmalaya/patch-1
Updates to HIP porting guide
2018-10-18 12:06:31 +05:30
foreman 3f9829e704 P4 to Git Change 1617914 by chui@ocl-promo-incrementor on 2018/10/12 03:00:36
SWDEV-2 - Change OpenCL version number from 2756 to 2757.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2504 edit
2018-10-18 01:52:20 -04:00
foreman 49dd1b2dcd P4 to Git Change 1617235 by chui@ocl-promo-incrementor on 2018/10/11 03:00:29
SWDEV-2 - Change OpenCL version number from 2755 to 2756.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2503 edit
2018-10-17 23:13:01 -04:00