Wykres commitów

54851 Commity

Autor SHA1 Wiadomość Data
Ramesh Errabolu 513004fb28 Enable code for Perf Cntrs for gfx900 - AI family device
Change-Id: I4659da1a8db17392016fc90c8ea19b5805b5d3aa


[ROCm/ROCR-Runtime commit: 42e751519b]
2017-02-15 21:50:23 -06:00
Evgeny Mankov b979de6ba7 [HIPIFY] [Fix] Crash on thrust example fallback_allocator.cu.
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/65

[Bug]
Access violation in cudaStructVar matcher.

      StringRef name = structVar->getType()
        ->getAsStructureType()
        ->getDecl() // <--- Access Violation
        ->getNameAsString();

[Solution]
Add isStructureType() check before getting type as Struct.

[ToDo]
Find case-studies for that StructVar matcher with types other than Struct.


[ROCm/clr commit: 7c1deb6140]
2017-02-15 19:48:31 +03:00
Evgeny Mankov 7c1deb6140 [HIPIFY] [Fix] Crash on thrust example fallback_allocator.cu.
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/65

[Bug]
Access violation in cudaStructVar matcher.

      StringRef name = structVar->getType()
        ->getAsStructureType()
        ->getDecl() // <--- Access Violation
        ->getNameAsString();

[Solution]
Add isStructureType() check before getting type as Struct.

[ToDo]
Find case-studies for that StructVar matcher with types other than Struct.
2017-02-15 19:48:31 +03:00
Evgeny Mankov 950434f4af [HIPIFY] [Fix] Crash on thrust example fallback_allocator.cu.
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/65

[Bug]
Access violation in cudaStructVar matcher.

      StringRef name = structVar->getType()
        ->getAsStructureType()
        ->getDecl() // <--- Access Violation
        ->getNameAsString();

[Solution]
Add isStructureType() check before getting type as Struct.

[ToDo]
Find case-studies for that StructVar matcher with types other than Struct.
2017-02-15 19:48:31 +03:00
James Edwards 900f272622 Fixes to HSA CMakeList.txt files
Change-Id: Idd176d24dfd22bd9a6a8860ab035fd5d1aca756d
2017-02-15 08:26:30 -06:00
James Edwards 212d7c3f8f Fixes to HSA CMakeList.txt files
Change-Id: Idd176d24dfd22bd9a6a8860ab035fd5d1aca756d


[ROCm/ROCR-Runtime commit: 900f272622]
2017-02-15 08:26:30 -06:00
foreman f5cd5f9de8 P4 to Git Change 1373431 by gandryey@gera-w8 on 2017/02/14 17:31:04
SWDEV-112401 - [OCLonROCm vs LinuxPro][Fiji][Perf] Around ~ 70% performance drop observed with OCL SDK - BlackScholes test
	- Switch persistent emulation to device memory instead of system memory, since ROCr doesn't support visible heap without large bar. It's a potential tradeoff of persistent usage in the applications between an upload buffer or directly in a kernel.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#11 edit


[ROCm/clr commit: faf83743d8]
2017-02-14 17:38:43 -05:00
foreman faf83743d8 P4 to Git Change 1373431 by gandryey@gera-w8 on 2017/02/14 17:31:04
SWDEV-112401 - [OCLonROCm vs LinuxPro][Fiji][Perf] Around ~ 70% performance drop observed with OCL SDK - BlackScholes test
	- Switch persistent emulation to device memory instead of system memory, since ROCr doesn't support visible heap without large bar. It's a potential tradeoff of persistent usage in the applications between an upload buffer or directly in a kernel.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#11 edit
2017-02-14 17:38:43 -05:00
James Edwards b7e06b471c Fix TeamCity builds using utils.cmake.
Change-Id: Id15a911dad06643d9457cc4d8c907fc5796772ee
2017-02-14 15:36:21 -06:00
James Edwards fca0ec886c Fix TeamCity builds using utils.cmake.
Change-Id: Id15a911dad06643d9457cc4d8c907fc5796772ee


