Commit Graph

2651 Commits

Author SHA1 Message Date
Jorg Doku bfb03ca86c Support INCLUDE_DIRECTORIES & COMPILE_DEFINITIONS 2018-07-11 16:13:07 -04:00
Evgeny Mankov 5bca2d1768 Merge pull request #566 from emankov/master
[HIPIFY] Current trunk LLVM 7.0 initial support
2018-07-11 20:18:26 +03:00
Evgeny Mankov 433e172776 [HIPIFY] Current trunk LLVM 7.0 initial support
Tested with CUDA 8.0, 9.0, 9.1 and 9.2.

Only 8.0 works with LLVM 7.0, due to the changes in LLVM trunc since released 6.0, which works fine with CUDA 8.0 and 9.0.

So, nothing to do in hipify-clang, hope that all the CUDA 9.x related issues will be fixed in 7.0 release.
2018-07-11 20:15:49 +03:00
Evgeny Mankov d896b2fdc7 Merge pull request #565 from emankov/master
[HIPIFY] Add DEBUG(X) macro compatibility
2018-07-11 18:22:47 +03:00
Evgeny Mankov 9fcb48e5c4 [HIPIFY] Add DEBUG(X) macro compatibility
In LLVM 7.0 DEBUG(X) was deleted, LLVM_DEBUG(X) should be used instead.
2018-07-11 18:21:00 +03:00
Maneesh Gupta 4aef1351fc Merge pull request #563 from gargrahul/add_gettexrefoffset_nvcc
Add hipGetTextureAlignmentOffset and hipGetChanDesc on NVCC path
2018-07-11 15:01:20 +05:30
Maneesh Gupta 6dd205ef8a Merge pull request #550 from gargrahul/add_bindtextoarrayref_overload_api
Added another overloaded definition of hipBindTextureToArray for direct porting.
2018-07-11 15:01:10 +05:30
Maneesh Gupta f7b8257194 Merge pull request #555 from ROCm-Developer-Tools/fix-test-mbcnt
Fix hip_mbcnt test typo
2018-07-11 13:08:59 +05:30
Maneesh Gupta 65e82f785d Merge branch 'master' into add_bindtextoarrayref_overload_api 2018-07-11 12:55:49 +05:30
Maneesh Gupta 583b6b270a Merge pull request #549 from gargrahul/correct_bindtex_syntax_nvcc
Corrected enum type for TextureReadMode
2018-07-11 12:52:50 +05:30
Maneesh Gupta 2270c3e357 Merge pull request #548 from gargrahul/add_tex2dlayered_nvcc
Added tex2dlayered mapping for HIP/NVCC
2018-07-11 12:52:40 +05:30
Maneesh Gupta 296dce2e2b Merge pull request #546 from gargrahul/fix_bindtex_offset_null_check
Fixed offset null check in bind texture functions
2018-07-11 12:52:31 +05:30
Maneesh Gupta 86e10fed99 Merge pull request #545 from ROCm-Developer-Tools/revert-521-temp_fixmemcpy2dasync_trsmissue
Revert "Use memcpy kernel for all pinned memory cases in hipMemcpy2DAsync"
2018-07-11 12:52:09 +05:30
Maneesh Gupta 890f241a67 Merge pull request #544 from gargrahul/edit_hip_deprecated_apis_doc
Edit hip deprecated apis doc
2018-07-11 12:40:31 +05:30
Rahul Garg 6bf979d9e6 Added hipGetChanDesc for NVCC path 2018-07-11 12:37:07 +05:30
Rahul Garg c93f216fe8 Add hipGetTextureAlignmentOffset on NVCC path 2018-07-11 12:17:33 +05:30
Evgeny Mankov de38f96be4 Merge pull request #561 from emankov/docs
[HIPIFY][docs] Update README.md after testing with new LLVM releases 5.0.2 and 6.0.1
2018-07-10 20:41:44 +03:00
Evgeny Mankov 75164a5bf5 [HIPIFY][docs] Update README.md after testing with new LLVM releases 5.0.2 and 6.0.1 2018-07-10 20:37:54 +03:00
Aaron Enye Shi aa05779c64 Fix hip_mbcnt test typo
Ctest did not catch this test failure. When running this test manually before typo, I got __mbcnt_hi() FAILED! . This fix will fix this test for HCC and HIP clang path.
2018-07-06 11:26:48 -04:00
Rahul Garg bd4816fc85 Added another variant of bindtextoarray for direct porting 2018-07-05 23:41:31 +05:30
Rahul Garg 4acf489bd5 Corrected enum type 2018-07-05 23:11:39 +05:30
Rahul Garg 19bae58e48 Added tex2dlayered mapping for HIP/NVCC 2018-07-05 23:00:41 +05:30
Maneesh Gupta 66f12daaa4 Merge pull request #539 from ROCm-Developer-Tools/fix-tf-link
Add workaround to hipcc for build failure in tensorflow due to missin…
2018-07-04 11:08:52 +05:30
Maneesh Gupta 4b4d78fdb1 Merge pull request #530 from ROCm-Developer-Tools/hipclang-compute-mode
Add HIP Compute Mode
2018-07-04 10:55:48 +05:30
Maneesh Gupta 7927f66326 Merge pull request #517 from ROCm-Developer-Tools/fix-hipcc-link
Let hipcc handle static library for hip-clang only if it contains bun…
2018-07-04 10:51:44 +05:30
Maneesh Gupta 0c2f985553 Update hip_hcc_internal.h
Adding missing include for hip_hcc_internal in order to build with HCC
2018-07-04 09:33:51 +05:30
Rahul Garg feff0aeea4 Fixed offset null check in bind texture functions 2018-07-03 08:54:17 +05:30
Rahul Garg 7cd1d5e644 Revert "Use memcpy kernel for all pinned memory cases in hipMemcpy2DAsync" 2018-07-02 14:32:11 +05:30
Maneesh Gupta 4b660c8382 Update hip-targets.cmake for hip::host & hip::device 2018-07-02 10:37:20 +05:30
Rahul Garg 5a061f78aa Updated heading 2018-06-30 11:42:17 +05:30
Rahul Garg 0593b84d7c Updated indentation 2018-06-30 11:40:32 +05:30
Maneesh Gupta b326b8a0a6 Merge pull request #528 from ROCm-Developer-Tools/fix-hipclang-hipcc
HIPCC - Use clang if clang++ is not compiled
2018-06-28 12:36:49 +05:30
Maneesh Gupta 2ce48fbc05 Merge pull request #503 from ROCm-Developer-Tools/fix-complex
Fix hip_complex.h
2018-06-28 12:15:22 +05:30
Maneesh Gupta 76b2d0f82d Merge pull request #495 from ROCm-Developer-Tools/hip-clang-upstream
add more device functions for hip-clang
2018-06-28 11:42:01 +05:30
Maneesh Gupta c004b15fc2 Merge pull request #522 from pradeepisro/cmake_verbose_fix
added changes to FindHIP.cmake which would allow us to build using ninja #467
2018-06-28 11:39:03 +05:30
Maneesh Gupta dde875f23b Fix typo 2018-06-28 11:19:22 +05:30
Maneesh Gupta 525716bf91 Merge pull request #536 from ROCm-Developer-Tools/hotfix_remove_unimplemented_math
Removes use of unimplemented OCML functionality.
2018-06-28 11:15:57 +05:30
Maneesh Gupta cde6611425 Merge pull request #538 from ROCm-Developer-Tools/fix-fp16-include
Include host_defines.h in hip_fp16.h since it uses __host__ __device_…
2018-06-28 11:14:07 +05:30
Yaxun (Sam) Liu 021728cd86 Add workaround to hipcc for build failure in tensorflow due to missing symbol __cpu_model
https://github.com/tensorflow/tensorflow/issues/9593
2018-06-25 18:14:51 -04:00
Yaxun (Sam) Liu 02b160491d Include host_defines.h in hip_fp16.h since it uses __host__ __device__ attributes 2018-06-25 15:34:34 -04:00
Alex Voicu 6c7a64efa2 Removes use of unimplemented OCML functionality. 2018-06-25 19:16:27 +01:00
Aaron Enye Shi ff924ecb3d Add HIP Compute Mode 2018-06-22 14:37:19 +00:00
Aaron Enye Shi 73023e0a54 HIPCC - Use clang if clang++ is not compiled 2018-06-21 18:12:55 +00:00
Maneesh Gupta fc80fb4ab3 Merge pull request #507 from ROCm-Developer-Tools/fix-forward
Add __device__ to device functions in hip_fp16_math_fwd.h
2018-06-20 14:21:46 +05:30
Maneesh Gupta cffc5ad273 Merge pull request #504 from ROCm-Developer-Tools/fix-vector3
Fix channel_descriptor.h about vector 3 for gcc
2018-06-20 14:20:29 +05:30
Maneesh Gupta 946c8da88a Merge pull request #490 from ROCm-Developer-Tools/feature_decouple_atomics_from_hc
Switch the atomic implementation to use Clang  builtins.
2018-06-20 14:16:43 +05:30
Maneesh Gupta 836627279f Merge pull request #457 from whchung/hip-reinit
HIP program state re-initialization logic
2018-06-20 09:37:27 +05:30
Yaxun (Sam) Liu 46d3c1d51e Let hipcc handle library with extension lo for hip-clang 2018-06-19 10:51:08 -04:00
Yaxun (Sam) Liu 84da72dae8 Add conj, operator-,==,!= for hipFloatComplex/hipDoubleComplex 2018-06-19 10:49:59 -04:00
pradeepisro f6938961b9 added option HIP_BUILD_VERBOSE to enable verbosity in HIP build 2018-06-19 13:50:24 +05:30