Commit Graph

2728 Commits

Author SHA1 Message Date
Maneesh Gupta 861bc309ac Merge pull request #558 from Jorghi12/patch-8
Fix the FindHIP.cmake script.

[ROCm/hip commit: 896a614f51]
2018-07-23 11:48:42 +05:30
saleelk 428120f219 Fix hipHostRegister mem leak and copy kind in hipMemcpyAsync (#587)
[ROCm/hip commit: 8bc73424d1]
2018-07-23 11:04:14 +05:30
Maneesh Gupta d8ef72da10 Fix typo in FindHIP.cmake
[ROCm/hip commit: 9e2d33c866]
2018-07-23 10:39:45 +05:30
Maneesh Gupta 69fd33b5b0 Merge pull request #559 from rpathani/master
Adding functor unit tests 

[ROCm/hip commit: 1a2c16decb]
2018-07-23 10:15:16 +05:30
Maneesh Gupta f87491f61c Merge pull request #584 from ROCm-Developer-Tools/fix-vector-explicit-cast
Fix explicit cast required

[ROCm/hip commit: 06db076b10]
2018-07-23 10:13:05 +05:30
Maneesh Gupta 04776c39ff Merge pull request #581 from ROCm-Developer-Tools/fix-warning-math-decl
[HIPClang] Switch ordering on math functions

[ROCm/hip commit: b6397143a6]
2018-07-23 10:12:01 +05:30
Maneesh Gupta a9c7c89ae1 Merge pull request #554 from gargrahul/cleanup_hipmemset3d_test
Cleaned up hipMemset3D test

[ROCm/hip commit: 23b4e46ca4]
2018-07-23 10:11:49 +05:30
Aaron Enye Shi 89a00bc280 Fix explicit cast required
This is required for PyTorch which runs into an issue with narrowing types. Requires an explicit cast.

[ROCm/hip commit: 4ddb81424f]
2018-07-20 16:34:15 -04:00
Aaron Enye Shi 3408e6440d [HIPClang] Switch ordering on math functions
Header math_functions.h should be included after including __clang_cuda_math_forward_declares.h to avoid warning: attribute declaration must precede definition.

[ROCm/hip commit: ffefae77d7]
2018-07-20 13:25:04 -04:00
Evgeny Mankov 75202e732d Merge pull request #578 from emankov/testing
[HIPIFY][test] Add static and dynamic shared memory tests

[ROCm/hip commit: ac3d5af867]
2018-07-19 20:48:25 +03:00
rohit pathania 9630cf4fbb Merge branch 'master' of https://github.com/rpathani/HIP
# Conflicts:
#	tests/src/kernel/hipLaunchParmFunctor.cpp


[ROCm/hip commit: bf9832d957]
2018-07-19 12:11:23 +05:30
rohit pathania b3a41290ea Merge branch 'master' of https://github.com/rpathani/HIP
# Conflicts:
#	tests/src/kernel/hipLaunchParmFunctor.cpp


[ROCm/hip commit: 8434f2ed6b]
2018-07-19 12:02:42 +05:30
Jorghi12 11cfca95ab Update FindHIP.cmake
Using Bool expression to handle empty case.

[ROCm/hip commit: 2b6a736318]
2018-07-18 23:02:11 -04:00
Maneesh Gupta 9648844caf Merge pull request #543 from ROCm-Developer-Tools/add-std-complex
Support std::complex for hip-clang

[ROCm/hip commit: 12202dae90]
2018-07-19 07:14:45 +05:30
Evgeny Mankov 3f3e84b29e [HIPIFY][test] Add static and dynamic shared memory tests
[ROCm/hip commit: 70bd255d71]
2018-07-18 18:33:44 +03:00
Yaxun Sam Liu d2c89a438e Fix test hipStdComplex.cpp to emit expected output for passing
[ROCm/hip commit: 39374f4208]
2018-07-18 07:21:24 -04:00
Yaxun (Sam) Liu 30e14f699b Support std::complex for hip-clang
[ROCm/hip commit: 80438035c2]
2018-07-18 00:08:04 -04:00
Maneesh Gupta 4b1d0b5ff7 Merge pull request #576 from ROCm-Developer-Tools/fix_missing_vector_bits
Constrain variadic constructor to ranks > 1 and add missing `__device__`s

[ROCm/hip commit: ebc1c248cf]
2018-07-18 09:34:25 +05:30
Maneesh Gupta 2607379d50 Merge pull request #575 from ROCm-Developer-Tools/fix_functional_gridlaunch_nonsense
It is unclear what I was thinking when authoring the original code...

[ROCm/hip commit: 4948fa0cce]
2018-07-18 09:34:16 +05:30
Alex Voicu 4e10fc0c7d And a few more oversights.
[ROCm/hip commit: 05ecc35825]
2018-07-17 19:33:13 +01:00
Alex Voicu 2bf2f1a42a Merge branch 'fix_missing_vector_bits' of https://github.com/ROCm-Developer-Tools/HIP into fix_missing_vector_bits
[ROCm/hip commit: a7f3101a7f]
2018-07-17 17:29:52 +01:00
Alex Voicu 4f0111994e Update hip_vector_types.h
[ROCm/hip commit: 487bb6f2ef]
2018-07-17 17:28:48 +01:00
Alex Voicu 4344651b8a Not yet.
[ROCm/hip commit: fe9859b79f]
2018-07-17 17:24:48 +01:00
Alex Voicu 45018c46cb Not yet.
[ROCm/hip commit: 73d0091328]
2018-07-17 17:21:10 +01:00
Alex Voicu 7dece55286 Merge branch 'fix_missing_vector_bits' of https://github.com/ROCm-Developer-Tools/HIP into fix_missing_vector_bits
[ROCm/hip commit: 7d96318828]
2018-07-17 17:19:33 +01:00
Alex Voicu 91cc897d80 Constrain variadic constructor to ranks > 1 and add missing __device__s
[ROCm/hip commit: 96aa6e22ee]
2018-07-17 17:18:45 +01:00
Alex Voicu 6005a9d8d6 Constrain variadic constructor to ranks > 1 and add missing __device__s
[ROCm/hip commit: 3e2755adab]
2018-07-17 17:17:48 +01:00
Alex Voicu 5739384c3e It is unclear what I was thinking when authoring the original code...
[ROCm/hip commit: 9938edb636]
2018-07-17 14:04:57 +01:00
Maneesh Gupta 918ed2305e Merge pull request #537 from ROCm-Developer-Tools/move-memcpy
Move __hip_hc_memcpy and __hip_hc_memset from device_utils.cpp to dev…

[ROCm/hip commit: 502ce06dda]
2018-07-17 13:20:24 +05:30
Maneesh Gupta c86d32350a Merge branch 'master' into move-memcpy
[ROCm/hip commit: b5cfa773ef]
2018-07-17 10:51:42 +05:30
Maneesh Gupta 4eed1f87b5 Merge pull request #535 from ROCm-Developer-Tools/feature_native_vector_types
Feature native vector types

[ROCm/hip commit: 1918ffdda5]
2018-07-17 10:12:08 +05:30
Maneesh Gupta d24617e118 Merge branch 'master' into feature_native_vector_types
Change-Id: I943b94ee230871a960d8f9c321ad5e096183b415


[ROCm/hip commit: fb5199dee6]
2018-07-17 09:51:22 +05:30
Maneesh Gupta d655537bc6 Merge pull request #515 from ROCm-Developer-Tools/hipclang-add-amdgcn-funcs
Add hipclang amdgcn functions

[ROCm/hip commit: fbbe2599dd]
2018-07-17 09:25:09 +05:30
Alex Voicu 5fcbf3a399 Merge branch 'feature_native_vector_types' of https://github.com/ROCm-Developer-Tools/HIP into feature_native_vector_types
[ROCm/hip commit: f8dc7c2deb]
2018-07-15 11:45:12 +01:00
Alex Voicu b47b4c771d Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_native_vector_types
[ROCm/hip commit: fe289dbebe]
2018-07-15 11:44:48 +01:00
Evgeny Mankov e419670e6b Merge pull request #573 from emankov/master
[HIPIFY] Support of cudaComputeMode / CUcomputemode

[ROCm/hip commit: 0c6fc28dba]
2018-07-14 17:02:14 +03:00
Evgeny Mankov b063b3eb26 [HIPIFY] Support of cudaComputeMode / CUcomputemode
+ update docs
+ fix typo in hip_runtime_api.h


[ROCm/hip commit: 55e21055e3]
2018-07-14 16:08:19 +03:00
Jorghi12 6c0d113bba Update FindHIP.cmake
Adding another flag.

[ROCm/hip commit: 584e61b9f3]
2018-07-12 14:17:21 -04:00
Jorghi12 25b5ce36c9 Update FindHIP.cmake
Updating placement.

[ROCm/hip commit: 341c7c4019]
2018-07-12 13:56:08 -04:00
Maneesh Gupta f62f441ac0 Merge pull request #562 from ROCm-Developer-Tools/fix-build-failure
Fix build failure in code_object_bundle.cpp

[ROCm/hip commit: 06f4579c3a]
2018-07-12 07:49:41 +05:30
Jorg Doku e68dc0ccbd Support INCLUDE_DIRECTORIES & COMPILE_DEFINITIONS
[ROCm/hip commit: bfb03ca86c]
2018-07-11 16:13:07 -04:00
Evgeny Mankov 926d2cb719 Merge pull request #566 from emankov/master
[HIPIFY] Current trunk LLVM 7.0 initial support

[ROCm/hip commit: 5bca2d1768]
2018-07-11 20:18:26 +03:00
Evgeny Mankov 51fff4049a [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.


[ROCm/hip commit: 433e172776]
2018-07-11 20:15:49 +03:00
Evgeny Mankov ee947ab924 Merge pull request #565 from emankov/master
[HIPIFY] Add DEBUG(X) macro compatibility

[ROCm/hip commit: d896b2fdc7]
2018-07-11 18:22:47 +03:00
Evgeny Mankov 2c8fbf1a67 [HIPIFY] Add DEBUG(X) macro compatibility
In LLVM 7.0 DEBUG(X) was deleted, LLVM_DEBUG(X) should be used instead.


[ROCm/hip commit: 9fcb48e5c4]
2018-07-11 18:21:00 +03:00
Maneesh Gupta 0d92d4d9e3 Merge pull request #563 from gargrahul/add_gettexrefoffset_nvcc
Add hipGetTextureAlignmentOffset and hipGetChanDesc on NVCC path

[ROCm/hip commit: 4aef1351fc]
2018-07-11 15:01:20 +05:30
Maneesh Gupta b21d882791 Merge pull request #550 from gargrahul/add_bindtextoarrayref_overload_api
Added another overloaded definition of hipBindTextureToArray for direct porting.

[ROCm/hip commit: 6dd205ef8a]
2018-07-11 15:01:10 +05:30
Maneesh Gupta cd22fdb708 Merge pull request #555 from ROCm-Developer-Tools/fix-test-mbcnt
Fix hip_mbcnt test typo

[ROCm/hip commit: f7b8257194]
2018-07-11 13:08:59 +05:30
Maneesh Gupta 4a8751b6e7 Merge branch 'master' into add_bindtextoarrayref_overload_api
[ROCm/hip commit: 65e82f785d]
2018-07-11 12:55:49 +05:30
Maneesh Gupta 12569a1aa9 Merge pull request #549 from gargrahul/correct_bindtex_syntax_nvcc
Corrected enum type for TextureReadMode 

[ROCm/hip commit: 583b6b270a]
2018-07-11 12:52:50 +05:30