Commit Graph

13076 Commits

Author SHA1 Message Date
foreman c1feb00a21 P4 to Git Change 1322095 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/04 03:00:04
SWDEV-2 - Change OpenCL version number from 2233 to 2234.

Affected files ...

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


[ROCm/clr commit: eb99287a0e]
2016-10-04 03:07:59 -04:00
foreman b9bf6c1251 P4 to Git Change 1322036 by smekhano@stas-mwamba-rocm on 2016/10/03 22:44:10
SWDEV-104366 - ROCm/LC: allow passing options to llvm through -Wb,...
	Reviewed by Laurent Morichetti

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#22 edit


[ROCm/clr commit: 0f7a5d7cd8]
2016-10-03 22:49:41 -04:00
Ben Sander c47374f479 Fix hipMemSetAsync compilation, bounds check on name copy
[ROCm/clr commit: 48849feba3]
2016-10-03 19:05:19 -05:00
foreman fb820c50f9 P4 to Git Change 1321923 by smekhano@stas-mwamba-rocm-hsa on 2016/10/03 16:45:37
SWDEV-104346 - ROCm/HSA: allow code object and isa dump under -save-temps
	Reviewed by Laurent Morichetti

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#38 edit


[ROCm/clr commit: 7607667bd3]
2016-10-03 16:57:03 -04:00
foreman 13e575d167 P4 to Git Change 1321888 by gandryey@gera-w8 on 2016/10/03 15:55:50
SWDEV-79445 - OCL generic changes and code clean-up
	- Add the destinaiton buffer size to the LF transfer method

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#406 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#97 edit


[ROCm/clr commit: 638eae7a23]
2016-10-03 16:00:17 -04:00
foreman aca5d3bf96 P4 to Git Change 1321888 by gandryey@gera-w8 on 2016/10/03 15:55:50
SWDEV-79445 - OCL generic changes and code clean-up
	- Add the destinaiton buffer size to the LF transfer method

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#406 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#97 edit


[ROCm/clr commit: 630f349191]
2016-10-03 16:00:17 -04:00
foreman fc5094216f P4 to Git Change 1321838 by smekhano@stas-mwamba-rocm-hsa on 2016/10/03 14:09:41
SWDEV-104316 - set correct target for ROCm/HSA
	Reviewed by Laurent Morichetti

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#7 edit


[ROCm/clr commit: 9c5cfb0551]
2016-10-03 14:21:28 -04:00
Aditya Atluri 21ef342e65 Stream fix on nvcc hipMemsetAsync
Change-Id: Ia0eb81dff0f422af55d93b4635d42e9aa6921377


[ROCm/clr commit: 3edff7dd3b]
2016-10-03 12:38:41 -05:00
Maneesh Gupta f64e21459e cmake: Fix identations
Change-Id: Iecc79f030968a2b67bfa41218d0a4edbd2594f63


[ROCm/clr commit: 4cc035b894]
2016-10-03 22:52:23 +05:30
foreman d5bc32346a P4 to Git Change 1321686 by emankov@em-hsa-amd on 2016/10/03 06:43:39
SWDEV-103207 - FIX: clCreateProgramWithBinary memory leak - REGRESSION

	Leaks were in Runtime in functions Program::addDeviceProgram and Program::link.

	[Testing] http://ocltc.amd.com:8111/viewModification.html?modId=77100&personal=true&init=1&tab=vcsModificationBuilds&show_all_builds=true

	[Reviewer] Stanislav Mekhanoshin

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#84 edit


[ROCm/clr commit: 109eabeca3]
2016-10-03 06:52:09 -04:00
foreman 477c346968 P4 to Git Change 1321642 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/03 03:00:04
SWDEV-2 - Change OpenCL version number from 2232 to 2233.

Affected files ...

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


[ROCm/clr commit: 02e5d461ac]
2016-10-03 03:10:54 -04:00
Ben Sander 2606f22c7f small typo fix
Change-Id: I01906b330be8e6ec149bcdfe82def73e15931c89


