Maneesh Gupta
8b25f7b4cf
[hipcofig] Update HIP_PLATFORM detection logic
...
HIP_PLATFORM detection logic relied on finding a working KFD. If it was
found, the platform was set as hcc else as nvcc.
However this logic is flawed since it is possible for the development
system to only have the user mode bits to build HIP application code.
Hence the better logic is to rely on finding a suitable compiler.
The new logic is as follows:
- look for a working HCC. If found, platform is set as hcc.
- else look for a working NVCC. If found, platform is set as nvcc.
- else the platform defaults to hcc for now.
Change-Id: Ifcc42c29a19f722153d5c23c55f1a8765dceaf6b
2019-02-27 14:10:21 +05:30
Evgeny Mankov
e8ca9cbf95
Merge pull request #930 from emankov/master
...
[HIPIFY][doc] Update README.md
2019-02-25 18:29:26 +03:00
Evgeny Mankov
391aa7221b
[HIPIFY][doc] Update README.md
...
+ Populate Dependencies section with upcoming LLVM versions
+ Add clang bugs for not working configs LLVM+CUDA
+ Update Testing section
2019-02-25 18:26:25 +03:00
Evgeny Mankov
70dcb13852
Merge pull request #928 from emankov/master
...
[HIPIFY][tests] caffe2 test fix
2019-02-25 17:39:06 +03:00
Evgeny Mankov
3a8ef9c8a2
[HIPIFY][tests] caffe2 test fix
2019-02-25 17:12:32 +03:00
Evgeny Mankov
284bf085ac
Merge pull request #927 from emankov/master
...
[HIPIFY][Caffe2] Initial Caffe2 support
2019-02-25 16:41:17 +03:00
Evgeny Mankov
2619f22e5c
[HIPIFY][Caffe2] Initial Caffe2 support
2019-02-23 20:46:22 +03:00
Maneesh Gupta
31c4cc78b1
Merge pull request #925 from yxsamliu/h2f
...
Add __gnu_h2f_ieee and __gnu_f2h_ieee
2019-02-22 13:38:15 +05:30
Maneesh Gupta
53f98edc3d
Merge pull request #923 from aaronenyeshi/fix-co-v3-arg
...
Consume the code obj args to prevent duplicates
2019-02-22 13:38:08 +05:30
Yaxun Sam Liu
c5e813f64c
Add __gnu_h2f_ieee and __gnu_f2h_ieee
...
The implementation is copied from HCC runtime.
For hcc it has no effect since apps can find them in either hcc runtime or HIP
runtime.
hip-clang needs it in HIP/HCC runtime so that HIP/HCC and HIP/VDI runtime are
swappable.
2019-02-21 12:48:28 -05:00
Aaron Enye Shi
2cd34f3c01
Consume the code obj args to prevent duplicates
2019-02-19 17:02:27 +00:00
Evgeny Mankov
6eb8256883
Merge pull request #919 from emankov/master
...
[HIPIFY][DNN] Revise and sync with CUDNN 10 and hipDNN
2019-02-15 15:06:28 +03:00
Maneesh Gupta
438cf792b7
Merge pull request #916 from mangupta/swdev-179677
...
Fix signature for unsigned long long variant of atomicExch
2019-02-14 12:46:32 +05:30
Evgeny Mankov
d26dc3cea7
[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
22b55a9b83
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
95ba10fcb9
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
Maneesh Gupta
336a781a2d
[ci] Switch CI tests to cuda-10.x
...
Change-Id: I99e99bcf528d0c38924bd3a86a3067628f2bb3ea
2019-02-13 13:22:08 +05:30
Maneesh Gupta
c8579ead67
Initialize HIP_LIB_PATH on hcc path
...
Change-Id: I8f392fffcd6a3714c20cb17e876dbaad999c33a0
2019-02-13 09:57:21 +05:30
Maneesh Gupta
f0618df8f4
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
ca7a53b13d
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
f9daeb1c51
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
d91bbf881c
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
Aaron Enye Shi
63b400beea
Fix texture using constant addrspace 4
2019-02-12 16:56:22 +00:00
Aaron Enye Shi
1c6365fbe7
Change code-object flag to only HIP-Clang
2019-02-11 17:18:12 +00:00
Wen-Heng (Jack) Chung
eba3bd3082
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
31c4a0dff1
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
6fb9214004
Merge pull request #908 from mangupta/swdev_178873
...
[packaging] Add checkpoints in prerm scripts
2019-02-11 11:24:21 +05:30
Maneesh Gupta
87673d0750
Merge pull request #907 from yxsamliu/nan
...
Fix nan() for windows
2019-02-11 11:24:12 +05:30
Maneesh Gupta
61a8947d1c
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
4eaf4b7c0a
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
eb33507774
hipcc should consume -mcode-object-v3 flag
2019-02-08 18:29:14 +00:00
Evgeny Mankov
16456b13f7
Merge pull request #909 from emankov/master
...
[HIPIFY][RAND] revise
2019-02-08 18:09:59 +03:00
Evgeny Mankov
7ba8c440e6
[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
Maneesh Gupta
31dd6bc830
[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
6f68f81b67
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
ee4ce7ae49
Fix nan() for windows
2019-02-07 17:29:36 -05:00
Aaron Enye Shi
3ad75e8d14
Add hipInfo path for VDI build
2019-02-07 22:05:14 +00:00
Evgeny Mankov
1ef4983ba8
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
385fe36f2a
[HIPIFY][BLAS][tests] Add tests on hipifying to 'roc'
2019-02-07 19:25:23 +03:00
Yaxun Sam Liu
a474dc7579
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
4c6c25818e
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
2754bb8bdf
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
e93fe78648
[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
3c84645729
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
223093be60
[ci] Remove rocm-2.0.x from test infrastructure
...
Change-Id: I5d3832972de61e7ba5b32f4e50f3af5a152cb152
2019-02-07 15:41:53 +05:30
lmoriche
005e09f5b9
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
c69772d868
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
baea9f64e7
Merge pull request #898 from yxsamliu/windows
...
Add windows specific compilation options
2019-02-07 06:00:24 +05:30
Maneesh Gupta
0de4fce943
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
bd5a617ad2
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