Wykres commitów

13197 Commity

Autor SHA1 Wiadomość Data
Evgeny Mankov fd0c56a767 [HIPIFY] cudaDataType_t and libraryPropertyType_t support (CUDA 8.0.44 only)
All are marked as HIP_UNSUPPORTED.
IMPORTANT:
1. libraryPropertyType_t has no cuda prefix. => TO_DO: new matcher is needed.
2. all libraries (cublas, cufft, cusolver, cusparse, nvgraph) have started to use these types (since 8.0).
2017-01-10 20:24:27 +03:00
Evgeny Mankov 81fd34f236 [HIPIFY] cudaDeviceAttr (RT API) support up to CUDA 8.0.44
Attributes, which are not yet supported by HIP, are marked as HIP_UNSUPPORTED.
2017-01-10 19:29:33 +03:00
Evgeny Mankov c0c04f34be [HIPIFY] CUdevice_attribute support up to CUDA 8.0.44
Attributes, which are not yet supported by HIP, are marked as HIP_UNSUPPORTED.
2017-01-10 17:54:22 +03:00
foreman a21f0ca72d P4 to Git Change 1360145 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/10 03:00:05
SWDEV-2 - Change OpenCL version number from 2330 to 2331.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2077 edit
2017-01-10 03:08:33 -05:00
Ben Sander ff77106399 Fix delete[] 2017-01-09 21:03:11 -06:00
Ben Sander b29fbf736d Add HIP_MAX_QUEUES feature.
Includes some tricky manipulation of the locks for contexts and streams.
issue is that stealing a stream requires we lock the context to
walk the streams to find a victim.  To avoid deadlock, we can't
have a stream locked when we lock the context.  This implementation
releases the stream lock, then acquires the context and selects the
victim.
A more stable implemenation might be to copy the stream list
from a context so that a lock is not required to walk all streams.
Smart shared_ptr could be used to prevent the streams from being
deallocated during the walk.
2017-01-09 21:02:56 -06:00
Ben Sander c9f5fe34e6 First pass at virtualized queue support.
Also updated stream debug messages to consistently use trace_helper.
2017-01-09 21:02:53 -06:00
Ben Sander a6034b88e2 Add more notes on debugging HIP apps. 2017-01-09 21:02:50 -06:00
Ben Sander 49d1477b9d tolerate spaces in hip args 2017-01-09 20:57:13 -06:00
foreman d535a9fbf4 P4 to Git Change 1359979 by skudchad@skudchad_test_win_opencl2 on 2017/01/09 18:53:16
SWDEV-107271 - [OpenCL][GFXIP9 Bring up] add support for Raven(gfx901)
	- Fix USWC memory calculations
	- Try USWC allocations if local are unsuccessful

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#9 edit
2017-01-09 19:02:23 -05:00
Rahul Garg 090eadd0bd Added state for hipDevice.
Change-Id: Idbc3c04cd054a01b634856a1e0a23ff172e991aa
2017-01-09 23:54:01 +05:30
foreman 9461bd5db9 P4 to Git Change 1359607 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/09 03:00:05
SWDEV-2 - Change OpenCL version number from 2329 to 2330.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2076 edit
2017-01-09 03:12:49 -05:00
foreman 688ff11645 P4 to Git Change 1359514 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/08 03:00:07
SWDEV-2 - Change OpenCL version number from 2328 to 2329.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2075 edit
2017-01-08 03:24:05 -05:00
foreman 449772003a P4 to Git Change 1359506 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/07 03:00:04
SWDEV-2 - Change OpenCL version number from 2327 to 2328.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2074 edit
2017-01-07 03:15:56 -05:00
foreman 26aa36070b P4 to Git Change 1359138 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/06 03:00:07
SWDEV-2 - Change OpenCL version number from 2326 to 2327.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2073 edit
2017-01-06 03:05:28 -05:00
Maneesh Gupta e72dd38295 Merge branch 'amd-develop' into amd-master
Change-Id: I81429e5f3f55a71498da6cece9d08a8b1c170057
2017-01-06 12:55:36 +05:30
scchan d71ac5c91a [cmake] add library dependencies to hip_hcc libraries 2017-01-05 18:26:54 -05:00
foreman 0673572c79 P4 to Git Change 1358998 by gandryey@gera-w8 on 2017/01/05 17:36:02
SWDEV-110504 - OpenCL on ROCm: MAX_WORK_GROUP_SIZE is 256 but max work items per dimension is 1024
	- Report Orca stack capabilities. OCL runtime currently can't report 1024 due to possible regressions in the apps.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#32 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#12 edit