[ROCm/clr commit: e413869271]
2016-10-02 05:57:02 -05:00
Ben Sander 77014b3165 disable DB_SHOW_TID
Change-Id: Ia415437e8ba9903de149997380f61f1272488642


[ROCm/clr commit: 0bcb54be35]
2016-10-02 05:56:38 -05:00
foreman a23261d1c2 P4 to Git Change 1321554 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/02 03:00:04
SWDEV-2 - Change OpenCL version number from 2231 to 2232.

Affected files ...

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


[ROCm/clr commit: df23e8bafe]
2016-10-02 03:08:21 -04:00
Ben Sander f8856acbd1 fix test args
Change-Id: If18eb2a5e504accb72a25716aafb6867002fefb2


[ROCm/clr commit: bf3ce40fb1]
2016-10-01 14:39:22 -05:00
Aditya Atluri 62747f5b91 updated symbol usage in docs
Change-Id: I522c793f9cfa6a912dcb4a3d0044e94de3d3cd0e


[ROCm/clr commit: 64a1366198]
2016-10-01 13:41:09 -05:00
foreman a0574db327 P4 to Git Change 1321515 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/01 03:00:08
SWDEV-2 - Change OpenCL version number from 2230 to 2231.

Affected files ...

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


[ROCm/clr commit: a54d5a3597]
2016-10-01 03:10:09 -04:00
sandeep kumar ae352f60d8 Add 2_Cookbook
Change-Id: I10bbbd4bcb80a5900fe6af466c8f4c94ea5efe9a


[ROCm/clr commit: 67c7f0ab5a]
2016-09-30 12:52:06 +05:30
Maneesh Gupta 0873b87190 HIT: maintain source hierarchy for generated test executables
Change-Id: I997650d10cf38f35edb6b88b130a62c3541a850c


[ROCm/clr commit: 6874e33c77]
2016-09-30 12:49:11 +05:30
foreman 9cd45b4f91 P4 to Git Change 1321002 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/30 03:00:05
SWDEV-2 - Change OpenCL version number from 2229 to 2230.

Affected files ...

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


[ROCm/clr commit: 8320b5bb4f]
2016-09-30 03:11:44 -04:00
foreman 663cb0cdb0 P4 to Git Change 1320976 by lmoriche@lmoriche_opencl_dev on 2016/09/30 02:00:09
SWDEV-103751 - [ROCm CQE][OCLonLC][QR][G] WF 2.0 conf test "Subgroups" fails
	- Enable cl_khr_subgroups for the ROCm device.
	- Fill in info_.wavefrontWidth_ from hsa_get_agent_info

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#4 edit


[ROCm/clr commit: a6d5fb60eb]
2016-09-30 02:07:13 -04:00
Aditya Atluri 91627f9bae added vector types for C path
Change-Id: I4ccd4082f1b2ce4f0f4fd9fb498506234783a803


[ROCm/clr commit: c31ee6b25d]
2016-09-29 19:44:00 -05:00
pensun ff4b8932c9 update hipcc to search for lib using CUDA_PATH on NV path
Change-Id: I7e19d1f82237a8a13f3d8284b313ac049be3f920


[ROCm/clr commit: fea7dc684a]
2016-09-29 15:11:57 -05:00
Aditya Atluri b474890896 Added C guard for math headers
Change-Id: I0e71819c6436b3e6c99b2deddb2ee2d2a16acedd


[ROCm/clr commit: 2d5bf72b27]
2016-09-29 13:54:34 -05:00
Aditya Atluri 92429ae17d Fixed issue on git #39
Change-Id: I5b507fc2b544df0cd3a900a2763c7a3ad6295c13


[ROCm/clr commit: ca033e19cf]
2016-09-29 10:06:26 -05:00
foreman d580ff6c05 P4 to Git Change 1320374 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/29 03:00:04
SWDEV-2 - Change OpenCL version number from 2228 to 2229.

Affected files ...

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


[ROCm/clr commit: 52294f7d9b]
2016-09-29 03:11:56 -04:00
pensun 3b2e733b19 add hipEvent* macros on NV path
Change-Id: I28ff0fa24f69560e13366e7cd8d3a485665c67e1


