Commit Graph

13076 Commits

Author SHA1 Message Date
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
Ben Sander acacf26ed8 Fix compilation error with nvcc (c++ nullptr)
[ROCm/clr commit: f1f907cb51]
2017-04-21 09:01:34 -05:00
foreman a96c51c883 P4 to Git Change 1400661 by fdaniil@rocm_spec on 2017/04/20 11:48:24
SWDEV-102733 - switch off HC library build

Affected files ...

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


[ROCm/clr commit: 2d6db3761e]
2017-04-20 11:59:30 -04:00
foreman 6087664a4f P4 to Git Change 1400661 by fdaniil@rocm_spec on 2017/04/20 11:48:24
SWDEV-102733 - switch off HC library build

Affected files ...

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


[ROCm/clr commit: fe2679668c]
2017-04-20 11:59:30 -04:00
foreman 58c0bf6389 P4 to Git Change 1400478 by johtaylo@johtaylo-jtincrementor-increment on 2017/04/20 03:00:05
SWDEV-2 - Change OpenCL version number from 2406 to 2407.

Affected files ...

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


[ROCm/clr commit: 35c666e4c0]
2017-04-20 03:10:44 -04:00
foreman 5a28e9f798 P4 to Git Change 1400271 by weizhang@weizhang-lnx-opencl-lc on 2017/04/19 17:55:28
SWDEV-112857 - OpenCL Work to Support Unified ROCm / Orca Builds
	  1. Rename OCL runtime to libvega10ocl[64][32] for supporting vega10 with OCL/ROCR
	  2. Pre-vega10 devices won't be reported on OCL/ROCR.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#151 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#272 edit


[ROCm/clr commit: 7f4a5487de]
2017-04-19 19:41:26 -04:00
foreman cc05ef79df P4 to Git Change 1400271 by weizhang@weizhang-lnx-opencl-lc on 2017/04/19 17:55:28
SWDEV-112857 - OpenCL Work to Support Unified ROCm / Orca Builds
	  1. Rename OCL runtime to libvega10ocl[64][32] for supporting vega10 with OCL/ROCR
	  2. Pre-vega10 devices won't be reported on OCL/ROCR.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#151 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/runtimedefs#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#272 edit


[ROCm/clr commit: ac065c7279]
2017-04-19 19:41:26 -04:00
Sun, Peng 4ac3084503 add support of hipLaunchKernelGGL on NV path
Change-Id: I0aeafd80c2181873be385d985f1d8ed86a98d136


[ROCm/clr commit: c224209200]
2017-04-19 11:00:25 -05:00
foreman 1157e04d86 P4 to Git Change 1400026 by nmonday@nmonday-ocl-10-1 on 2017/04/19 11:44:37
SWDEV-119262 - Remove CM_SURF_FMT_sRGBA32I_EXT. Replace it with CM_SURF_FMT_sRGBA32I

	There does not seem to be any difference between the two. Both seem to be used in various places, so I am consolidating them into 1.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDeviceGL.cpp#29 edit


[ROCm/clr commit: 79967488fe]
2017-04-19 11:50:48 -04:00
Sun, Peng 6a3bee59f1 fix broken header in NV path
Change-Id: Ia3aff2a89d9ba49547f51ce03a3304dfab58ba25


[ROCm/clr commit: ee299695a8]
2017-04-19 10:47:40 -05:00