[ROCm/ROCR-Runtime commit: b7e06b471c]
2017-02-14 15:36:21 -06:00
foreman 346ddde28b P4 to Git Change 1373253 by gandryey@gera-w8 on 2017/02/14 13:58:07
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix VS2015 build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#231 edit


[ROCm/clr commit: 5c0346b5ba]
2017-02-14 14:05:10 -05:00
foreman 5c0346b5ba P4 to Git Change 1373253 by gandryey@gera-w8 on 2017/02/14 13:58:07
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix VS2015 build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#231 edit
2017-02-14 14:05:10 -05:00
Evgeny Mankov 707099d957 [HIPIFY] Add file:line:col info to [HIPIFY] warnings/errors.
[ROCm/clr commit: 26dc7a0995]
2017-02-14 21:36:49 +03:00
Evgeny Mankov 26dc7a0995 [HIPIFY] Add file:line:col info to [HIPIFY] warnings/errors. 2017-02-14 21:36:49 +03:00
Evgeny Mankov e39ed24a50 [HIPIFY] Add file:line:col info to [HIPIFY] warnings/errors. 2017-02-14 21:36:49 +03:00
James Edwards acb1f0b689 Add --dirty tag to utils.cmake
Change-Id: Ib2487eade8d88530df34dfb8e9b442e547e9f52d
2017-02-14 11:19:33 -06:00
James Edwards edac49b876 Add --dirty tag to utils.cmake
Change-Id: Ib2487eade8d88530df34dfb8e9b442e547e9f52d


[ROCm/ROCR-Runtime commit: acb1f0b689]
2017-02-14 11:19:33 -06:00
scchan 5b1cb0b1c6 calls isfinite,isinf,isnan from the std namespace on the host
Change-Id: Ica2370075b89713eecfd96102e2f4e0ab9961ce4


[ROCm/clr commit: a6ac4e7097]
2017-02-14 11:52:09 -05:00
scchan a6ac4e7097 calls isfinite,isinf,isnan from the std namespace on the host
Change-Id: Ica2370075b89713eecfd96102e2f4e0ab9961ce4
2017-02-14 11:52:09 -05:00
scchan ad9d9b25c1 calls isfinite,isinf,isnan from the std namespace on the host
Change-Id: Ica2370075b89713eecfd96102e2f4e0ab9961ce4
2017-02-14 11:52:09 -05:00
Evgeny Mankov fda8416aff [HIPIFY] Add more unhandled refs for opaque pointers.
CUfunc_st -> hipFunction_t *
CUctx_st -> hipCtx_t *
CUmod_st -> hipModule_t *


[ROCm/clr commit: 353f5b238a]
2017-02-14 17:34:10 +03:00
Evgeny Mankov 353f5b238a [HIPIFY] Add more unhandled refs for opaque pointers.
CUfunc_st -> hipFunction_t *
CUctx_st -> hipCtx_t *
CUmod_st -> hipModule_t *
2017-02-14 17:34:10 +03:00
Evgeny Mankov b3941dd546 [HIPIFY] Add more unhandled refs for opaque pointers.
CUfunc_st -> hipFunction_t *
CUctx_st -> hipCtx_t *
CUmod_st -> hipModule_t *
2017-02-14 17:34:10 +03:00
Evgeny Mankov 275bafea76 [HIPIFY] Fix warnings on unhandled refs.
CUstream_st -> hipStream_t *
CUevent_st -> hipEvent_t * (fixed, was -> hipEvent_t)

Warning:
[HIPIFY] warning: the following reference is not handled: 'CUstream_st' [struct var ptr]. (thrust/examples/cuda/async_reduce.cu)


[ROCm/clr commit: ce2daa53fb]
2017-02-14 17:23:09 +03:00
Evgeny Mankov ce2daa53fb [HIPIFY] Fix warnings on unhandled refs.
CUstream_st -> hipStream_t *
CUevent_st -> hipEvent_t * (fixed, was -> hipEvent_t)

