Grafico dei commit

13474 Commit

Autore SHA1 Messaggio Data
Jenkins 22af82f98a Merge 'master' into 'amd-master'
Change-Id: Ibb123e2f64e03999afd020a1fac5bfc3ea40e37f
2019-01-24 06:21:54 -05:00
Evgeny Mankov 229b34fc79 [HIPIFY] CUDA Runtime API functions total revise (up to CUDA 10.0)
+ for all CUDA versions starting from 7.0
+ add missing functions
+ sync with HIP
+ update CUDA_Runtime_API_functions_supported_by_HIP.md
+ update affected tests
+ fix typos
+ formatting, annotating
2019-01-24 14:05:36 +03:00
foreman 19f2b3dd84 P4 to Git Change 1735010 by chui@ocl-promo-incrementor on 2019/01/24 03:00:12
SWDEV-2 - Change OpenCL version number from 2820 to 2821.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2568 edit
2019-01-24 03:10:23 -05:00
Maneesh Gupta 791db4d760 Merge pull request #882 from eshcherb/roctracer-hip-frontend-190123
enabling PROF_API pkgconfig
2019-01-24 12:10:52 +05:30
Evgeny 6fd5946273 PROF_API pkgconfig roctracer-proto module lookup 2019-01-23 23:40:35 -06:00
Evgeny eb183d4e7b enabling PROF_API pkgconfig 2019-01-23 22:05:50 -06:00
Jenkins 2a10557b04 Merge 'master' into 'amd-master'
Change-Id: Ia5a392b6b40cffec050e740f0750734cff1318ce
2019-01-23 11:20:06 -06:00
Maneesh Gupta b5b5ba1b36 Merge pull request #877 from mangupta/ci_enable_rocm_21
[ci] Add rocm-2.1.x to CI testing infrastructure
2019-01-23 22:48:31 +05:30
Aaron Enye Shi a014668d3a Fix mixed dot for Jenkins rocm_head 2019-01-23 16:39:25 +00:00
foreman 74d0d697d8 P4 to Git Change 1734433 by chui@ocl-promo-incrementor on 2019/01/23 03:00:12
SWDEV-2 - Change OpenCL version number from 2819 to 2820.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2567 edit
2019-01-23 03:48:16 -05:00
Maneesh Gupta a7f60b2aa7 [ci] Add rocm-2.1.x to CI testing infrastructure
Change-Id: I4c8025b7745605f4ba01000d609211801176d4e0
2019-01-23 13:12:44 +05:30
Aaron Enye Shi bbe5a0381f Add tests for dot functions 2019-01-22 22:32:28 +00:00
Aaron Enye Shi b63597bb95 Use correct OCKL native vector types 2019-01-22 22:31:19 +00:00
Rahul Garg 7951cd03b2 Fixed HIP error check in P2P sample test 2019-01-23 01:10:07 +05:30
Evgeny Mankov fac08442da Merge pull request #875 from emankov/master
[HIPIFY][tests] Exclude one more test if CUDA == 7.0, which is of CUDA 7.5
2019-01-22 22:29:10 +03:00
Evgeny Mankov 994ee4bab0 [HIPIFY][tests] Exclude one more test if CUDA == 7.0, which is of CUDA 7.5 2019-01-22 22:26:43 +03:00
Aaron Enye Shi b0e0ec3c67 Allow hip-clang to use amd_mixed_dot as well 2019-01-22 16:21:16 +00:00
Jenkins 0bf9b785be Merge 'master' into 'amd-master'
Change-Id: I0a73024fd9e3166383ae2a475f3a9708696d18d4
2019-01-22 04:09:35 -06:00
Maneesh Gupta 2c610dde0b Merge pull request #873 from gargrahul/fix_p2p_host_memory_access
Fixed issue of GPU device losing access to host pinned memory
2019-01-22 10:53:18 +05:30
Maneesh Gupta 325a5a2606 Merge pull request #872 from yxsamliu/chrono
Use chrono instead of sys/time.h in test
2019-01-22 10:53:07 +05:30
Rahul Garg f8b399d3b5 Fixed issue of GPU device losing access to host pinned memory 2019-01-22 06:25:43 +05:30
Yaxun Sam Liu f49aed237b Fix get_time in tests for nvcc 2019-01-21 14:07:50 -05:00
Yaxun Sam Liu 75a67c216f Use chrono instead of sys/time.h in test
sys/time.h is not available on Windows. Use C++11 <chrono> instead so that the tests
compile on Windows.
2019-01-20 00:05:27 -05:00
foreman dfbf0c56b3 P4 to Git Change 1732914 by chui@ocl-promo-incrementor on 2019/01/19 03:00:08
SWDEV-2 - Change OpenCL version number from 2818 to 2819.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2566 edit
2019-01-19 03:11:47 -05:00
foreman 0b466ae6ff P4 to Git Change 1732709 by gandryey@gera-w8 on 2019/01/18 14:18:03
SWDEV-79445 - OCL generic changes and code clean-up
	- Add  101010 GL interop formats mapping into CL_RGBA. The change will make sure the channel order consistency between OGL and OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#47 edit
