Revīziju grafs

13557 Revīzijas

Autors SHA1 Ziņojums Datums
foreman a6603eb87c P4 to Git Change 1517701 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/21 03:00:05
SWDEV-2 - Change OpenCL version number from 2594 to 2595.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2342 edit
2018-02-21 03:07:34 -05:00
foreman e0f4740fc4 P4 to Git Change 1517501 by asalmanp@asalmanp-ocl-stg on 2018/02/20 13:54:28
SWDEV-132899 - [OCL][GFX10] OCLCreateImage[3] fails for the image type 1Darray
	Issue: FillImage blit kernel is not working properly on gfx10 if the image type is 1Darray (i.e., it only fills the first slice/layer and ignores the rest of the layers when number of layers >1)
	Root cause: gfx10 HW expects the number of layers in Z component
	Fix: To fix this issue we swap the Y and Z components if the image type is 1Darray for gfx10+ in image blit kernels.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#14 edit
2018-02-20 14:15:36 -05:00
Jenkins 4783e4c2f3 Merge 'master' into 'amd-master'
Change-Id: Ib1251a94fa5c1d242d2cdd89341fbdc33644cf41
2018-02-20 04:09:51 -06:00
foreman 66208072a3 P4 to Git Change 1517333 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/20 03:08:24
SWDEV-2 - Change OpenCL version number from 2593 to 2594.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2341 edit
2018-02-20 03:21:07 -05:00
Maneesh Gupta 7c2232d4e7 Merge pull request #361 from scchan/load_startup2
load the GPU objects and setup the function symbol map on startup
2018-02-20 12:27:41 +05:30
Siu Chi Chan 0ca9591e55 make HIP to load the GPU objects and to setup the function symbol map on startup 2018-02-18 14:26:44 -05:00
foreman ccb104e56b P4 to Git Change 1516688 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2592 to 2593.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2340 edit
2018-02-16 03:29:48 -05:00
foreman f63eb0e998 P4 to Git Change 1516358 by emankov@em-hsa on 2018/02/15 08:04:51
SWDEV-143465 - Revert of #1516121

	[Reason]
	A plenty of tests are failed.
	After the changing stack logic a lot of tests should be fixed, a lot - to be removed from testing.
	#1516121 will be submitted again after renewal/removal of all the failed tests.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#583 edit
