Commit Graph

13474 Commits

Author SHA1 Message Date
Evgeny Mankov b22c0de428 [HIPIFY][DNN] Revise and sync with CUDNN 10 and hipDNN
+ CUDNN_API_supported_by_HIP.md update
+ CUDA_Runtime_API_functions_supported_by_HIP.md update
+ libraryPropertyType_t is moved to Runtime
+ test update
2019-02-13 19:40:59 +03:00
Maneesh Gupta 5c4d324c4a Merge pull request #918 from ROCm-Developer-Tools/ci_updates
[ci] Switch tests in CI infrastructure to cuda-10.x
2019-02-13 14:05:23 +05:30
Maneesh Gupta bd9a8a7f81 Merge pull request #917 from mangupta/fix_hip_lib_path
Initialize HIP_LIB_PATH on hcc path
2019-02-13 14:05:13 +05:30
foreman 489dfd8a84 P4 to Git Change 1743168 by chui@ocl-promo-incrementor on 2019/02/13 03:00:18
SWDEV-2 - Change OpenCL version number from 2834 to 2835.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2582 edit
2019-02-13 03:17:21 -05:00
Maneesh Gupta 09e1cde903 [ci] Switch CI tests to cuda-10.x
Change-Id: I99e99bcf528d0c38924bd3a86a3067628f2bb3ea
2019-02-13 13:22:08 +05:30
Maneesh Gupta 2a575aeda6 Initialize HIP_LIB_PATH on hcc path
Change-Id: I8f392fffcd6a3714c20cb17e876dbaad999c33a0
2019-02-13 09:57:21 +05:30
Maneesh Gupta fdbf84558c Fix signature for unsigned long long variant of atomicExch
This fixes #888

Change-Id: I2b2dc5ed1ff2a26083ad9d102eccac90f67801ae
2019-02-13 09:45:07 +05:30
Maneesh Gupta f1f9cc0d55 Merge pull request #913 from aaronenyeshi/fix-texture-constant-addrspace
Fix texture using constant addrspace 4
2019-02-13 08:59:01 +05:30
Maneesh Gupta 61d9553103 Merge pull request #912 from ROCm-Developer-Tools/remove-cpp-function-templates-for-malloc
Remove C++ function templates for hipMalloc and hipHostMalloc
2019-02-13 08:58:26 +05:30
Maneesh Gupta cc7defa141 Merge pull request #910 from aaronenyeshi/hip-code-obj-v3-passing
hipcc should consume -mcode-object-v3 flag
2019-02-13 08:58:19 +05:30
foreman 803bb39eba P4 to Git Change 1742993 by jujiang@JJ-OCL-w8 on 2019/02/12 15:51:01
SWDEV-169154 - Implement OpenCL extension function to set stable pstate on ORCA stack

	-Add StablePstate feature in Orca stack

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#603 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#186 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#65 edit
2019-02-12 16:24:30 -05:00
foreman 4a34477357 P4 to Git Change 1742837 by gandryey@gera-w8 on 2019/02/12 11:31:08
SWDEV-79445 - OCL generic changes and code clean-up
	- Add navi14 support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#67 edit
2019-02-12 11:57:01 -05:00
Aaron Enye Shi eec46be762 Fix texture using constant addrspace 4 2019-02-12 16:56:22 +00:00
Aaron Enye Shi 2a956540ee Change code-object flag to only HIP-Clang 2019-02-11 17:18:12 +00:00
Wen-Heng (Jack) Chung f4e1f74e9e Introduce __HIP_DISABLE_CPP_FUNCTIONS__ macro to disable C++ wrappers
hipMalloc and hipHostMalloc are C++ function templates by default. In some
applications they need to discover the decltype of underlying C functions. In
this commit, a new macro __HIP_DISABLE_CPP_FUNCTIONS__ is introduced to
suppress the C++ function templates.

Existing HIP applications don't need to be changed. hipMalloc and hipHostMalloc
will behave just the same.

For new applications which depends on identifying decltypes of underlying C
functions, __HIP_DISABLE_CPP_FUNCTIONS__ shall be defined prior to including
HIP headers.
2019-02-11 09:33:15 -06:00
Maneesh Gupta b1570ef592 Merge pull request #911 from lmoriche/hip_clang
Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_P…
2019-02-11 11:26:39 +05:30
Maneesh Gupta b2c42ad8e9 Merge pull request #908 from mangupta/swdev_178873
[packaging] Add checkpoints in prerm scripts
2019-02-11 11:24:21 +05:30
Maneesh Gupta 3112c52742 Merge pull request #907 from yxsamliu/nan
Fix nan() for windows
2019-02-11 11:24:12 +05:30
Maneesh Gupta 96407ef9ec Merge pull request #903 from yxsamliu/win2
Fix hipcc and hip_vector_types.h for windows
2019-02-11 11:24:03 +05:30
Laurent Morichetti e410ee013c Allow HIP_LIB_PATH to be overriden at the command line. Use HIP_LIB_PATH for rpath instead of HIP_PATH/lib 2019-02-08 13:50:13 -08:00
Aaron Enye Shi 8062305f0b hipcc should consume -mcode-object-v3 flag 2019-02-08 18:29:14 +00:00
Evgeny Mankov 1d510dffa2 Merge pull request #909 from emankov/master
[HIPIFY][RAND] revise
2019-02-08 18:09:59 +03:00
Evgeny Mankov d1ea9d9d97 [HIPIFY][RAND] revise
+ add missing functions
+ add minimum rocRAND support
+ updated CURAND_API_supported_by_HIP.md
2019-02-08 17:54:28 +03:00
Jenkins 9deea2d435 Merge 'master' into 'amd-master'
Change-Id: Ifc6f69fb7048d2dca686c696d11f76eecee19e42
2019-02-08 04:09:44 -06:00
foreman 2ca5657a48 P4 to Git Change 1741116 by chui@ocl-promo-incrementor on 2019/02/08 03:00:30
SWDEV-2 - Change OpenCL version number from 2833 to 2834.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2581 edit
2019-02-08 03:09:36 -05:00
Maneesh Gupta 3ad0a47cf2 [packaging] Add checkpoints in prerm scripts
- Add failsafe in case of non existant files or directories.