2019-01-18 14:41:37 -05:00
foreman 02c5d38cb9 P4 to Git Change 1732709 by gandryey@gera-w8 on 2019/01/18 14:18:03
SWDEV-79445 - OCL generic changes and code clean-up
	- Add  101010 GL interop formats mapping into CL_RGBA. The change will make sure the channel order consistency between OGL and OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#47 edit
2019-01-18 14:41:37 -05:00
Jenkins 6a506f838e Merge 'master' into 'amd-master'
Change-Id: I0e3bd737c4c8453995daeba512223b68339ebbbc
2019-01-18 10:02:24 -06:00
Maneesh Gupta b86b994917 Merge pull request #871 from mangupta/roctracer_graceful_disable
Don't break cmake configure if roctracer headers not found
2019-01-18 16:11:11 +05:30
foreman cdbec540c4 P4 to Git Change 1732420 by chui@ocl-promo-incrementor on 2019/01/18 03:00:08
SWDEV-2 - Change OpenCL version number from 2817 to 2818.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2565 edit
2019-01-18 03:41:54 -05:00
Maneesh Gupta 3403527cfd Don't break cmake configure if roctracer headers not found
Change-Id: I35e49b52353ab24680836e397ab50136922f8641
2019-01-18 13:23:57 +05:30
foreman bd3af873ec P4 to Git Change 1732253 by asalmanp@asalmanp-ocl-stg on 2019/01/17 21:45:23
SWDEV-132899 - [OCL][GFX10] 70 subtests of Conformance Mipmaps (clCopyImage) test failed for image type 1Darray
	This is the follow up for CL#1517501

	copyImage1DA blit kernel uses image2d_array_t type for src/dst images. On gx10, num of arrays/layers is expected in Z component for a 2Darray image so a swap is required for 1Darray images when we use 2Darray image for the image copy. The copyImage1DA has code for swapping z and y components as follows:

	if (srcOrigin.w != 0) {
	coordsSrc.z = coordsSrc.y;
	coordsSrc.y = 0;
	}
	if (dstOrigin.w != 0) {
	coordsDst.z = coordsDst.y;
	coordsDst.y = 0;
	}

	So to use this path force the w component to 1 for src and dst images on gfx10 if image type is 1Darray.

	ReviewRequestURL = http://ocltc.amd.com/reviews/r/16538/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#28 edit
2019-01-17 22:11:38 -05:00
foreman aab00a26bc P4 to Git Change 1732177 by gandryey@gera-w8 on 2019/01/17 18:08:26
SWDEV-174282 - [AMF] WIN10 Converter fails when scale YUY2 image with certain output width
	- When OCL creates an image view use the pitch value from the original surface

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#185 edit
2019-01-17 18:33:10 -05:00
foreman aa3989dcd0 P4 to Git Change 1732168 by jatang@jatang_win_pal_lc on 2019/01/17 17:58:53
SWDEV-172202 - Workaround the scheduler for systems don't support PCIe 3 atomics properly.

	The idea is the scheduler uses a device side global as write_index, and only write the write_index back to the hsa queue when the last thread of the scheduler leaves.

	This change along with the library side change have been tested on systems with or without proper PCIe 3 atomics support.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsched.hpp#2 edit