Warning:
[HIPIFY] warning: the following reference is not handled: 'CUstream_st' [struct var ptr]. (thrust/examples/cuda/async_reduce.cu)
2017-02-14 17:23:09 +03:00
Evgeny Mankov a6db38c337 [HIPIFY] Fix warnings on unhandled refs.
CUstream_st -> hipStream_t *
CUevent_st -> hipEvent_t * (fixed, was -> hipEvent_t)

Warning:
[HIPIFY] warning: the following reference is not handled: 'CUstream_st' [struct var ptr]. (thrust/examples/cuda/async_reduce.cu)
2017-02-14 17:23:09 +03:00
James Edwards 73e942cd8a Modify hsa CMakeList.txt file to use PREFIX_PATH and git describe versioning.
Change-Id: I08668df07725369ecf8a2f35e74dd7d64c8ca94b
2017-02-14 08:39:16 -05:00
James Edwards f851f5adf6 Modify hsa CMakeList.txt file to use PREFIX_PATH and git describe versioning.
Change-Id: I08668df07725369ecf8a2f35e74dd7d64c8ca94b


[ROCm/ROCR-Runtime commit: 73e942cd8a]
2017-02-14 08:39:16 -05:00
Evgeny Mankov b40a8f54c5 [HIPIFY] Narrow cudaKernelCallExpr matcher.
[Explanation]
Narrow cudaKernelCallExpr matcher to isExpansionInMainFile() - to the file being actually converted (without system includes).
But as for Thrust, there are *.inl files, which are nevertheless being expanded in main file.
These files contain cuda kernel launches, which are not converted successfully by hipify, for instance:
thrust/system/cuda/detail/detail/launch_closure.inl:98:23.

[ToDo]
File a bug on cudaKernelCallExpr matcher for conversion error (thrust\examples\cuda\<any cu example>).


[ROCm/clr commit: afe6073d3f]
2017-02-14 16:28:05 +03:00
Evgeny Mankov afe6073d3f [HIPIFY] Narrow cudaKernelCallExpr matcher.
[Explanation]
Narrow cudaKernelCallExpr matcher to isExpansionInMainFile() - to the file being actually converted (without system includes).
But as for Thrust, there are *.inl files, which are nevertheless being expanded in main file.
These files contain cuda kernel launches, which are not converted successfully by hipify, for instance:
thrust/system/cuda/detail/detail/launch_closure.inl:98:23.

[ToDo]
File a bug on cudaKernelCallExpr matcher for conversion error (thrust\examples\cuda\<any cu example>).
2017-02-14 16:28:05 +03:00
Evgeny Mankov d1cfcf55f1 [HIPIFY] Narrow cudaKernelCallExpr matcher.
[Explanation]
Narrow cudaKernelCallExpr matcher to isExpansionInMainFile() - to the file being actually converted (without system includes).
But as for Thrust, there are *.inl files, which are nevertheless being expanded in main file.
These files contain cuda kernel launches, which are not converted successfully by hipify, for instance:
thrust/system/cuda/detail/detail/launch_closure.inl:98:23.

[ToDo]
File a bug on cudaKernelCallExpr matcher for conversion error (thrust\examples\cuda\<any cu example>).
2017-02-14 16:28:05 +03:00
foreman 12278fc58d P4 to Git Change 1372984 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/14 03:00:04
SWDEV-2 - Change OpenCL version number from 2363 to 2364.

Affected files ...

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


[ROCm/clr commit: dac73aedce]
2017-02-14 03:38:13 -05:00
foreman dac73aedce P4 to Git Change 1372984 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/14 03:00:04
SWDEV-2 - Change OpenCL version number from 2363 to 2364.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2110 edit
2017-02-14 03:38:13 -05:00
Evgeny Mankov 8c0f19aa7a [HIPIFY] Minor refactoring
+ insertHipHeaders function is added to Cuda2Hip class;
+ fix replacement ending for hip header.


