Commit Graph

13402 Commits

Author SHA1 Message Date
Siu Chi Chan 9fddf100b7 make HIP to load the GPU objects and to setup the function symbol map on startup
[ROCm/clr commit: 0ca9591e55]
2018-02-18 14:26:44 -05:00
foreman 5d22988bc0 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


[ROCm/clr commit: ccb104e56b]
2018-02-16 03:29:48 -05:00
foreman 41f5fd45af 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


[ROCm/clr commit: f63eb0e998]
2018-02-15 08:12:32 -05:00
foreman 04ebcf32bf 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


[ROCm/clr commit: 890b5a78cc]
2018-02-15 03:05:33 -05:00
foreman 41fed64377 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


[ROCm/clr commit: ce7a19fa55]
2018-02-14 15:08:01 -05:00
foreman db9a1af6ff 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


[ROCm/clr commit: 9a85405b0b]
2018-02-14 13:36:18 -05:00
foreman 38dc95449b 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


[ROCm/clr commit: 45f6857022]
2018-02-14 03:04:53 -05:00
Maneesh Gupta b73c021c8f Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc

[ROCm/clr commit: 60bda80014]
2018-02-14 12:47:23 +05:30
Maneesh Gupta 9c0ab85b68 Merge pull request #358 from mangupta/clangformat
[build] Add clangformat target to cmake

[ROCm/clr commit: f30a581183]
2018-02-14 09:16:14 +05:30
Maneesh Gupta e24c6ff5f9 [dtests] Fix HIT block in hipPeerToPeer_simple.cpp
[ROCm/clr commit: cd71f55fd7]
2018-02-14 09:13:50 +05:30
foreman b15a34e3f4 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


[ROCm/clr commit: 7c3a1335d3]
2018-02-13 19:45:32 -05:00
foreman fb67f621b8 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


[ROCm/clr commit: a9ac031e6e]
2018-02-13 07:40:19 -05:00
foreman e7a7c639f0 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


[ROCm/clr commit: 8548f9262e]
2018-02-13 03:12:17 -05:00
foreman ec22c7abe8 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


[ROCm/clr commit: a95e774f01]
2018-02-12 18:02:35 -05:00
foreman fd96c14e23 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


[ROCm/clr commit: 7175a76b6d]
2018-02-12 18:02:35 -05:00
Alex Voicu e2c8b8c9ef Missing merge.
[ROCm/clr commit: 4fadfae944]
2018-02-12 20:21:37 +00:00
Alex Voicu eab8624938 Re-sync with upstream.
[ROCm/clr commit: a704bd8b44]
2018-02-12 20:20:24 +00:00
Maneesh Gupta 2dc84aeaf9 Merge pull request #321 from gargrahul/hipMemcpyArray_Functions
Added support for hipMemcpy Array functions-

