Maneesh Gupta
11fd56ed5d
clang-hipify -> hipify-clang. Also attempt to build it by default
...
Change-Id: I694e6c772f5347c820d9bd6c9aa61d6d9696911e
2016-10-05 13:06:22 +05:30
foreman
cd59b49eca
P4 to Git Change 1322609 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/05 03:00:04
...
SWDEV-2 - Change OpenCL version number from 2234 to 2235.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1981 edit
2016-10-05 03:11:54 -04:00
Maneesh Gupta
948d94def8
hipcc: Updated to use new include path
...
Change-Id: I4de6bb6978f2908dbb4d4cfd6e394d21fed90dd5
2016-10-05 10:54:42 +05:30
foreman
48d2ffaaf3
P4 to Git Change 1322291 by gandryey@gera-w8 on 2016/10/04 13:47:50
...
SWDEV-103536 - [CQE OCL][OpenCL on PAL] 32/64bit "SimpleMultiDevice" OpenCL SDK Sample is Failing
- Switch to std::queue for the batch list
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#13 edit
2016-10-04 14:07:56 -04:00
Maneesh Gupta
e388f775a3
doxy.cfg: Fixed to use updated include path
...
Change-Id: I21149d3dd3111eaf8c23ff8550a1303d339f5c5d
2016-10-04 22:29:40 +05:30
Maneesh Gupta
ead394ec09
samples: Updated to use new hip include path
...
Change-Id: I53a1385a17f13a997ea21d14315f15a3ad851dab
2016-10-04 22:21:10 +05:30
Maneesh Gupta
5947878247
directed tests: Updated to use new hip include path
...
Change-Id: Iab1aee638b7158eb9674a19625dedf6471947e51
2016-10-04 22:20:50 +05:30
Maneesh Gupta
57715b967f
hip_base package: Updated to handle updated hip include path
...
Change-Id: I936516874cef4ab551d613303fde32ffe2c6c805
2016-10-04 22:19:52 +05:30
Maneesh Gupta
75b2ff1c3f
Update hipify-clang to generate updated hip_runtime header path
...
Change-Id: I64ceb037f2aa68e4e8d254be7d0bebff83061990
2016-10-04 22:18:55 +05:30
Maneesh Gupta
bbfc08f419
Move include/* to include/hip/*
...
Change-Id: I7a7b2839b4df59c7a4c503550f99fdc9e45c0f54
2016-10-04 22:17:18 +05:30
foreman
eb99287a0e
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
2016-10-04 03:07:59 -04:00
foreman
0f7a5d7cd8
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
2016-10-03 22:49:41 -04:00
Ben Sander
48849feba3
Fix hipMemSetAsync compilation, bounds check on name copy
2016-10-03 19:05:19 -05:00
foreman
7607667bd3
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
2016-10-03 16:57:03 -04:00
foreman
638eae7a23
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
2016-10-03 16:00:17 -04:00
foreman
630f349191
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
2016-10-03 16:00:17 -04:00
foreman
9c5cfb0551
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
2016-10-03 14:21:28 -04:00
Aditya Atluri
3edff7dd3b
Stream fix on nvcc hipMemsetAsync
...
Change-Id: Ia0eb81dff0f422af55d93b4635d42e9aa6921377
2016-10-03 12:38:41 -05:00
Maneesh Gupta
4cc035b894
cmake: Fix identations
...
Change-Id: Iecc79f030968a2b67bfa41218d0a4edbd2594f63
2016-10-03 22:52:23 +05:30
foreman
109eabeca3
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
2016-10-03 06:52:09 -04:00
foreman
02e5d461ac
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
2016-10-03 03:10:54 -04:00
Ben Sander
e413869271
small typo fix
...
Change-Id: I01906b330be8e6ec149bcdfe82def73e15931c89
2016-10-02 05:57:02 -05:00
Ben Sander
0bcb54be35
disable DB_SHOW_TID
...
Change-Id: Ia415437e8ba9903de149997380f61f1272488642
2016-10-02 05:56:38 -05:00
foreman
df23e8bafe
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
2016-10-02 03:08:21 -04:00
Ben Sander
bf3ce40fb1
fix test args
...
Change-Id: If18eb2a5e504accb72a25716aafb6867002fefb2
2016-10-01 14:39:22 -05:00
Aditya Atluri
64a1366198
updated symbol usage in docs
...
Change-Id: I522c793f9cfa6a912dcb4a3d0044e94de3d3cd0e
2016-10-01 13:41:09 -05:00
foreman
a54d5a3597
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
2016-10-01 03:10:09 -04:00
Maneesh Gupta
91c34c976a
Merge branch 'amd-develop' into amd-master
...
Change-Id: I5b104cbe9aa97f4152fcd7d5d86b606f69492f70
2016-09-30 12:58:06 +05:30
sandeep kumar
67c7f0ab5a
Add 2_Cookbook
...
Change-Id: I10bbbd4bcb80a5900fe6af466c8f4c94ea5efe9a
2016-09-30 12:52:06 +05:30
Maneesh Gupta
6874e33c77
HIT: maintain source hierarchy for generated test executables
...
Change-Id: I997650d10cf38f35edb6b88b130a62c3541a850c
2016-09-30 12:49:11 +05:30
foreman
8320b5bb4f
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
2016-09-30 03:11:44 -04:00
foreman
a6d5fb60eb
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
2016-09-30 02:07:13 -04:00
Aditya Atluri
c31ee6b25d
added vector types for C path
...
Change-Id: I4ccd4082f1b2ce4f0f4fd9fb498506234783a803
2016-09-29 19:44:00 -05:00
pensun
fea7dc684a
update hipcc to search for lib using CUDA_PATH on NV path
...
Change-Id: I7e19d1f82237a8a13f3d8284b313ac049be3f920
2016-09-29 15:11:57 -05:00
Aditya Atluri
2d5bf72b27
Added C guard for math headers
...
Change-Id: I0e71819c6436b3e6c99b2deddb2ee2d2a16acedd
2016-09-29 13:54:34 -05:00
Aditya Atluri
ca033e19cf
Fixed issue on git #39
...
Change-Id: I5b507fc2b544df0cd3a900a2763c7a3ad6295c13
2016-09-29 10:06:26 -05:00
foreman
52294f7d9b
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
2016-09-29 03:11:56 -04:00
pensun
4570877142
add hipEvent* macros on NV path
...
Change-Id: I28ff0fa24f69560e13366e7cd8d3a485665c67e1
2016-09-29 01:22:19 -05:00
Maneesh Gupta
1df4c1288a
Rebuild hip_hcc if hcc version changes
...
And also force rebuild of .buildInfo & .version everytime
Change-Id: I97e0d3c24fd693366a293803088014d13ca640cc
2016-09-29 10:29:35 +05:30
foreman
bf954b958a
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
2016-09-28 03:12:09 -04:00
foreman
59612c30f9
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
2016-09-28 00:55:30 -04:00
pensun
e6d7ecc0f5
change hipEnvVarDriver to reduce communications to hipEnvVar
...
Change-Id: I65a5f67dd51d53594fa51f88505e32321643d189
2016-09-27 23:00:11 -05:00
Ben Sander
806e58ca63
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
2016-09-27 15:45:40 -05:00
Ben Sander
4fd4168796
Add debug option to print ThreadID with each message.
...
Also print messages with single fprintf to prevents threads from
interleaving.
Change-Id: Ib3999fe6b1e67b4a16cd7dcde82f3dfc99dd48ff
2016-09-27 15:45:40 -05:00
Ben Sander
c53349a371
Add iterations option to MT test.
...
Change-Id: I945706a75601006ee55a408f965483dd263190ef
2016-09-27 15:45:40 -05:00
foreman
fd73443cb0
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
2016-09-27 15:06:48 -04:00
Aditya Atluri
04b68a515d
Fixed hipDeviceGetAttribute
...
1. Added negative test for hipDeviceGetAttribute
2. Fixed hipDeviceGetAttribute if int ptr input is null
Change-Id: I0e31f50fa407701fddf96e4eb64a87a371ff5d95
2016-09-27 13:33:42 -05:00
Aditya Atluri
4299316039
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
2016-09-27 13:04:35 -05:00
Aditya Atluri
57872d2a88
fallthrough if deviceId pointer is null
...
Change-Id: I924996d60d0286a7be1d18881ee733459de2981c
2016-09-27 11:47:58 -05:00
Aditya Atluri
977918badf
added negative testing for device APIs
...
Change-Id: I7bfcdd777f240d36b29eca987f7bc9da7614d704
2016-09-27 11:38:31 -05:00