Change-Id: I85db04381c3e16f04638086152945463a8004c19
2019-02-08 10:57:05 +05:30
lmoriche abb20bd382 Merge pull request #905 from aaronenyeshi/hip-info-vdi
Add hipInfo path for VDI build
2019-02-07 15:08:49 -08:00
Yaxun Sam Liu fe5861770e Fix nan() for windows 2019-02-07 17:29:36 -05:00
Aaron Enye Shi b07fab0727 Add hipInfo path for VDI build 2019-02-07 22:05:14 +00:00
Evgeny Mankov f5515534fe Merge pull request #904 from emankov/master
[HIPIFY][BLAS][tests] Add tests on hipifying to 'roc'
2019-02-07 20:02:23 +03:00
Evgeny Mankov 72c41d4ebf [HIPIFY][BLAS][tests] Add tests on hipifying to 'roc' 2019-02-07 19:25:23 +03:00
Yaxun Sam Liu d0fc2d0f99 Fix hipcc and hip_vector_types.h for windows
Disable linux specific compilation and linking options for windows.

In hip_vector_types.h, hip-clang needs HIP's own implementation for vector types even
on windows. MSVC specific implementation is for building runtime itself, which is compiled
by MSVC.
2019-02-07 11:07:50 -05:00
Evgeny Mankov dd5928318f Merge pull request #902 from emankov/master
[HIPIFY][BLAS] Restrict hipification to 'ROC' to BLAS library only
2019-02-07 15:36:40 +03:00
Maneesh Gupta 404b093dc7 Merge pull request #901 from mangupta/ci_remove_rocm20
[ci] Remove rocm-2.0.x from test infrastructure
2019-02-07 17:03:36 +05:30
Evgeny Mankov 6160cff6ff [HIPIFY][BLAS] Restrict hipification to 'ROC' to BLAS library only
+ Add utility functions isToRoc, isHipUnsupported, isRocUnsupported, isUnsupported
2019-02-07 13:17:05 +03:00
Evgeny Mankov f043a3c8e2 Merge pull request #900 from emankov/master
[HIPIFY][BLAS] Support of hipifying cuBLAS to rocBLAS
2019-02-07 13:12:22 +03:00
Maneesh Gupta 353e1f736f [ci] Remove rocm-2.0.x from test infrastructure
Change-Id: I5d3832972de61e7ba5b32f4e50f3af5a152cb152
2019-02-07 15:41:53 +05:30
foreman 84d5f1f0e6 P4 to Git Change 1740667 by chui@ocl-promo-incrementor on 2019/02/07 03:00:16
SWDEV-2 - Change OpenCL version number from 2832 to 2833.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2580 edit
2019-02-07 03:14:59 -05:00
lmoriche 002bb4a94c Merge pull request #899 from lmoriche/hip_clang
Add code-object-v3 support for the HIP-Clang path.
2019-02-06 19:50:51 -08:00
Maneesh Gupta e296ef0fe7 Merge pull request #896 from ROCm-Developer-Tools/revert-873-fix_p2p_host_memory_access
Revert "Fixed issue of GPU device losing access to host pinned memory"
2019-02-07 06:04:26 +05:30
Maneesh Gupta 0b32d7813e Merge pull request #898 from yxsamliu/windows
Add windows specific compilation options
2019-02-07 06:00:24 +05:30
Maneesh Gupta d078285710 Merge pull request #897 from yxsamliu/vector2
Fix build failure on windows due to vector type
2019-02-07 06:00:16 +05:30
Maneesh Gupta cafc295b95 Merge pull request #895 from gargrahul/fix_p2p_test_error_codes
Fix error codes in P2P sample test
2019-02-07 05:59:32 +05:30
Maneesh Gupta e8c2023b38 Merge pull request #894 from davidrohr/PR
Use -isystem instead of -I to suppress warnings in HIP headers
2019-02-07 05:58:47 +05:30
Maneesh Gupta 5bd2316535 Merge pull request #891 from aaronenyeshi/hip-clang-default
hipcc defaults to HIP-Clang if built with HIP-Clang
2019-02-07 05:58:38 +05:30
Maneesh Gupta 2729b252c2 Merge pull request #890 from ROCm-Developer-Tools/yxsamliu-patch-2
Update hip_programming_guide.md about long double type
2019-02-07 05:55:23 +05:30
Maneesh Gupta 09f0e9a9c2 Merge pull request #819 from stanleytsang-amd/master
Improvements to hipify-perl and HIP porting guide for HIP_SYMBOL
2019-02-07 05:55:15 +05:30
Evgeny Mankov eea0df8d62 [HIPIFY][BLAS] Support of hipifying cuBLAS to rocBLAS 2019-02-06 18:47:21 +03:00
foreman 85e4213bd0 P4 to Git Change 1740287 by chui@ocl-promo-incrementor on 2019/02/06 03:00:15
SWDEV-2 - Change OpenCL version number from 2831 to 2832.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2579 edit
2019-02-06 03:33:19 -05:00
Laurent Morichetti 74578160bd Add code-object-v3 support for the HIP-Clang path. 2019-02-05 14:43:26 -08:00