Gráfico de commits

12735 Commits

Autor SHA1 Mensaje Fecha
Evgeny Mankov 3ca552c669 [HIPIFY] HIPIFY and HIP sync with CUDA Driver API data types.
+ Update CUDA_Driver_API_functions_supported_by_HIP.md.
+ Final update of HIPIFY with CUDA driver data types.

[TODO] Syncing HIPIFY and HIP by CUDA Driver API functions.


[ROCm/clr commit: 3b40776244]
2017-05-03 21:59:48 +03:00
Rahul Garg 9739d5d60f Added support for hipMemcpy2DAsync in HIP/HCC
Change-Id: Ia4a8306f2dc1e33a81a7195ec29aef652fcccc4b


[ROCm/clr commit: b136e80a45]
2017-05-03 22:29:12 +05:30
foreman 90395291d7 P4 to Git Change 1405035 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/03 03:00:04
SWDEV-2 - Change OpenCL version number from 2413 to 2414.

Affected files ...

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


[ROCm/clr commit: 6b4034a2d6]
2017-05-03 03:07:30 -04:00
foreman c438c95820 P4 to Git Change 1404496 by johtaylo@johtaylo-jtincrementor-increment on 2017/05/02 03:00:04
SWDEV-2 - Change OpenCL version number from 2412 to 2413.

Affected files ...

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


[ROCm/clr commit: 6c858567f2]
2017-05-02 03:10:50 -04:00
foreman 1f24dbaddd P4 to Git Change 1404293 by lmoriche@lmoriche_opencl_dev2 on 2017/05/01 16:43:07
SWDEV-102726 - [OCL-LC-ROCm] Open source OpenCL Runtime
	- Changes required to use the Khronos ICD sources instead of ours.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_platform.h#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpubinary.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpubinary.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#319 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#233 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#239 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/object.hpp#18 edit


[ROCm/clr commit: 26720154d9]
2017-05-01 15:54:18 -05:00
foreman e56f652c91 P4 to Git Change 1404293 by lmoriche@lmoriche_opencl_dev2 on 2017/05/01 16:43:07
SWDEV-102726 - [OCL-LC-ROCm] Open source OpenCL Runtime
	- Changes required to use the Khronos ICD sources instead of ours.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#3 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#54 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/khronos/headers/opencl2.0/CL/cl_platform.h#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpubinary.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpubinary.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#319 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.hpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#233 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#239 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/object.hpp#18 edit


[ROCm/clr commit: 0af2c7043c]
2017-05-01 15:54:18 -05:00
foreman f7e62f182d P4 to Git Change 1404073 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/29 03:00:05
SWDEV-2 - Change OpenCL version number from 2411 to 2412.

Affected files ...

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


[ROCm/clr commit: d26b48851b]
2017-04-29 03:11:52 -04:00
Evgeny Mankov 03595a9883 [HIPIFY] Rename enumConstantDecl -> enumDecl
Reason: not to mix up with clang's enumConstantDecl, used for enum DeclRefExpr (enum constant).


[ROCm/clr commit: 3e89277a9b]
2017-04-28 21:59:33 +03:00
Evgeny Mankov 3252416883 * [HIPIFY] [FIX] Replacement error: enum cudaMemcpyKind kind -> hipMemcpyKindyKind kind
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/72

[Solution] [Workaround]
Offset calculation for enum VarDecl as param decl, declared with enum type specifier.

[Result]
enum cudaMemcpyKind kind -> enum hipMemcpyKind kind

[ToDo]
Test on terminal qualifiers (const, etc).


[ROCm/clr commit: 85a32c3987]
2017-04-28 21:45:36 +03:00
Evgeny Mankov 3e06497eaa [HIPIFY] [FIX] replacement error: cudaError_t -> hipError_t_t
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/71

[Solution]
getUnqualifiedType for enumConstantDecl's type is added, except ordinary enum declarations (w/o typedef).

[ToDo]
Find more appropriate way of distinguishing redefined enum declarations and ordinary ones.


[ROCm/clr commit: 5f76cf3098]
2017-04-28 21:03:03 +03:00
Aditya Atluri 6dccc18fa0 fixed hipFuncSetCacheConfig on rocm path
Change-Id: I937a3afbf115edc94a753a0beb2230ed60a6f021


[ROCm/clr commit: 208bdbbcbb]
2017-04-28 11:53:11 -05:00
foreman b9b49b2802 P4 to Git Change 1403666 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/28 03:00:06
SWDEV-2 - Change OpenCL version number from 2410 to 2411.

Affected files ...

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


[ROCm/clr commit: f35795b992]
2017-04-28 03:11:31 -04:00
foreman dad2209b14 P4 to Git Change 1403557 by skeely@skeely_HSA_linux on 2017/04/27 19:44:48
SWDEV-119446 - Improve small copy perf in SHOC.

Affected files ...

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


[ROCm/clr commit: 285475fccb]
2017-04-27 19:53:00 -04:00
foreman bfeb26c58a P4 to Git Change 1403323 by lmoriche@lmoriche_opencl_dev2 on 2017/04/27 10:58:55
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Fix the Makefile and CMakeLists after removing libHSAIL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/build/Makefile.oclrocm#14 edit