[ROCm/clr commit: e5c601df45]
2017-02-13 18:13:49 +03:00
Evgeny Mankov e5c601df45 [HIPIFY] Minor refactoring
+ insertHipHeaders function is added to Cuda2Hip class;
+ fix replacement ending for hip header.
2017-02-13 18:13:49 +03:00
Evgeny Mankov c3ab4d5c5e [HIPIFY] Minor refactoring
+ insertHipHeaders function is added to Cuda2Hip class;
+ fix replacement ending for hip header.
2017-02-13 18:13:49 +03:00
Maneesh Gupta c7b52142ae Generate package config for cmake
Change-Id: I73a0b21361bbe29e095dc515bdc70588ec722d57


[ROCm/clr commit: 57f7f4660a]
2017-02-13 16:01:50 +05:30
Maneesh Gupta 57f7f4660a Generate package config for cmake
Change-Id: I73a0b21361bbe29e095dc515bdc70588ec722d57
2017-02-13 16:01:50 +05:30
Maneesh Gupta db36676f5d Generate package config for cmake
Change-Id: I73a0b21361bbe29e095dc515bdc70588ec722d57
2017-02-13 16:01:50 +05:30
Paul 7476e0bfb5 Set hip version correctly
[ROCm/clr commit: f1f01ceb63]
2017-02-13 15:57:10 +05:30
Paul f1f01ceb63 Set hip version correctly 2017-02-13 15:57:10 +05:30
Paul bae7356b42 Set hip version correctly 2017-02-13 15:57:10 +05:30
James Edwards 9e81f0f5e2 Add libpci to CMakeLists.txt for thunk.
Change-Id: I0228035ce769feaf54cbca75f076f73614cbb9cc
2017-02-11 16:24:54 -06:00
James Edwards e716770c85 Add libpci to CMakeLists.txt for thunk.
Change-Id: I0228035ce769feaf54cbca75f076f73614cbb9cc


[ROCm/ROCR-Runtime commit: 9e81f0f5e2]
2017-02-11 16:24:54 -06:00
foreman d5e588fa70 P4 to Git Change 1372187 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/11 03:00:04
SWDEV-2 - Change OpenCL version number from 2362 to 2363.

Affected files ...

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


[ROCm/clr commit: e285312a80]
2017-02-11 03:11:26 -05:00
foreman e285312a80 P4 to Git Change 1372187 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/11 03:00:04
SWDEV-2 - Change OpenCL version number from 2362 to 2363.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2109 edit
2017-02-11 03:11:26 -05:00
foreman eaa26a485f P4 to Git Change 1372024 by jatang@jatang-opencl-hsa-stg2 on 2017/02/10 15:39:38
SWDEV-99150 - Update ORCA PerfCounter enum conversion to PAL.

	PAL changes its PerfCounter enum in palPerfExperiment.h since version 236.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#8 edit


[ROCm/clr commit: a0a0264526]
2017-02-10 16:37:16 -05:00
foreman a0a0264526 P4 to Git Change 1372024 by jatang@jatang-opencl-hsa-stg2 on 2017/02/10 15:39:38
SWDEV-99150 - Update ORCA PerfCounter enum conversion to PAL.

	PAL changes its PerfCounter enum in palPerfExperiment.h since version 236.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#8 edit
2017-02-10 16:37:16 -05:00
Aditya Atluri 25210492b0 v3: added free for ihipModuleSymbol_t structures inside tracker
Change-Id: Ib8041a05312c08cbdf2d4fee5e7cbae17df6efff


[ROCm/clr commit: 1cffe49775]
2017-02-10 13:42:10 -06:00
Aditya Atluri 1cffe49775 v3: added free for ihipModuleSymbol_t structures inside tracker
Change-Id: Ib8041a05312c08cbdf2d4fee5e7cbae17df6efff
2017-02-10 13:42:10 -06:00