Commit Graph

13557 Commits

Author SHA1 Message Date
Maneesh Gupta 99bb89b756 Merge pull request #760 from eshcherb/roctracer-hip-frontend-181113
Roctracer hip frontend 181113
2018-11-23 11:08:25 +05:30
Evgeny c37c1288db FATAL_ERRROR if Profiling API header not found 2018-11-22 21:51:20 -06:00
Evgeny 37dcb91eef fixing the adding of USE_PROF_API define only if the tracer header was found 2018-11-22 21:12:08 -06:00
foreman 74996d53a1 P4 to Git Change 1710968 by gandryey@gera-ocl-lc on 2018/11/22 18:20:03
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix compile erros with COMgr in Windows
	- Switch to different library interface to match the COMgr requirement

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#15 edit
2018-11-22 18:27:11 -05:00
foreman 8d717e2de0 P4 to Git Change 1710935 by jatang@jatang_win_pal_lc on 2018/11/22 16:51:02
SWDEV-168522 - Move VirtualGPU::terminate() code into VirtualGPU::~VirtualGPU().

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#20 edit
2018-11-22 17:23:36 -05:00
foreman 8bce4926b3 P4 to Git Change 1710776 by wchau@wchau_OCL_boltzmann on 2018/11/22 12:54:51
SWDEV-165259 - Update OpenCL runtime to support MsgPack metadata

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#45 edit
2018-11-22 14:04:51 -05:00
Qianfeng Zhang 4f85e98384 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP 2018-11-22 19:11:49 +08:00
Qianfeng Zhang b88c8769ea Add support of printing process ID for HIP Tracing 2018-11-22 18:58:06 +08:00
foreman ee6fd45fa0 P4 to Git Change 1710559 by chui@ocl-promo-incrementor on 2018/11/22 03:00:11
SWDEV-2 - Change OpenCL version number from 2779 to 2780.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2527 edit
2018-11-22 03:07:37 -05:00
Siu Chi Chan ba2b5ff9da Fix issue in kernarg metadata parsing due to early finalization
The logic to parse the kernel metadata is unaware that enabling
of early finalization could result in multiple code blobs in a
single .kernel section.  This teaches the HIP runtime to handle
that.

Change-Id: I1581b42f0da8b30233d7898014f7468728c1d489
2018-11-21 12:09:46 -05:00
Jenkins d37d559501 Merge 'master' into 'amd-master'
Change-Id: I26e2e1777867aab4e5f8d8a27c8bb006a30f867f
2018-11-21 04:09:43 -06:00
foreman bac252ca0f P4 to Git Change 1709971 by chui@ocl-promo-incrementor on 2018/11/21 03:00:10
SWDEV-2 - Change OpenCL version number from 2778 to 2779.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2526 edit
2018-11-21 04:38:42 -05:00
Maneesh Gupta 40d3184dd1 Merge pull request #748 from mkuron/getsymboladdress
Implement hipGetSymbolAddress and hipGetSymbolSize
2018-11-21 10:32:01 +05:30
Maneesh Gupta 29083e2375 Merge pull request #763 from gargrahul/fix_hiphostregister
Fix hipHostRegister
2018-11-21 07:28:23 +05:30
Evgeny Mankov 060e14c3eb Merge pull request #770 from emankov/master
[HIPIFY][SPARSE] Data types support
2018-11-21 01:32:31 +03:00
emankov 732374233c [HIPIFY][SPARSE] Data types support
+ Add all cuSPARSE types
+ Update CUSPARSE_API_supported_by_HIP.md
+ Update README.md
2018-11-21 01:31:02 +03:00
foreman d71cf5ef8b P4 to Git Change 1709633 by gandryey@gera-w8 on 2018/11/20 14:28:02
SWDEV-79445 - OCL generic changes and code clean-up
	- Don't add static LDS usage, since the value from AQL packet will already accumulate that. Also there is a plan to remove the static LDS field from the code object.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#334 edit