2019-01-17 18:20:24 -05:00
foreman dc3e9a916d P4 to Git Change 1732008 by wchau@wchau_OCL_boltzmann on 2019/01/17 13:33:23
SWDEV-162389 - OpenCL Support for COMgr
	- added the machineTargetLC_ values, which was introduced in CL1702548, for Carrizo and Hawaii
	- requested by Joseph Greathouse for public users (https://github.com/RadeonOpenCompute/ROCm/issues/668)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#22 edit
2019-01-17 15:20:06 -05:00
foreman 30a3da25f9 P4 to Git Change 1731717 by chui@ocl-promo-incrementor on 2019/01/17 03:00:10
SWDEV-2 - Change OpenCL version number from 2816 to 2817.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2564 edit
2019-01-17 07:06:07 -05:00
Jenkins 9a924a0cdd Merge 'master' into 'amd-master'
Change-Id: I00fa411292865183cc0b91fc133e745812b82df3
2019-01-17 04:48:17 -06:00
Maneesh Gupta c67082ebc2 Merge pull request #870 from eshcherb/roctracer-hip-frontend-190116
fixing HSA_INIT_API cid args
2019-01-17 12:13:22 +05:30
Evgeny 47625cb8fd fixing HSA_INIT_API cid args 2019-01-16 23:45:44 -06:00
Jenkins 2e5dcfa432 Merge 'master' into 'amd-master'
Change-Id: I03be43978ccec5e0248abfd1e6e33a7bfa309ba8
2019-01-16 15:10:17 -06:00
Evgeny Mankov 95f66adaf3 Merge pull request #868 from emankov/master
[HIPIFY][fix][#867] Relative paths routines fixes and improvements
2019-01-16 20:34:32 +03:00
foreman 1210448dd2 P4 to Git Change 1731224 by jatang@jatang_win_pal_lc on 2019/01/16 10:40:44
SWDEV-172202 - Back out changelist 1730757.

	Failure in OCLDynamic tests in various TC Sanity tests.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#111 edit
2019-01-16 11:32:33 -05:00
Evgeny Mankov 7bbf284636 [HIPIFY][fix][#867] Relative paths routines fixes and improvements
+ Always check for existence any file or dir, first of all, because real_path and make_absolute differ: real_path additionally performs access on file/dir.
+ Relative path routines in source files implemented similarly to dirs.
+ Error handling improvements.
2019-01-16 19:30:09 +03:00
foreman a7d345bacc P4 to Git Change 1731071 by chui@ocl-promo-incrementor on 2019/01/16 03:00:08
SWDEV-2 - Change OpenCL version number from 2815 to 2816.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2563 edit
2019-01-16 04:07:29 -05:00
Maneesh Gupta 01f52762fc Merge pull request #864 from mangupta/swdev-157382
Switch to faster ocml variants for trig instrinsics
2019-01-16 10:17:20 +05:30
foreman 8f937aef7c P4 to Git Change 1730757 by jatang@jatang_win_pal_lc on 2019/01/15 15:41:42
SWDEV-172202 - Enable OpenCL 2.0 when PCIe Gen3 atomics is support.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#110 edit
2019-01-15 16:36:10 -05:00
Maneesh Gupta f74816efe6 Map more instrincis to ocml native
Change-Id: I54e55d5902931bafdabd0956e4e8c1d7b39f7173
2019-01-15 19:40:37 +05:30
Evgeny Mankov dd22278232 Merge pull request #866 from emankov/testing
[HIPIFY] Introduce '-D' and '-I' options as hipify-clang's ones
2019-01-15 14:48:13 +03:00
Jenkins 2e4eef062a Merge 'master' into 'amd-master'
Change-Id: I342a35fd72978295f4734576c8048ec4337aec73
2019-01-15 04:09:45 -06:00
foreman 6b10f9322c P4 to Git Change 1730491 by chui@ocl-promo-incrementor on 2019/01/15 03:00:07
SWDEV-2 - Change OpenCL version number from 2814 to 2815.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2562 edit
2019-01-15 03:14:15 -05:00
Aaron Enye Shi bdb84f3d9c Add backwards compatibility to dot funcs 2019-01-14 23:14:49 +00:00