[ROCm/clr commit: 0a139b1670]
2017-04-27 11:15:31 -04:00
foreman 428b2f64ad P4 to Git Change 1403149 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/27 03:00:04
SWDEV-2 - Change OpenCL version number from 2409 to 2410.

Affected files ...

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


[ROCm/clr commit: 75c7835453]
2017-04-27 03:09:06 -04:00
foreman dfb91ffa70 P4 to Git Change 1403108 by lmoriche@lmoriche_palamida on 2017/04/27 00:33:06
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Remove the dependency on libHSAIL

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#37 edit


[ROCm/clr commit: debd366bfd]
2017-04-27 00:42:38 -04:00
foreman 2918240ae9 P4 to Git Change 1403108 by lmoriche@lmoriche_palamida on 2017/04/27 00:33:06
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Remove the dependency on libHSAIL

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#37 edit


[ROCm/clr commit: 5127770544]
2017-04-27 00:42:38 -04:00
Aditya Atluri c662b426dc fixed fast math expf and exp10f
Change-Id: I73963220f902efebb0a7404c5f8966dffb4c35ca


[ROCm/clr commit: f368271872]
2017-04-26 19:01:10 -05:00
Aditya Atluri afec5e075b added hipFuncSetCacheConfig API for nvcc path
Change-Id: I87fae35bc0e10a0dca5ae1c5015fe5d9e52a1d0d


[ROCm/clr commit: e91c35fde0]
2017-04-26 18:56:57 -05:00
foreman e5bb181607 P4 to Git Change 1403001 by lmoriche@lmoriche_palamida on 2017/04/26 17:13:04
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment
	- Add -Bsymbolic to the linker flags.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#2 edit


[ROCm/clr commit: 425038afba]
2017-04-26 18:06:50 -04:00
foreman eb707d16ba P4 to Git Change 1402945 by lmoriche@lmoriche_palamida on 2017/04/26 16:03:39
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/CMakeLists.txt#1 add
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#1 add
... //depot/stg/opencl/drivers/opencl/tools/bc2h/CMakeLists.txt#1 add


[ROCm/clr commit: 8e140c9485]
2017-04-26 16:10:30 -04:00
foreman c2cfba473d P4 to Git Change 1402945 by lmoriche@lmoriche_palamida on 2017/04/26 16:03:39
SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#5 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#1 add
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/CMakeLists.txt#1 add
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#1 add
... //depot/stg/opencl/drivers/opencl/tools/bc2h/CMakeLists.txt#1 add


[ROCm/clr commit: a1efbe4b5b]
2017-04-26 16:10:30 -04:00
Maneesh Gupta f5f4850297 Merge branch 'amd-master' into amd-develop
[ROCm/clr commit: a5fb13bab3]
2017-04-26 23:55:13 +05:30
foreman 86bfb54749 P4 to Git Change 1402826 by lmoriche@lmoriche_opencl_dev2 on 2017/04/26 12:05:30
SWDEV-102726 - [OCL-LC-ROCm] Open source OpenCL Runtime
	- Cleanups to build with gcc 5.4 and cmake.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/elf.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/blit.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#50 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#36 edit


[ROCm/clr commit: d2ca5e309d]
2017-04-26 12:23:11 -04:00
foreman e121e9beb2 P4 to Git Change 1402800 by fdaniil@rocm_spec on 2017/04/26 11:33:07
SWDEV-102733 - switched off library test build by default, removed redundant dependencies

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#4 edit


[ROCm/clr commit: 5164dd1244]
2017-04-26 12:09:46 -04:00
foreman cb87398321 P4 to Git Change 1402800 by fdaniil@rocm_spec on 2017/04/26 11:33:07
SWDEV-102733 - switched off library test build by default, removed redundant dependencies

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#4 edit


[ROCm/clr commit: 681d0e22fb]
2017-04-26 12:09:46 -04:00
foreman c1f1403da9 P4 to Git Change 1402621 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/26 03:00:04
SWDEV-2 - Change OpenCL version number from 2408 to 2409.

Affected files ...

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


[ROCm/clr commit: 2013eecf2e]
2017-04-26 03:11:16 -04:00
foreman b3dd1b53d7 P4 to Git Change 1402535 by lmoriche@lmoriche_opencl_dev2 on 2017/04/25 20:42:52
SWDEV-102726 - [OCL-LC-ROCm] Open source OpenCL Runtime
	- Use the access flags in the metadata to handle read-only arguments.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#35 edit


[ROCm/clr commit: 6e6d58727c]
2017-04-25 20:51:55 -04:00
foreman 67d99f9925 P4 to Git Change 1402067 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/25 03:00:04
SWDEV-2 - Change OpenCL version number from 2407 to 2408.

Affected files ...

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


[ROCm/clr commit: 915c8a0258]
2017-04-25 03:08:23 -04:00
Sun, Peng a82ecbcc13 fix hip_complex.h header on NV path
Change-Id: Ia95d003ca1b284bab1c76723050e6b3b89178f65