2018-11-20 14:47:14 -05:00
Evgeny Mankov 8f605be3c1 Merge pull request #769 from emankov/master
[HIPIFY][SPARSE] Initial support
2018-11-20 18:00:32 +03:00
emankov f66388bd05 [HIPIFY][SPARSE] Initial support 2018-11-20 17:58:05 +03:00
Michael Kuron e9b88711e2 Merge branch 'master' into getsymboladdress 2018-11-20 12:03:22 +01:00
foreman 9fbda74c5c P4 to Git Change 1709307 by chui@ocl-promo-incrementor on 2018/11/20 03:00:11
SWDEV-2 - Change OpenCL version number from 2777 to 2778.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2525 edit
2018-11-20 03:13:23 -05:00
Maneesh Gupta 7eaf20ed8c Merge pull request #765 from mangupta/jenkins-renable-alltests
[ci] Renable excluded tests
2018-11-20 11:56:50 +05:30
Jenkins d581f58b1b Merge 'master' into 'amd-master'
Change-Id: I6fe9b3b4bde9cb49ff3b8119e66da23945ef7e2f
2018-11-19 21:04:57 -06:00
foreman c5f4bf76fd P4 to Git Change 1709089 by wchau@wchau_OCL_boltzmann on 2018/11/19 16:18:36
SWDEV-170523 - [Sugon]OCL conformance Maths and integer-ops fails with commandqueue error
	- increase the max command queue to 200

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#40 edit
2018-11-19 16:36:24 -05:00
foreman 271ec46a6b P4 to Git Change 1709028 by skudchad@skudchad_test2_win_opencl on 2018/11/19 15:15:09
SWDEV-145570 - [HIP] Fix a bug in event tracking

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#29 edit
2018-11-19 15:46:09 -05:00
foreman 9294b521bc P4 to Git Change 1709028 by skudchad@skudchad_test2_win_opencl on 2018/11/19 15:15:09
SWDEV-145570 - [HIP] Fix a bug in event tracking

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#29 edit
2018-11-19 15:46:09 -05:00
Evgeny Mankov 32dd47c9a6 Merge pull request #767 from emankov/master
[HIPIFY] Move Complex API types and functions to separate files
2018-11-19 21:07:03 +03:00
Evgeny Mankov d28c89830d [HIPIFY] Move Complex API types and functions to separate files 2018-11-19 21:04:47 +03:00
Evgeny Mankov 3208e24e15 Merge pull request #766 from emankov/master
[HIPIFY] CUDA Driver API functions total revise (up to CUDA 10.0)
2018-11-19 20:02:20 +03:00
Evgeny Mankov 1472478194 [HIPIFY] CUDA Driver API functions total revise (up to CUDA 10.0)
+ for all CUDA versions
+ add missing types
+ fix typos
+ sync with HIP
+ update CUDA_Driver_API_functions_supported_by_HIP.md
+ formatting, annotating
2018-11-19 20:00:05 +03:00
Maneesh Gupta bb93474e05 [ci] Renable excluded tests
Regressions caused by dependent components have been fixed or workaround
put in place.

