Граф коммитов

13197 Коммитов

Автор SHA1 Сообщение Дата
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
Aaron Enye Shi 7ba7d9a0f6 Move fp16 dot functions to hip_fp16 2019-01-14 21:50:32 +00:00
Evgeny Mankov e5e93a1088 [HIPIFY] rename variables as requested in review 2019-01-14 21:19:34 +03:00
Evgeny Mankov 4b8fdda651 [HIPIFY] Introduce '-D' option as hipify-clang's one
+ '-D' might be set as hipify-clang option (before separator '--' or without specifying separator at all);
+ '-D' as a clang option might be specified as well (after options separator '--');
+ All defines specified as hipify-clang defines (before options separator '--') will be set after clang's ones and will redefine the same clang's ones.
2019-01-14 19:34:42 +03:00
Evgeny Mankov d5281a771a [HIPIFY] Introduce '-I' option as hipify-clang's one
+ '-I' might be set as hipify-clang option (before separator '--' or without specifying separator at all);
+ '-I' as a clang option might be specified as well (after options separator '--').
2019-01-14 18:23:54 +03:00
Maneesh Gupta 54e4463d16 Switch to faster ocml variants for trig instrinsics
Change-Id: If62821e2fe1b0da91ad1b8c5580ebf1a009405e9
2019-01-14 13:01:57 +05:30
foreman ae5ae500b0 P4 to Git Change 1729594 by chui@ocl-promo-incrementor on 2019/01/12 03:00:05
SWDEV-2 - Change OpenCL version number from 2813 to 2814.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2561 edit
2019-01-12 03:09:23 -05:00
foreman 283c86ed26 P4 to Git Change 1729577 by lmoriche@lmoriche_opencl_lc on 2019/01/11 22:21:53
SWDEV-145570 - [HIP] Windows build fix

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#11 edit
2019-01-11 22:45:33 -05:00
Aaron Enye Shi 84a028b9e1 Add Dot functions as amd_mixed_dot function
Introduce the Dot functions which are available in the device library. Forward those prototypes, and introduce HIP API to expose the usage of the dot functions.
2019-01-11 23:31:02 +00:00
Evgeny Mankov a075eb8658 Merge pull request #861 from emankov/master
[HIPIFY][cmake] Add header files to the project explicitly
2019-01-11 16:45:32 +03:00
Jenkins 54db0e2c0f Merge 'master' into 'amd-master'
Change-Id: Ie46e5c47b00abc773e5f5c03188852aaee32aa74
2019-01-11 04:09:51 -06:00
foreman a8fd09d6d9 P4 to Git Change 1729095 by chui@ocl-promo-incrementor on 2019/01/11 03:00:06
SWDEV-2 - Change OpenCL version number from 2812 to 2813.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2560 edit
2019-01-11 03:20:28 -05:00
Maneesh Gupta 7def56e23e Merge pull request #858 from lmoriche/Windows
Fix compilation issues with MSVC
2019-01-11 12:36:07 +05:30
Maneesh Gupta bc2f51a86f Merge pull request #857 from ROCm-Developer-Tools/feature_ensure_lazy_init_initialises
Ensure that static structures are populated
2019-01-11 12:35:52 +05:30
Maneesh Gupta 6320a98498 Merge pull request #859 from LucasCampos/README-typo
Fix typo in README.md
2019-01-11 07:54:19 +05:30
foreman 427327b92c P4 to Git Change 1728676 by cpaquot@cpaquot-ocl-lc-lnx on 2019/01/10 14:29:52
SWDEV-145570 - [HIP] Add API tracing, enabled via LOG_LEVEL=3

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#19 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/api/hip/trace_helper.h#1 add
2019-01-10 14:46:01 -05:00
Evgeny Mankov b053cc0a21 [HIPIFY][cmake] Add header files to the project explicitly 2019-01-10 19:45:43 +03:00
Evgeny Mankov dc9f9e9c35 Merge pull request #860 from emankov/master
[HIPIFY] Introduce '--' option - a separator between hipify-clang and…
2019-01-10 19:18:04 +03:00
Evgeny Mankov 63b7fc5714 [HIPIFY] Introduce '--' option - a separator between hipify-clang and clang options
+ Append '--' to the end of hipify-clang options in case of its absence.

[Reason]
+ Avoid the necessity for the user in JSON compilation database specification.
  Otherwise:
  Error while trying to load a compilation database:
  Could not auto-detect compilation database for file "test.cu"

  Though the hipification will be performed correctly without JSON database.
2019-01-10 18:27:30 +03:00
Evgeny Mankov 0661f69bff Merge pull request #856 from emankov/master
[HIPIFY] Introduce CUDA installation path option '--cuda-path'
2019-01-10 18:13:56 +03:00
Evgeny Mankov 9b6af0a81d [HIPIFY] option cuda-path might be used with '--' as well as with a single dash: '-'
+ Update README.md
2019-01-10 18:01:33 +03:00
Lucas Campos ae4c2ee64c Fix typo in README.md 2019-01-10 09:45:23 +01:00
Jenkins fdfd607c3f Merge 'master' into 'amd-master'
Change-Id: I99fad287ff52fb4c34228ef5107118b6a038e3f9
2019-01-09 15:22:25 -06:00
Laurent Morichetti 167bbffc4f Fix compilation issues with MSVC 2019-01-09 09:32:50 -08:00
Alex Voicu 1c815170da Ensure that static structures are populated 2019-01-09 17:21:53 +00:00
Evgeny Mankov c4268855e3 [HIPIFY] Introduce CUDA installation path option '-cuda-path'
Repeats clang's '--cuda-path' option.

[Reason]
In case of absence of any other clang's options setting '-cuda-path' allows not to specify separator '--' before clang's '--cuda-path'.

+ Tests and scripts are updated accordingly.
2019-01-09 20:18:36 +03:00
Evgeny Mankov 39ea22916a Merge pull request #855 from emankov/master
[HIPIFY][cmake][win] Add cmake versioning depending on Visual Studio version
2019-01-09 18:29:01 +03:00
Evgeny Mankov 558894ab06 [HIPIFY][cmake][win] Add cmake versioning depending on Visual Studio version 2019-01-09 16:44:12 +03:00