Graphe des révisions

13453 Révisions

Auteur SHA1 Message Date
pensun 72f8c29529 remove extra spaces for hip_common.h platform defines
Change-Id: Ie0e39256abba307429985371671cde01f5ea2cc9


[ROCm/clr commit: c5ae8c423a]
2017-02-27 12:55:22 -06:00
foreman db7ee37b8b P4 to Git Change 1378060 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/26 03:00:09
SWDEV-2 - Change OpenCL version number from 2371 to 2372.

Affected files ...

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


[ROCm/clr commit: b8766b0467]
2017-02-27 10:28:57 -05:00
Rahul Garg b4d190a445 Context management related changes in HIP.
-
-Contexts across threads are listed under device
-Device reset cleans up all contexts and re-initializes _primaryCtx

Change-Id: Ie1cfbb26d43a8dc6869be3e6ebaf7344ce374643


[ROCm/clr commit: c837b8d713]
2017-02-27 15:24:17 +05:30
Maneesh Gupta 37ab88ae1e Fix nvcc path samples that include math_functions.h
Change-Id: I94bb577b93983535178d8f0dcae57aaa72871534


[ROCm/clr commit: 528736cf58]
2017-02-27 13:20:05 +05:30
Maneesh Gupta 66e9900325 Disable some tests which are broken on nvcc path
Change-Id: I6f8df7687ff1798dc17f6c9b8a7f4cd029ce45d8


[ROCm/clr commit: 578dc68b0a]
2017-02-27 13:19:06 +05:30
Maneesh Gupta 26c65c826b Fix compilation of some broken tests on nvcc path
Change-Id: I92406af00c2de09d728e9b7f661c1f3873470560


[ROCm/clr commit: 40bcf5ed3b]
2017-02-27 13:17:51 +05:30
Maneesh Gupta 045c76a97d directed tests no longer run in an subdirectory
- target "make test" will no longer build and run tests. It will only run the tests.
- added new target "make check" which will build and run the tests.
- target "make check" will build tests serially. Use -j<N> to build tests in parallel.

Change-Id: I24c7932bf9798364a59f44631fbabcf9a5da5e17


[ROCm/clr commit: fe01dd74a2]
2017-02-27 13:14:08 +05:30
Maneesh Gupta f109c9e6da FindHIP: added new macro HIP_RESET_FLAGS
Change-Id: I0af491f6689abf1c1b5691261fe1f3e61a5d916d


[ROCm/clr commit: 58272083dd]
2017-02-27 13:11:11 +05:30
foreman 0e3fc184cd P4 to Git Change 1378023 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/25 03:00:05
SWDEV-2 - Change OpenCL version number from 2370 to 2371.

Affected files ...

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


[ROCm/clr commit: d4cb8dc9b0]
2017-02-25 03:13:50 -05:00
foreman 0617de6d84 P4 to Git Change 1377864 by todli@todli-win-opencl-kv1 on 2017/02/24 16:10:12
SWDEV-107271 - For APU system, when allocating USWC with enough USWC reported and the allocation fails, we should return false instead of looping forever.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#12 edit


[ROCm/clr commit: dff4d3c84a]
2017-02-24 16:47:02 -05:00
foreman eac85bc28e P4 to Git Change 1377580 by jatang@jatang-opencl-hsa-stg1 on 2017/02/24 10:12:45
SWDEV-99150 - Fix a build error caused by CL#1376394.

Affected files ...

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


[ROCm/clr commit: 33fde89442]
2017-02-24 10:21:55 -05:00
foreman 4fc8032ee5 P4 to Git Change 1377391 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/24 03:00:03
SWDEV-2 - Change OpenCL version number from 2369 to 2370.

Affected files ...

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


[ROCm/clr commit: 7631321796]
2017-02-24 03:31:40 -05:00
foreman c6b97f2746 P4 to Git Change 1377133 by gandryey@gera-w8 on 2017/02/23 18:33:42
SWDEV-114407 - [G] clinfo doesn't report cl_khr_fp16 extension
	- Enable cl_khr_fp16 for PAL path

Affected files ...

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


[ROCm/clr commit: 00be859568]
2017-02-23 18:40:12 -05:00
foreman b65e44205e P4 to Git Change 1377072 by gandryey@gera-w8 on 2017/02/23 16:54:28
SWDEV-79445 - OCL generic changes and code clean-up
	- Switch wait state in HSA copy functions from HSA_WAIT_STATE_ACTIVE to  HSA_WAIT_STATE_BLOCKED

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#13 edit