Change-Id: I9ecaf0a4a645d9222f12d2c45291f2b23984b72b
2018-11-19 14:31:48 +05:30
foreman ca06b7fc45 P4 to Git Change 1708576 by chui@ocl-promo-incrementor on 2018/11/17 03:00:39
SWDEV-2 - Change OpenCL version number from 2776 to 2777.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2524 edit
2018-11-17 03:07:45 -05:00
Rahul Garg aae87e21d2 Fix hipHostRegister 2018-11-17 05:38:35 +05:30
foreman 7265b71a1c P4 to Git Change 1708308 by wchau@wchau_OCL_boltzmann on 2018/11/16 14:01:10
SWDEV-167383 - [OCL]: Switch to new object format
	- Disable code object v3 for blit programs
	- Porting the changes made by Konstantin (http://git.amd.com:8080/#/c/187605)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#234 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#13 edit
2018-11-16 14:10:39 -05:00
foreman dcf21ab5e6 P4 to Git Change 1708210 by jatang@jatang_win_pal_lc on 2018/11/16 11:48:47
SWDEV-169078 - Also copy  private_segment_size/group_segment_size to runtime handle.

	The library need these info to setup child kernel's AQL for device enqueue.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#69 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#44 edit
2018-11-16 11:57:05 -05:00
Evgeny Mankov 8b0a55144f Merge pull request #762 from emankov/master
[HIPIFY][LLVMCompat] Support of upcoming LLVM 8.0
2018-11-16 14:53:30 +03:00
Evgeny Mankov b087a7f275 [HIPIFY][LLVMCompat] support of upcoming LLVM 8.0
+ StringRef issue, which is finally moved to LLVM from Clang
+ Renamed getBeginLoc() and getEndLoc() resolution for Expr and TypeLoc classes
+ Support all the previous LLVM versions via LLVCompat
2018-11-16 01:23:25 +03:00
Michael Kuron f71b8cbc7d Fix hipGetSymbolAddress/hipGetSymbolSize on nvcc 2018-11-15 09:48:00 +01:00
foreman ef20203777 P4 to Git Change 1707295 by chui@ocl-promo-incrementor on 2018/11/15 03:00:09
SWDEV-2 - Change OpenCL version number from 2775 to 2776.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2523 edit
2018-11-15 03:05:41 -05:00
foreman 70ecf20281 P4 to Git Change 1706699 by chui@ocl-promo-incrementor on 2018/11/14 03:00:08
SWDEV-2 - Change OpenCL version number from 2774 to 2775.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2522 edit
2018-11-14 03:07:59 -05:00
Maneesh Gupta 1685d3d0fd Merge pull request #758 from yxsamliu/fix-sample-module
Fix sample bit_extract for hip-clang
2018-11-14 13:22:45 +05:30
Maneesh Gupta 0c72d32b44 Merge pull request #756 from yxsamliu/fix-heap
Define __hip_device_heap in header for hip-clang only
2018-11-14 13:22:31 +05:30
Maneesh Gupta f769320b5c Merge pull request #755 from gargrahul/fix_memcpy_symb_nonzerodev
Fixed hipMemcpyToSymbol doesn't work on GPU other than device 0
2018-11-14 13:22:22 +05:30
Maneesh Gupta c8e6e6e92d Merge pull request #731 from ROCm-Developer-Tools/feature_get_alignment_and_size_from_metadata
Rely on code object metadata for kernarg arguments alignof and sizeof.
2018-11-14 13:22:13 +05:30
foreman 98f12121ff P4 to Git Change 1706503 by skudchad@skudchad_test2_win_opencl on 2018/11/13 18:06:02
SWDEV-145570 - [HIP] Skip empty bundles

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#20 edit
2018-11-13 18:10:36 -05:00
foreman eed47ec8b3 P4 to Git Change 1706391 by gandryey@gera-w8 on 2018/11/13 15:31:20
SWDEV-79445 - OCL generic changes and code clean-up
	- Remove mapping of some internal CL formats in PAL backend, since it shouldn't need them anymore.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#43 edit
2018-11-13 15:39:48 -05:00
foreman a8c12ee3b6 P4 to Git Change 1706316 by gandryey@gera-w8 on 2018/11/13 14:37:46
SWDEV-168035 - [18.40] OCL runtime interop DX9EX surface using format uyvy and yuy2 fails on ASICs older than Vega
	- The actual issue for this ticket is GSL creates an image view for YUY2 format with incorrect pitch. However OCL runtime can have a workaround, which can disable the view creation by removing useless RGBA to RGB and then back to RGBA.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#153 edit
2018-11-13 14:46:31 -05:00
root 0774b275c8 rebase to master, tracer related changes 2018-11-13 15:50:34 +00:00
Evgeny 1e49cff87a specialized spawner object 2018-11-13 15:33:26 +00:00
Evgeny e362688adf renaming HIP_INIT_CB_API to HIP_INIT_API 2018-11-13 15:33:26 +00:00