[ROCm/clr commit: 4570877142]
2016-09-29 01:22:19 -05:00
Maneesh Gupta b6abc6b0fb Rebuild hip_hcc if hcc version changes
And also force rebuild of .buildInfo & .version everytime

Change-Id: I97e0d3c24fd693366a293803088014d13ca640cc


[ROCm/clr commit: 1df4c1288a]
2016-09-29 10:29:35 +05:30
foreman e7837bd664 P4 to Git Change 1319819 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/28 03:00:08
SWDEV-2 - Change OpenCL version number from 2227 to 2228.

Affected files ...

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


[ROCm/clr commit: bf954b958a]
2016-09-28 03:12:09 -04:00
foreman e410fa30e7 P4 to Git Change 1319752 by lmoriche@lmoriche_opencl_dev on 2016/09/28 00:48:39
SWDEV-103420 - [ROCm CQE][OCLonLC][Fiji] 9 of 47 tests failed in oclperf.so component in Fiji
	Enable image support for the Lightning path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#20 edit


[ROCm/clr commit: 59612c30f9]
2016-09-28 00:55:30 -04:00
pensun eb5bb292ae change hipEnvVarDriver to reduce communications to hipEnvVar
Change-Id: I65a5f67dd51d53594fa51f88505e32321643d189


[ROCm/clr commit: e6d7ecc0f5]
2016-09-27 23:00:11 -05:00
Ben Sander d5d764a4d4 Refactor asyncCopy and syncCopy to fix deadlock case.
- Minimize time that locks are held.
- Eliminate copy code that locked stream and ctx at same time.
    - Stream was locked to ensure thread-safe enqueue to the queue.
    - Devices were locked to query peer-lists.

Change-Id: Ibe8880bb7fb995a3da8f90ff911f212d81525018


[ROCm/clr commit: 806e58ca63]
2016-09-27 15:45:40 -05:00
Ben Sander a0ec18c516 Add debug option to print ThreadID with each message.
Also print messages with single fprintf to prevents threads from
interleaving.

Change-Id: Ib3999fe6b1e67b4a16cd7dcde82f3dfc99dd48ff


[ROCm/clr commit: 4fd4168796]
2016-09-27 15:45:40 -05:00
Ben Sander 89dd26a07a Add iterations option to MT test.
Change-Id: I945706a75601006ee55a408f965483dd263190ef


[ROCm/clr commit: c53349a371]
2016-09-27 15:45:40 -05:00
foreman b9215bee28 P4 to Git Change 1319465 by lmoriche@lmoriche_opencl_dev on 2016/09/27 14:56:10
SWDEV-103418 - [ROCm CQE][OCLonLC][Fiji] OCLCreateBuffer results in Segmentation fault
	Fix KernelBlitManager::createProgram to report an error if one or more blit kernel could not be created. Re-enable the image blit kernels in the blit program.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blitcl.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#4 edit


[ROCm/clr commit: fd73443cb0]
2016-09-27 15:06:48 -04:00
Aditya Atluri ef4ed33772 Fixed hipDeviceGetAttribute
1. Added negative test for hipDeviceGetAttribute
2. Fixed hipDeviceGetAttribute if int ptr input is null

Change-Id: I0e31f50fa407701fddf96e4eb64a87a371ff5d95


[ROCm/clr commit: 04b68a515d]
2016-09-27 13:33:42 -05:00
Aditya Atluri 99095ec70e added more device negative testing
1. Added fallback for nullptr to hipGetDeviceProperties and hipGetDeviceCount
2. Added negative tests for hipGetDeviceProperties and hipGetDeviceCount

Change-Id: Iac93fd53d7d4794fb10546ddadf6ca802b047c87


[ROCm/clr commit: 4299316039]
2016-09-27 13:04:35 -05:00
Aditya Atluri 0f1df51a33 fallthrough if deviceId pointer is null
Change-Id: I924996d60d0286a7be1d18881ee733459de2981c


