Commit Graph

13677 Commits

Author SHA1 Message Date
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
Maneesh Gupta f03b6c4796 Merge "Merge branch 'amd-develop' into amd-master" into krussell/rocm-rel-1.5
[ROCm/clr commit: 8769845337]
2017-04-27 05:50:47 -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
Maneesh Gupta 69d837d890 Merge branch 'amd-develop' into amd-master
Change-Id: I51545bb66e9c9ff39bed86e2a8621e49a0e3f1c1
(cherry picked from commit cbb34eaf76)


[ROCm/clr commit: 3d73e2fb3b]
2017-04-26 19:38:54 -04: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 2a46d23ee0 Merge branch 'amd-develop' into amd-master
Change-Id: I51545bb66e9c9ff39bed86e2a8621e49a0e3f1c1


[ROCm/clr commit: ff5c90923e]
2017-04-26 23:59:10 +05:30
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
Maneesh Gupta 21663a6f4a Merge branch 'amd-develop' into amd-master
Change-Id: I312fb9d1181733ef5160d1e993e2ae57ced0f6b3
(cherry picked from commit 88fb807af0)


[ROCm/clr commit: 1e404bfb14]
2017-04-25 00:01:30 -04: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 5c1e369ce3 Specify full path of hip libraries in link file.
Change-Id: I49b788f3489e7abff6b11006ff97fdfca4e5942c
(cherry picked from commit 4869bf5a7c)


[ROCm/clr commit: e88cd7720b]
2017-04-22 23:16:55 -05:00
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 8aa569c2f1 Properly link hip cmake file into top level lib directory.
Change-Id: I2113a86ca6985f34fd0cfb091abdbce0f632cfc2
(cherry picked from commit 36353a560f)


[ROCm/clr commit: f2e6993f5b]
2017-04-22 11:43:43 -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