[ROCm/clr commit: 37a5e9a169]
2017-02-23 17:06:16 -05:00
Aditya Atluri 78f1d54ad6 Added initial support for hipMemcpyFromSymbol. But not working!
Change-Id: I48d8c7de4ec9f85c6c942be995fb488a3931f5d7


[ROCm/clr commit: 7ac5017cb9]
2017-02-23 11:29:06 -06:00
foreman 894cdd4c73 P4 to Git Change 1376751 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/23 03:00:05
SWDEV-2 - Change OpenCL version number from 2368 to 2369.

Affected files ...

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


[ROCm/clr commit: 746913e477]
2017-02-23 03:17:05 -05:00
Maneesh Gupta ae8fc88790 Merge branch 'amd-develop' into amd-master
Change-Id: I0e856db61fa4a50e190bd1d4c464ceb4a709b550


[ROCm/clr commit: 64db70756b]
2017-02-23 11:19:23 +05:30
Maneesh Gupta affb657bca Fix export interfaces in hip-config.cmake
Change-Id: Ifad4661ab17d7e6edb6ab300f1e92552ed917950


[ROCm/clr commit: d193187601]
2017-02-23 11:18:06 +05:30
Aditya Atluri 945526cf77 added runtime api hipMemcpyFromSymbolAsync
Change-Id: Ibaf925faf0ba464dd0ed6c5ea74c224c2ce38889


[ROCm/clr commit: 3d348b2d81]
2017-02-22 19:16:35 -06:00
Aditya Atluri 94f0fdfc5b Enable symbol tests
Change-Id: I6bd036bf00c8051c8ff728ee60562c4ebd222160


[ROCm/clr commit: 2e3f3c7d26]
2017-02-22 13:42:03 -06:00
foreman ac15ae22bb P4 to Git Change 1376394 by jatang@jatang-opencl-hsa-stg2 on 2017/02/22 11:02:43
SWDEV-99150 - Convert PerfCounter indexing scheme from ORCA to PAL.

	PAL is using a different PerfCounter indexing scheme, so need to make the conversion to make CodeXL behave the same.

Affected files ...

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


[ROCm/clr commit: 1fe7c40048]
2017-02-22 11:15:34 -05:00
Paul e4306010b8 Update for lower case hip
[ROCm/clr commit: 7e3a2bc1eb]
2017-02-22 15:18:38 +05:30
Paul e105026042 Change order of find_dependency
[ROCm/clr commit: 2f34d211b1]
2017-02-22 15:18:11 +05:30
Aditya Atluri 8078d7d4cc added typedef for half and half2
Change-Id: Ic844fa31b64a0354484b418df71869c2807200cc


[ROCm/clr commit: 4ef664a633]
2017-02-21 14:44:37 -06:00
Evgeny Mankov 241bd38256 [HIP] annotation update.
cudaStreamAddCallback and cudaStreamWaitEvent were excluded from unsupported.


[ROCm/clr commit: 839927a94a]
2017-02-20 21:26:40 +03:00
Evgeny Mankov 8a25b2e284 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
cudaDeviceGetPCIBusId -> hipDeviceGetPCIBusId


[ROCm/clr commit: 45f6b10459]
2017-02-20 21:21:47 +03:00
Evgeny Mankov 2d9ccb42e0 [HIPIFY] sync with HIP by HIP_UNSUPPORTED Runtime functions.
[ROCm/clr commit: eae27590d7]
2017-02-20 21:19:34 +03:00
Evgeny Mankov 45846037b1 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
Section "20. Data types used by CUDA Runtime API and supported by HIP" is added.

+ 44 supported data types are added
- 46 at least to support

All the supported data types are also supported by hipify-clang (synced).


[ROCm/clr commit: 2fb5ef1545]
2017-02-20 18:32:54 +03:00
Evgeny Mankov d85bc25d6e [HIPIFY] Sync HIPIFY with HIP by data types.
[ROCm/clr commit: d6c01aabab]
2017-02-20 18:28:59 +03:00
foreman 72d6d92310 P4 to Git Change 1375371 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/19 03:00:04
SWDEV-2 - Change OpenCL version number from 2367 to 2368.

Affected files ...

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


[ROCm/clr commit: 6003a5e83d]
2017-02-19 03:16:39 -05:00
foreman 65aacb3fad P4 to Git Change 1375331 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/18 03:00:05
SWDEV-2 - Change OpenCL version number from 2366 to 2367.