2018-02-15 08:12:32 -05:00
foreman 890b5a78cc P4 to Git Change 1516338 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/15 03:00:05
SWDEV-2 - Change OpenCL version number from 2591 to 2592.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2339 edit
2018-02-15 03:05:33 -05:00
foreman ce7a19fa55 P4 to Git Change 1516173 by skudchad@skudchad_rocm on 2018/02/14 15:02:45
SWDEV-145570 -  Initial hip api checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#2 edit
2018-02-14 15:08:01 -05:00
foreman 9a85405b0b P4 to Git Change 1516121 by emankov@em-hsa on 2018/02/14 13:29:20
SWDEV-143465 - Stop building static C++ kernels on CI+

	Changed stack logic:
	1. Stop supporting AMDIL on CI+ devices: "AMDIL doesn't support device ..." will be reported.
	2. Stop handling OpenCL extension options in RT: if "-x spir" or "-x clc++" option is specified, it wouldn't force legacy AMDIL compiler anymore.
	3. Start reporting error on "-legacy" option in HSAIL compiler. If we reach HSAIL compiler, then it means that there are conflicting options. Report them all, possible options are: -frontend=edg, -cl-std=CL2.0 (>= 2.0),  -binary_is_spirv.

	Already submitted changes in stack logic:
	1. Start reporting error for SI devices on HSAIL path.
	2. Start handling OpenCL extension options on HSAIL path: report error on "-x spir" or "-x clc++" options.

	[Testing]
	rga offline for all the targets supported by HSAIL and AMDIL (from Family_SI up to Family_VI):
	tahiti, pitcairn, capeverde, spectre, spooky, kalindi, hawaii, oland, bonaire, hainan, carrizo, iceland, tonga, fiji, stoney, baffin, ellesmere.

	[Reviewed] by German and Stas (http://ocltc.amd.com/reviews/r/14270)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#582 edit
2018-02-14 13:36:18 -05:00
foreman 45f6857022 P4 to Git Change 1515945 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/14 03:00:25
SWDEV-2 - Change OpenCL version number from 2590 to 2591.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2338 edit
2018-02-14 03:04:53 -05:00
Maneesh Gupta 60bda80014 Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc
2018-02-14 12:47:23 +05:30
Maneesh Gupta f30a581183 Merge pull request #358 from mangupta/clangformat
[build] Add clangformat target to cmake
2018-02-14 09:16:14 +05:30
Maneesh Gupta cd71f55fd7 [dtests] Fix HIT block in hipPeerToPeer_simple.cpp 2018-02-14 09:13:50 +05:30
foreman 7c3a1335d3 P4 to Git Change 1515837 by skudchad@skudchad_rocm on 2018/02/13 19:37:06
SWDEV-145570 -  Initial hip api checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/Makefile#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#1 add
2018-02-13 19:45:32 -05:00
foreman a9ac031e6e P4 to Git Change 1515527 by emankov@em-hsa on 2018/02/13 07:35:08
SWDEV-143465 - Fix crashes while mixed work with hsail and amdil (legacy) paths

	Redirect (where it is possible) ACL API calls from HSAIL lib to legacy AMDIL lib if target is AMDIL.
	For those functions (aclCreateFromBinary, aclReadFromMem), where redirect is impossible, explicit loadLibrary for AMDIL lib and call of corresponding function from AMDIL lib is performed.

	[Reviewed] by Stas (http://ocltc.amd.com/reviews/r/14238)

	[Testing] rga offline for all the targets supported by HSAIL and AMDIL (from Family_SI up to Family_VI):
	tahiti, pitcairn, capeverde, spectre, spooky, kalindi, hawaii, oland, bonaire, hainan, carrizo, iceland, tonga, fiji, stoney, baffin, ellesmere.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/acl.cpp#45 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclValidation.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/api/v0_8/aclValidation.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.h#30 edit
2018-02-13 07:40:19 -05:00
foreman 8548f9262e P4 to Git Change 1515489 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/13 03:00:32
SWDEV-2 - Change OpenCL version number from 2589 to 2590.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2337 edit
2018-02-13 03:12:17 -05:00
foreman a95e774f01 P4 to Git Change 1515374 by skeely@skeely_HSA_linux on 2018/02/12 17:53:32
SWDEV-94389 - Get gl display and context from cl context object.

	Also report Mesa interop errors in debug log.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocglinterop.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocglinterop.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#33 edit
2018-02-12 18:02:35 -05:00
foreman 7175a76b6d P4 to Git Change 1515374 by skeely@skeely_HSA_linux on 2018/02/12 17:53:32
SWDEV-94389 - Get gl display and context from cl context object.

	Also report Mesa interop errors in debug log.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#82 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocglinterop.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocglinterop.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#33 edit
2018-02-12 18:02:35 -05:00
Alex Voicu 4fadfae944 Missing merge. 2018-02-12 20:21:37 +00:00
Alex Voicu a704bd8b44 Re-sync with upstream. 2018-02-12 20:20:24 +00:00
Maneesh Gupta 647d1ba310 Merge pull request #321 from gargrahul/hipMemcpyArray_Functions
Added support for hipMemcpy Array functions-
2018-02-12 10:36:38 +05:30
Maneesh Gupta 6ef0c494d1 [build] Add clangformat target to cmake
- Added a new target "clangformat" which formats the code using the
  clang-format tool found in HCC package.
- Renamed target "static_check" to "cppcheck".
- Use find_program() macro to make the build system more robust.

Change-Id: Ifefbf36f23ff7ef27a870120d5b9170d0cc8aa52
2018-02-12 10:21:27 +05:30
Maneesh Gupta 7cd7a10e33 Merge pull request #350 from gargrahul/fix_module_host_global_symbol
Fixed host allocated globals address lookup for host usage
2018-02-12 10:13:49 +05:30
Maneesh Gupta d38f84b213 Merge pull request #355 from gargrahul/update_hip_programming_guide
Update the programming guide with environment variables names and def…
2018-02-12 10:13:18 +05:30
foreman 94025b9c3b P4 to Git Change 1514800 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/10 03:00:04
SWDEV-2 - Change OpenCL version number from 2588 to 2589.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2336 edit
2018-02-10 03:18:46 -05:00
Jenkins 994baf094e Merge 'master' into 'amd-master'
Change-Id: I1ff5e75252891feb8a2657a5913ed7cfaf544d98
2018-02-09 04:10:05 -06:00
foreman 6aec0a3b37 P4 to Git Change 1514319 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/09 03:00:05
SWDEV-2 - Change OpenCL version number from 2587 to 2588.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2335 edit
2018-02-09 03:08:55 -05:00
foreman d2d88e9da0 P4 to Git Change 1513893 by emankov@em-hsa on 2018/02/08 10:45:50
SWDEV-143465 - HSAIL - Add checks for OpenCL extension and device family

	FAMILY_SI devices and OpenCL extensions clc++ and spir are not supported by HSAIL.
	Affected only offline compilation via ACL API.

	[Reviewed] by Stas, http://ocltc.amd.com/reviews/r/14240
	[Testing] aoc2, rga

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#96 edit
2018-02-08 10:57:08 -05:00
foreman 1c58eed229 P4 to Git Change 1513807 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/08 03:00:44
SWDEV-2 - Change OpenCL version number from 2586 to 2587.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2334 edit
2018-02-08 03:11:33 -05:00
Evgeny Mankov 5c6ce59840 Merge pull request #357 from emankov/master
[HIPIFY][fix] Build against llvm 3.8.0 fixed - missing include
2018-02-08 00:11:15 +03:00
Evgeny Mankov 8ba4acb3cd [HIPIFY][fix] Build against llvm 3.8.0 fixed - missing include
/srv/HIP/hipify-clang/src/main.cpp:134:19: error: no member named 'dbgs' in namespace 'llvm'
      DEBUG(llvm::dbgs() << "Skipped some replacements.\n");
            ~~~~~~^
2018-02-08 00:08:47 +03:00
foreman 42a53ca7c2 P4 to Git Change 1513246 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/07 03:00:04
SWDEV-2 - Change OpenCL version number from 2585 to 2586.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2333 edit
2018-02-07 03:27:34 -05:00
Jenkins f86c79875f Merge 'master' into 'amd-master'
Change-Id: Iaafb5a8bf49c8e65f718a759da5f16637a8116ce
2018-02-06 04:10:08 -06:00
Rahul Garg c47ae45d0a Update the programming guide with environemnt variables names and default threshold values used. 2018-02-06 14:29:04 +05:30
foreman e07fd7fc7a P4 to Git Change 1511846 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/04 03:00:05
SWDEV-2 - Change OpenCL version number from 2584 to 2585.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2332 edit
2018-02-05 10:48:23 -05:00
Maneesh Gupta 8359c2eb5a Merge pull request #299 from mangupta/hipStreamAddCallback
Implement hipStreamAddCallback
2018-02-02 08:32:41 +05:30
Evgeny Mankov f961272ef4 Merge pull request #354 from emankov/testing
[HIPIFY][tests] Add coalescing.cu test
2018-02-01 19:42:30 +03:00
Evgeny Mankov e98ee1d627 [HIPIFY][tests] Add coalescing.cu test 2018-02-01 19:41:36 +03:00
Evgeny Mankov 2c4bafebee Merge pull request #353 from emankov/testing
[HIPIFY][tests] Add vec_add.cu test
2018-02-01 18:35:22 +03:00
Evgeny Mankov f7fb6e2199 [HIPIFY][tests] Add vec_add.cu test 2018-02-01 18:34:16 +03:00
Evgeny Mankov 5001755794 Merge pull request #352 from emankov/testing
Testing
2018-02-01 17:38:09 +03:00
Evgeny Mankov 91ef7b50e5 [HIPIFY][tests] add new line at the end of file 2018-02-01 17:36:45 +03:00
Evgeny Mankov 7d71dfd1f7 [HIPIFY][tests] Add intro.cu test 2018-02-01 17:07:48 +03:00
foreman 8b14ef24c5 P4 to Git Change 1510826 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/01 03:00:05
SWDEV-2 - Change OpenCL version number from 2583 to 2584.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2331 edit
2018-02-01 03:09:02 -05:00
foreman 9bc6d88733 P4 to Git Change 1510302 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/31 03:00:05
SWDEV-2 - Change OpenCL version number from 2582 to 2583.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2330 edit
2018-01-31 03:09:02 -05:00
Maneesh Gupta 3aab52d7cc hipStreamAddCallback.cpp: Replace unistd sleep with sleep_for
Change-Id: I7a5d40a1acd8be76a0f175bcfa731ad89fb88d81
2018-01-31 10:48:17 +05:30
foreman 2e6d7d965a P4 to Git Change 1510104 by gandryey@gera-w8 on 2018/01/30 16:21:25
SWDEV-144231 - [CQE OCL][DTB][Perf][DTB-BLOCKER] 10% Performance drop observed while running Subtests of IndigoBench due to faulty CL#1507569
	-Wavelimiter has more negative impact than improvements in a few benchmarks.
	- Reduce the number of adaptive samples during the search to 4 per each wave count.
	- Add worstWave_ to skip sampling with low performance settings.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#7 edit
2018-01-30 16:49:46 -05:00
Evgeny Mankov b755d4e732 Merge pull request #351 from emankov/cuRAND
[HIPIFY][tests] add poisson-api-example test
2018-01-30 19:51:31 +03:00