2017-01-05 17:46:40 -05:00
foreman 46b8820454 P4 to Git Change 1358907 by skudchad@skudchad_test_win_opencl2 on 2017/01/05 15:04:39
SWDEV-107966 - PCMark10 OpenCL Performance Regression with SVM
	- Remove optimization for pinned memory. This causes performance drops now what we can use SUA model. This can be inserted in the future if the IOMMUv2 HW gets faster

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#237 edit
2017-01-05 15:16:37 -05:00
foreman 978163569f P4 to Git Change 1358812 by asalmanp@asalmanp-opencl-stg on 2017/01/05 11:55:44
SWDEV-109077 - [Polaris22][OCL] Add Driver Support for Polaris22(gfx8). Polaris22 is yet another new gfx8 ASIC and should follow ELM/BFN/Lexa code path.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/12114/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/SI/devStateSI.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/devState.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/gpu/scwrapper/scCompileBase.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/loaders/bif/amuabi/amuABI.h#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDIL.h#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILSubtarget.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/Internal/AMDILInternalDeviceFlags.h#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#145 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#562 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#230 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#349 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#179 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#5 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#27 edit
2017-01-05 12:05:03 -05:00
foreman 6d8a7a40c9 P4 to Git Change 1358677 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/05 03:00:04
SWDEV-2 - Change OpenCL version number from 2325 to 2326.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2072 edit
2017-01-05 03:06:26 -05:00
foreman eba058f572 P4 to Git Change 1358617 by crjin@tc_opencl on 2017/01/04 21:54:04
SWDEV-110151 - [CQE OCL][TongaGL][QR] Hard hang/ error saying: "rendered images have artifacts(probably due to driver...)" is observed, while running RAT GPU(Low) due to faulty CL#1354622

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#178 edit
2017-01-04 22:02:46 -05:00
foreman 548d4174ea P4 to Git Change 1358402 by gandryey@gera-w8 on 2017/01/04 11:28:19
SWDEV-109541 - Max queues limit in OCL impacts product development at GE Healthcare
	- Make GPU_MAX_COMMAND_QUEUES available in release build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#263 edit
2017-01-04 11:36:21 -05:00
foreman ff99f1f762 P4 to Git Change 1358358 by wchau@wchau_OCL_boltzmann on 2017/01/04 10:21:31
SWDEV-102698 - Back out changelist 1358063

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#147 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/Makefile#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#206 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#281 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#262 edit
2017-01-04 10:26:13 -05:00
foreman 99820356f1 P4 to Git Change 1358295 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/04 03:00:06
SWDEV-2 - Change OpenCL version number from 2324 to 2325.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2071 edit
2017-01-04 03:11:15 -05:00
Maneesh Gupta 9b02f0d7e5 hipcc: Link to shared HIP runtime by default
Change-Id: I5030e3245e4afb6863b401656ca5d1ad9ae84310
2017-01-04 12:39:09 +05:30
foreman b9916d35f4 P4 to Git Change 1358063 by wchau@wchau_OCL_boltzmann on 2017/01/03 16:44:42
SWDEV-102698 - [OCL-LC-ROCm] Add code caching support to OpenCL program manager

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#146 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/Makefile#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/build/Makefile.runtime#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#205 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#280 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#261 edit
2017-01-03 16:56:06 -05:00
foreman b48cac624d P4 to Git Change 1358001 by skudchad@skudchad_test_win_opencl2 on 2017/01/03 15:05:28
SWDEV-107271 - [OpenCL][GFXIP9 Bring up] add support for Raven(gfx901)
	- Add perf counter blocks in PAL backend.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#36 edit