[ROCm/clr commit: 647d1ba310]
2018-02-12 10:36:38 +05:30
Maneesh Gupta f06408fa54 [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


[ROCm/clr commit: 6ef0c494d1]
2018-02-12 10:21:27 +05:30
Maneesh Gupta c6562bc2d2 Merge pull request #350 from gargrahul/fix_module_host_global_symbol
Fixed host allocated globals address lookup for host usage

[ROCm/clr commit: 7cd7a10e33]
2018-02-12 10:13:49 +05:30
Maneesh Gupta acf73075e6 Merge pull request #355 from gargrahul/update_hip_programming_guide
Update the programming guide with environment variables names and def…

[ROCm/clr commit: d38f84b213]
2018-02-12 10:13:18 +05:30
foreman a0fa4d2b5e 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


[ROCm/clr commit: 94025b9c3b]
2018-02-10 03:18:46 -05:00
Jenkins 39ddd8bd59 Merge 'master' into 'amd-master'
Change-Id: I1ff5e75252891feb8a2657a5913ed7cfaf544d98


[ROCm/clr commit: 994baf094e]
2018-02-09 04:10:05 -06:00
foreman 9c3083e406 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


[ROCm/clr commit: 6aec0a3b37]
2018-02-09 03:08:55 -05:00
foreman 8ece9f0215 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


[ROCm/clr commit: d2d88e9da0]
2018-02-08 10:57:08 -05:00
foreman 91da571c79 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


[ROCm/clr commit: 1c58eed229]
2018-02-08 03:11:33 -05:00
Evgeny Mankov f5f7b04efe Merge pull request #357 from emankov/master
[HIPIFY][fix] Build against llvm 3.8.0 fixed - missing include

[ROCm/clr commit: 5c6ce59840]
2018-02-08 00:11:15 +03:00
Evgeny Mankov adb39887b2 [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");
            ~~~~~~^


[ROCm/clr commit: 8ba4acb3cd]
2018-02-08 00:08:47 +03:00
foreman 92a659919c 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


[ROCm/clr commit: 42a53ca7c2]
2018-02-07 03:27:34 -05:00
Jenkins b80cd8931a Merge 'master' into 'amd-master'
Change-Id: Iaafb5a8bf49c8e65f718a759da5f16637a8116ce


[ROCm/clr commit: f86c79875f]
2018-02-06 04:10:08 -06:00
Rahul Garg b347b33786 Update the programming guide with environemnt variables names and default threshold values used.
[ROCm/clr commit: c47ae45d0a]
2018-02-06 14:29:04 +05:30
foreman 4c38379289 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


[ROCm/clr commit: e07fd7fc7a]
2018-02-05 10:48:23 -05:00
Maneesh Gupta b91b2601f3 Merge pull request #299 from mangupta/hipStreamAddCallback
Implement hipStreamAddCallback

[ROCm/clr commit: 8359c2eb5a]
2018-02-02 08:32:41 +05:30
Evgeny Mankov 5aa53222f1 Merge pull request #354 from emankov/testing
[HIPIFY][tests] Add coalescing.cu test

[ROCm/clr commit: f961272ef4]
2018-02-01 19:42:30 +03:00
Evgeny Mankov a17cfac3ff [HIPIFY][tests] Add coalescing.cu test
[ROCm/clr commit: e98ee1d627]
2018-02-01 19:41:36 +03:00
Evgeny Mankov 64008e6bfe Merge pull request #353 from emankov/testing
[HIPIFY][tests] Add vec_add.cu test

[ROCm/clr commit: 2c4bafebee]
2018-02-01 18:35:22 +03:00
Evgeny Mankov 180cf3f29c [HIPIFY][tests] Add vec_add.cu test
[ROCm/clr commit: f7fb6e2199]
2018-02-01 18:34:16 +03:00
Evgeny Mankov 4928f0d720 Merge pull request #352 from emankov/testing
Testing

[ROCm/clr commit: 5001755794]
2018-02-01 17:38:09 +03:00
Evgeny Mankov d7d35ed98c [HIPIFY][tests] add new line at the end of file
[ROCm/clr commit: 91ef7b50e5]
2018-02-01 17:36:45 +03:00
Evgeny Mankov 3976fbfe15 [HIPIFY][tests] Add intro.cu test
[ROCm/clr commit: 7d71dfd1f7]
2018-02-01 17:07:48 +03:00
foreman f31d41480d 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


[ROCm/clr commit: 8b14ef24c5]
2018-02-01 03:09:02 -05:00
foreman 61672c8a91 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


[ROCm/clr commit: 9bc6d88733]
2018-01-31 03:09:02 -05:00
Maneesh Gupta 469ffecc71 hipStreamAddCallback.cpp: Replace unistd sleep with sleep_for
Change-Id: I7a5d40a1acd8be76a0f175bcfa731ad89fb88d81


[ROCm/clr commit: 3aab52d7cc]
2018-01-31 10:48:17 +05:30
foreman 6f6e082799 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


[ROCm/clr commit: 2e6d7d965a]
2018-01-30 16:49:46 -05:00
Evgeny Mankov 2f372a54b6 Merge pull request #351 from emankov/cuRAND
[HIPIFY][tests] add poisson-api-example test

[ROCm/clr commit: b755d4e732]
2018-01-30 19:51:31 +03:00
Evgeny Mankov 2a1267bd43 [HIPIFY][tests] add poisson-api-example test
+ add missing types
+ doc update


[ROCm/clr commit: eef94a74bc]
2018-01-30 19:50:18 +03:00
Evgeny Mankov b1357f2264 Merge pull request #349 from emankov/cuRAND
[HIPIFY] InclusionDirective refactoring

[ROCm/clr commit: 04522869a3]
2018-01-30 19:32:05 +03:00
Evgeny Mankov ea60d1daec [HIPIFY][tests] fix typo
[ROCm/clr commit: 2ae2693c8a]
2018-01-30 18:55:09 +03:00
Rahul Garg f15543d5cf Fixed host allocated globals address lookup for host usage
Fixed texture driver APIs failure


[ROCm/clr commit: b8c23f979b]
2018-01-30 18:06:31 +05:30
foreman 624f058edf P4 to Git Change 1509763 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/30 03:00:06
SWDEV-2 - Change OpenCL version number from 2581 to 2582.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2329 edit


[ROCm/clr commit: a7ca88a40e]
2018-01-30 03:10:39 -05:00