Affected files ...

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


[ROCm/clr commit: efd9c74906]
2017-02-18 03:11:27 -05:00
Evgeny Mankov 6449bad064 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
Move hipBindTexture and hipUnbindTexture to "18. C++ API Routines" from "13. Texture Reference Management". They are C++, not C.


[ROCm/clr commit: ce245f14e8]
2017-02-17 18:09:08 +03:00
Evgeny Mankov f8f5b51164 [HIP] [DOC] Update CUDA_Runtime_API_functions_supported_by_HIP
+ 21 supported functions
- 99 at least to support

All the supported functions are also supported by hipify-clang (synced).


[ROCm/clr commit: ce664e2418]
2017-02-17 18:06:47 +03:00
Aditya Atluri 810afc2a36 removed hipblas samples as it is not yet supported
Change-Id: I354b710e652ce0d0413d670530ceb8b70f4993d5


[ROCm/clr commit: 56744c0730]
2017-02-17 08:51:02 -06:00
Evgeny Mankov 19397d7e3f [HIPIFY] Add more Stream and Occupancy functions.
[ROCm/clr commit: 77e97627da]
2017-02-17 15:04:15 +03:00
foreman cfdfd343dd P4 to Git Change 1374864 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/17 03:00:04
SWDEV-2 - Change OpenCL version number from 2365 to 2366.

Affected files ...

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


[ROCm/clr commit: 9caf0068d4]
2017-02-17 03:07:42 -05:00
Evgeny Mankov 37591af99d [HIPIFY] Add missing Memcpy functions.
+ cudaChooseDevice


[ROCm/clr commit: 72a9df0250]
2017-02-16 23:03:01 +03:00
Evgeny Mankov d2029c09db [HIPIFY] Add more Memory Management functions
[ROCm/clr commit: f37343267a]
2017-02-16 21:26:44 +03:00
Evgeny Mankov 69825b7771 [HIPIFY] Add Channel (Textures) support.
[ROCm/clr commit: 069bb1389c]
2017-02-16 21:10:10 +03:00
Evgeny Mankov c991d7c41e [HIPIFY] Add Inter-Process Communications (IPC) support.
[ROCm/clr commit: fd5d8c2bb5]
2017-02-16 20:24:53 +03:00
Evgeny Mankov f55a4f487c [HIPIFY] Add CUDA Driver LAUNCH_PARAM defines.
[ROCm/clr commit: 8a2748e8de]
2017-02-16 20:00:36 +03:00
Evgeny Mankov f98dec3bc1 [HIPIFY] Add safe type check for cudaChooseDevice matcher.
[ROCm/clr commit: d713349872]
2017-02-16 19:38:35 +03:00
foreman e41cde1ef4 P4 to Git Change 1374273 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2364 to 2365.

Affected files ...

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


[ROCm/clr commit: 7a69d56c1f]
2017-02-16 03:09:41 -05:00
Siu Chi Chan 652f3e01bb Squashed commit of the following:
commit 931d3de6c1c903cfd47842bc5026a9294ac492b4
Author: Siu Chi Chan <siuchi.chan@amd.com>
Date:   Mon Feb 13 10:54:06 2017 -0500

    only force to libstdc++ if the g++ is older than version 5 since hcc already defaults to libstdc++ with newer g++

commit 1ef8d71aa788de7b9eead4906fe56186f06d7d3f
Author: scchan <siuchi.chan@amd.com>
Date:   Sun Feb 12 14:44:11 2017 -0500

    remove hardcoded -lc++ in tests

commit 5d99ef338eb3a66523cc9ddd139e86c6fd707b9c
Author: scchan <siuchi.chan@amd.com>
Date:   Sun Feb 12 14:35:46 2017 -0500

    force include libstdc++ headers and stdc++ only if g++ version < 5 since hcc uses libstdc++ by default if g++ > 5 is present

commit a2bc21b24d100feefe91cd3cb2271238bda0738a
Author: scchan <siuchi.chan@amd.com>
Date:   Fri Feb 10 04:36:27 2017 -0500

    use hcc-config to generate compiler and linker flags

Change-Id: I13a79629c0adfd75439a47d0488ff4fd619c55ba
(cherry picked from commit 866e744e40cf1378af8a679b54959bf5226c340f)


[ROCm/clr commit: ca8045e6e4]
2017-02-16 13:12:32 +05:30
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
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 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
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
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
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