[ROCm/clr commit: 50daa408aa]
2017-04-25 00:15:20 -05:00
Ben Sander 579b8e5050 Add host offset checking
[ROCm/clr commit: fbf28a8728]
2017-04-24 22:30:54 -05:00
Ben Sander 20315571bd Refactor hipHostRegister test.
- Add more testing for offsets.
- Parse cmdline options and use --tests.


[ROCm/clr commit: e7af4ef641]
2017-04-24 22:30:54 -05:00
Ben Sander aa4c89380e Refactor hipHostRegister to cover misaligned cases.
[ROCm/clr commit: 5ba167b82b]
2017-04-24 22:30:54 -05:00
Ben Sander 0e042a1529 Tailor pointer info for src/dst before calling HCC copy routines.
HCC sometimes uses the srcPtrInfo or dstPtrInfo to determine the
pointer.  Make sure these use the actual pointer and not the base
of the allocation.


[ROCm/clr commit: 3da8e94cbf]
2017-04-24 22:30:54 -05:00
Ben Sander 67383ddb5c Add test for non-page-aligned mem copies.
[ROCm/clr commit: d120b2dd12]
2017-04-24 22:30:54 -05:00
Ben Sander 37fcb3bd13 Add corrected test for offsets
[ROCm/clr commit: b44a3eefd1]
2017-04-24 22:30:54 -05:00
Ben Sander 04082c14a7 Refactor hipMemcpy test to share mem alloc for multiple copies.
[ROCm/clr commit: 6b16f56f38]
2017-04-24 22:30:54 -05:00
Ben Sander 88fa748893 Add negative testing for memory full condition.
[ROCm/clr commit: 693e5abc1c]
2017-04-24 22:30:54 -05:00
Ben Sander eef8282c96 Fix hip debug for case where copyAgent is null (host-to-host)
[ROCm/clr commit: dfacfbb641]
2017-04-24 22:30:54 -05:00
Ben Sander 05c136e7b8 Fix hipMalloc to return error code if allocation fails.
[ROCm/clr commit: fb7eee01ff]
2017-04-24 22:30:54 -05:00
Aditya Atluri 8d9e22c975 fixed build issues with hipPointerGetAttributes
Change-Id: I3f5fbc05bdaef720884ba949075928752a070377


[ROCm/clr commit: 1f532b06f6]
2017-04-24 15:31:07 -05:00
Aditya Atluri 119f5a1e67 changed arguments for hipPointerGetAttributes
Change-Id: Ia7a7c4722c1f7d0a23f0e5cc3dd6dea6c01c1fd8


[ROCm/clr commit: 85c189c846]
2017-04-24 15:24:16 -05:00
foreman 636fb8fcf3 P4 to Git Change 1401775 by fdaniil@rocm_spec on 2017/04/24 12:28:56
SWDEV-102733 - added include dir for generated .inc files

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#3 edit


[ROCm/clr commit: f15b5548b3]
2017-04-24 12:36:29 -04:00
foreman 658b323667 P4 to Git Change 1401775 by fdaniil@rocm_spec on 2017/04/24 12:28:56
SWDEV-102733 - added include dir for generated .inc files

Affected files ...

... //depot/stg/opencl/drivers/opencl/CMakeLists.txt#3 edit


[ROCm/clr commit: b0562eb261]
2017-04-24 12:36:29 -04:00
Maneesh Gupta ab6e1faf7b Merge branch 'amd-develop' into amd-master
Change-Id: I312fb9d1181733ef5160d1e993e2ae57ced0f6b3


[ROCm/clr commit: 1186af91d7]
2017-04-24 08:51:03 +05:30
Maneesh Gupta 2650e1fde7 Updated release notes
Change-Id: Ia98aff420ea9d488924dce8fe9168cec9da301ab


[ROCm/clr commit: c16e0fb088]
2017-04-24 08:48:35 +05:30
James Edwards dc0c44713f Specify full path of hip libraries in link file.
Change-Id: I49b788f3489e7abff6b11006ff97fdfca4e5942c


[ROCm/clr commit: 197a29f142]
2017-04-22 15:54:14 -05:00
James Edwards f1b0693479 Properly link hip cmake file into top level lib directory.
Change-Id: I2113a86ca6985f34fd0cfb091abdbce0f632cfc2


[ROCm/clr commit: c33c84a596]
2017-04-21 22:34:26 -05:00
Evgeny Mankov 268c7b035a [HIPIFY] [DOC] Readme.md update: Ubuntu 16.04 support
[ROCm/clr commit: f66780f39b]
2017-04-22 01:01:31 +03:00
Evgeny Mankov 8805f2ce66 [HIPIFY] Initial sync HIPIFY with HIP by CUDA Driver API data types.
+ Introduce CUDA_Driver_API_functions_supported_by_HIP.md.
+ Initial update of HIPIFY with CUDA driver data types.
+ Initial sync HIP types against CUDA Driver and Runtime API types.
+ Typo fixes.


[ROCm/clr commit: 342c63d398]
2017-04-21 21:46:30 +03:00