[ROCm/clr commit: 57872d2a88]
2016-09-27 11:47:58 -05:00
Aditya Atluri d8e4eb476e added negative testing for device APIs
Change-Id: I7bfcdd777f240d36b29eca987f7bc9da7614d704


[ROCm/clr commit: 977918badf]
2016-09-27 11:38:31 -05:00
foreman ca799f5cad P4 to Git Change 1319372 by gandryey@gera-w8 on 2016/09/27 12:16:18
SWDEV-102288 - [CQE OCL][OpenCL on PAL] 32bit "ExtractPrimes" OpenCL SDK Sample is causing TDR followed by crash
	- Disable OCL2.0 with 32 bit binaries for VI+

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#7 edit


[ROCm/clr commit: 9aa76246e5]
2016-09-27 12:22:54 -04:00
foreman c92e253812 P4 to Git Change 1319330 by gandryey@gera-w8 on 2016/09/27 11:03:51
SWDEV-86035 - Add PAL backend to OpenCL
	- Use wait() for now to match GSL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#25 edit


[ROCm/clr commit: 692f05e628]
2016-09-27 11:15:47 -04:00
Maneesh Gupta bac30c4561 directed tests: Enable remaining tests in HIT infrastructure
Change-Id: I800ee00d6f7d339bb5d2ed898a16362a8541ed3a


[ROCm/clr commit: 1e8282327b]
2016-09-27 17:24:33 +05:30
Maneesh Gupta 4535f548a8 HIT: Support make_named_test
Change-Id: I7472c14595f10c4f2e2cf8d0228cc0373458a0b7


[ROCm/clr commit: 887525ac32]
2016-09-27 17:22:23 +05:30
Maneesh Gupta fe90277cf3 make test: Build tests in parallel
Change-Id: If7b9d0519554226d09d8e6264eb248cd2dd53a2e


[ROCm/clr commit: 356aa8a983]
2016-09-27 17:21:18 +05:30
foreman 31396ef3f7 P4 to Git Change 1319173 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/27 03:00:04
SWDEV-2 - Change OpenCL version number from 2226 to 2227.

Affected files ...

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


[ROCm/clr commit: fb882c1a5b]
2016-09-27 03:11:19 -04:00
foreman de6ad9f2b5 P4 to Git Change 1319074 by gandryey@gera-w8 on 2016/09/26 19:39:26
SWDEV-101621 - [CQE OCL][OpenCL on PAL] 6 WF Conformance tests are failing
	- Some tests may call syncFromCache and if SDMA can't perform that transfer kernel will be used. Kernel used in the transfer may break memory dependency tracking, because sync is done during memory objects processing. Use local variable for memory list and add mem objects to the tracker at the end of processMemObjectsHSA()

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#12 edit


[ROCm/clr commit: 1197b3c361]
2016-09-26 19:48:04 -04:00
Ben Sander 46a4854bae Fix signal resource issue.
Remove memory leak with new hc::completion_future.
Implement HIP_LAUNCH_BLOCKING with queue-level wait.

Change-Id: I45975f81c4d239fdeed7776970988d28449865dc


[ROCm/clr commit: f6717e326e]
2016-09-26 16:47:32 -05:00
Ben Sander d10d1425f3 Small tool, doc, sample enhancements.
- Expand message when HIP version mismatch detected.
- Doc touchup.
- change sorting of hipBusBandwidth so byte results shown at top.
-

Change-Id: Ifb4e44a5fdfb65d59c4994b11e5f13385705f7e0


[ROCm/clr commit: 061bcc6a5c]
2016-09-26 16:36:01 -05:00
pensun 62ecc57afd fix of HIPCC on libc++ option on HCC path
Change-Id: Ie0d3213a165fa13f033b777b490eb60b980d02da


[ROCm/clr commit: 5bdb9e349c]
2016-09-26 14:39:57 -05:00
Rahul Garg e77925d911 Doxygen documentation changes for hipCtxXXX APIs
Change-Id: I1e5e3a621b732bd8bdeef1c607c004d6adfdab32


[ROCm/clr commit: 3d1a61f1d9]
2016-09-26 23:11:07 +05:30