2017-01-03 15:18:03 -05:00
foreman 0948789f95 P4 to Git Change 1357839 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/03 03:00:05
SWDEV-2 - Change OpenCL version number from 2323 to 2324.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2070 edit
2017-01-03 03:08:26 -05:00
foreman 8970ee531c P4 to Git Change 1357711 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/02 03:00:06
SWDEV-2 - Change OpenCL version number from 2322 to 2323.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2069 edit
2017-01-02 03:29:07 -05:00
foreman e28597cc6a P4 to Git Change 1357696 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/01 03:00:05
SWDEV-2 - Change OpenCL version number from 2321 to 2322.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2068 edit
2017-01-01 02:19:50 -06:00
foreman ac57286b77 P4 to Git Change 1357689 by johtaylo@johtaylo-jtincrementor-increment on 2016/12/31 03:00:05
SWDEV-2 - Change OpenCL version number from 2320 to 2321.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2067 edit
2016-12-31 03:13:13 -05:00
foreman b15c59101c P4 to Git Change 1357675 by johtaylo@johtaylo-jtincrementor-increment on 2016/12/30 03:00:04
SWDEV-2 - Change OpenCL version number from 2319 to 2320.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2066 edit
2016-12-30 03:05:55 -05:00
foreman d129ee08cb P4 to Git Change 1357560 by johtaylo@johtaylo-jtincrementor-increment on 2016/12/29 03:00:17
SWDEV-2 - Change OpenCL version number from 2318 to 2319.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2065 edit
2016-12-29 03:10:01 -05:00
Evgeny Mankov bbb75fdd8e [HIPIFY] Elapsed time is added to statistics. 2016-12-28 20:44:05 +03:00
Evgeny Mankov ddf51d382c [HIPIFY] Added the rest of cuBlas API.
CUBLAS API 7.5 now is supported by hipify;
API calls, which are not yet supported by hcblas/hipblas, are listed as HIP_UNSUPPORTED.
2016-12-28 18:08:10 +03:00
foreman 93db06a41b P4 to Git Change 1357423 by johtaylo@johtaylo-jtincrementor-increment on 2016/12/28 03:00:05
SWDEV-2 - Change OpenCL version number from 2317 to 2318.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2064 edit
2016-12-28 03:14:43 -05:00
foreman c5bc579945 P4 to Git Change 1357375 by skudchad@skudchad_test_win_opencl2 on 2016/12/27 23:17:06
SWDEV-107271 - [OpenCL][GFXIP9 Bring up] add support for Raven(gfx901)
	- Add case for gfx901 else target device is incorrect for finalizer

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#23 edit
2016-12-27 23:24:46 -05:00
foreman f17f0ec8a0 P4 to Git Change 1357354 by skudchad@skudchad_test_win_opencl2 on 2016/12/27 18:32:01
SWDEV-107271 - [OpenCL][GFXIP9 Bring up] add support for Raven(gfx901)
	- Fill some missing places with BU details

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#17 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#16 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#36 edit
2016-12-27 18:37:15 -05:00
Evgeny Mankov 9070d55814 [HIPIFY] Formatting, no functional changes. 2016-12-27 19:48:59 +03:00
Evgeny Mankov e740d368d9 [HIPIFY] [Fix] An argument of a function used as macro argument is not hipified.
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/35
2016-12-27 18:54:02 +03:00
foreman 1926daacdd P4 to Git Change 1357276 by johtaylo@johtaylo-jtincrementor-increment on 2016/12/27 03:00:05
SWDEV-2 - Change OpenCL version number from 2316 to 2317.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2063 edit
2016-12-27 03:12:34 -05:00
Evgeny Mankov 3cd1adcb24 [HIPIFY] Pointer to typedef declaration is not hipified
Fix for https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/60
2016-12-26 19:03:50 +03:00
foreman cb48e33f54 P4 to Git Change 1357145 by johtaylo@johtaylo-jtincrementor-increment on 2016/12/26 03:00:04
SWDEV-2 - Change OpenCL version number from 2315 to 2316.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2062 edit
2016-12-26 03:20:35 -05:00
foreman 5584248bd6 P4 to Git Change 1357052 by johtaylo@johtaylo-jtincrementor-increment on 2016/12/25 03:00:05
SWDEV-2 - Change OpenCL version number from 2314 to 2315.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2061 edit
2016-12-25 03:14:06 -05:00
foreman cd1ee25c14 P4 to Git Change 1357043 by johtaylo@johtaylo-jtincrementor-increment on 2016/12/24 03:00:05
SWDEV-2 - Change OpenCL version number from 2313 to 2314.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2060 edit
2016-12-24 03:15:18 -05:00
Evgeny Mankov f6aa3ddb0e [HIPIFY] Add hipconvertinplace2.sh and hipexamine2.sh scripts for hipify-clang.
The differences from the similar scripts for hipify.pl:
1. CSV file with extended statistics is produced.
2. scripts' arguments are changed a bit:
DIRNAME [hipify options] [--] [clang options]

where -- is a delimiter; all the arguments are optional, except DIRNAME.

Usage example:
./hipexamine2.sh ./tmp -o-stats ./tmp/stats.csv -- -I/usr/local/cuda-7.5/include -I/usr/local/hipify-clang/hipblas/include 2>&1 | tee log
2016-12-23 22:06:20 +03:00
Evgeny Mankov e8c5906062 [HIPIFY] Fix line endings. 2016-12-23 18:01:26 +03:00
Evgeny Mankov 52b3fb9f79 [HIPIFY] Stats: Calculation of changed code amount, based on actually replaced bytes.
+ REPLACED bytes, TOTAL bytes & CODE CHANGED are added to statistics.
+ -o-stats option for specifying the file with statistic.
2016-12-23 17:40:06 +03:00
foreman 615c944321 P4 to Git Change 1356716 by johtaylo@johtaylo-jtincrementor-increment on 2016/12/23 03:00:04
SWDEV-2 - Change OpenCL version number from 2312 to 2313.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2059 edit
2016-12-23 03:06:32 -05:00