Commit Graph

2180 Commits

Author SHA1 Message Date
Alex Voicu a704bd8b44 Re-sync with upstream. 2018-02-12 20:20:24 +00:00
Maneesh Gupta 647d1ba310 Merge pull request #321 from gargrahul/hipMemcpyArray_Functions
Added support for hipMemcpy Array functions-
2018-02-12 10:36:38 +05:30
Maneesh Gupta 7cd7a10e33 Merge pull request #350 from gargrahul/fix_module_host_global_symbol
Fixed host allocated globals address lookup for host usage
2018-02-12 10:13:49 +05:30
Maneesh Gupta d38f84b213 Merge pull request #355 from gargrahul/update_hip_programming_guide
Update the programming guide with environment variables names and def…
2018-02-12 10:13:18 +05:30
Evgeny Mankov 8ba4acb3cd [HIPIFY][fix] Build against llvm 3.8.0 fixed - missing include
/srv/HIP/hipify-clang/src/main.cpp:134:19: error: no member named 'dbgs' in namespace 'llvm'
      DEBUG(llvm::dbgs() << "Skipped some replacements.\n");
            ~~~~~~^
2018-02-08 00:08:47 +03:00
Rahul Garg c47ae45d0a Update the programming guide with environemnt variables names and default threshold values used. 2018-02-06 14:29:04 +05:30
Maneesh Gupta 8359c2eb5a Merge pull request #299 from mangupta/hipStreamAddCallback
Implement hipStreamAddCallback
2018-02-02 08:32:41 +05:30
Evgeny Mankov e98ee1d627 [HIPIFY][tests] Add coalescing.cu test 2018-02-01 19:41:36 +03:00
Evgeny Mankov f7fb6e2199 [HIPIFY][tests] Add vec_add.cu test 2018-02-01 18:34:16 +03:00
Evgeny Mankov 91ef7b50e5 [HIPIFY][tests] add new line at the end of file 2018-02-01 17:36:45 +03:00
Evgeny Mankov 7d71dfd1f7 [HIPIFY][tests] Add intro.cu test 2018-02-01 17:07:48 +03:00
Maneesh Gupta 3aab52d7cc hipStreamAddCallback.cpp: Replace unistd sleep with sleep_for
Change-Id: I7a5d40a1acd8be76a0f175bcfa731ad89fb88d81
2018-01-31 10:48:17 +05:30
Evgeny Mankov eef94a74bc [HIPIFY][tests] add poisson-api-example test
+ add missing types
+ doc update
2018-01-30 19:50:18 +03:00
Evgeny Mankov 2ae2693c8a [HIPIFY][tests] fix typo 2018-01-30 18:55:09 +03:00
Rahul Garg b8c23f979b Fixed host allocated globals address lookup for host usage
Fixed texture driver APIs failure
2018-01-30 18:06:31 +05:30
Maneesh Gupta 6a37c60eaa Fix hipStreamAddCallback testcase for nvcc
Change-Id: Ieec4b8d7933d8d68394d21d27132da206111efc8
2018-01-30 12:32:46 +05:30
Evgeny Mankov 58f2d3c93f [HIPIFY] InclusionDirective refactoring
Due to support of cuRAND headers.

+ compound test on all headers is added;
+ missing entities are added with updating the doc;
+ a couple cuRAND tests are added (https://github.com/ROCmSoftwarePlatform/rocRAND/tree/master/benchmark):
  - the following CUDA entities are still unsupported by hipRAND:
      curandMakeMTGP32Constants
      curandMakeMTGP32KernelState
      curandGetDirectionVectors32
      curandDirectionVectorSet_t
      CURAND_DIRECTION_VECTORS_32_JOEKUO6
      curandStateSobol64_t
      curandStateScrambledSobol64_t
      curandGenerateLongLong
  - and the following - by HIP:
      cudaRuntimeGetVersion
  - those entities are handled by CHECK-NOT directive for now.
2018-01-29 18:33:47 +03:00
Maneesh Gupta 4995146eaf Disable md2html conversion in hip doc package 2018-01-26 07:02:49 +05:30
Maneesh Gupta 51ade281bd Merge pull request #317 from ROCm-Developer-Tools/fix_hip_debugging_doc
Update hip_debugging.md on typo of chicken bits
2018-01-26 07:00:35 +05:30
Maneesh Gupta 8a98b2d665 Merge pull request #346 from scchan/fix_rhel_build
use assign rather than insert
2018-01-26 06:59:25 +05:30
Kent Knox 2c89a70d3f Remove archiving of RPM
We should archive RPM's from proper centos/fedora machines so that we
get the proper dependencies right
2018-01-25 11:39:17 -06:00
Siu Chi Chan 6f90e4213f use assign rather than insert 2018-01-25 16:51:29 +00:00
Kent Knox 85284dd48f Fixing rocblas build failure
with ::Bundled_code_header constructor

Disabling hipPrintfKernel test from CI
2018-01-25 10:29:40 -06:00
Evgeny Mankov 4df35f4c77 [HIPIFY][tests][win] Make cudaRegister.cu building on Windows as well 2018-01-24 20:13:23 +03:00
Evgeny Mankov 657be80c29 Merge pull request #340 from emankov/master
[HIPIFY][fix] Fix PragmaDirective
2018-01-24 18:09:54 +03:00
Evgeny Mankov 591aeccad3 Merge pull request #341 from emankov/hipBLAS
[HIPIFY][fix] CUDA and cuBLAS main headers correct handling
2018-01-24 18:09:12 +03:00
Alex Voicu f9e7195451 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco 2018-01-24 12:33:45 +00:00
Evgeny Mankov aaa9559768 [HIPIFY][fix] CUDA and cuBLAS main headers correct handling 2018-01-23 23:43:36 +03:00
Evgeny Mankov b9fc653b08 [HIPIFY][fix] Fix PragmaDirective
File location have to be verified, otherwise location of the first found '#pragma once' in any included header even system will be erroneously handled, which might lead to attempt to including hip_runtime.h in it.
2018-01-23 23:06:55 +03:00
Evgeny Mankov 35bd23fb07 [HIPIFY][tests][win] Uncomment @echo off 2018-01-23 21:46:27 +03:00
Evgeny Mankov 8fae5663d2 [HIPIFY][tests][win] Fix run_test.bat
All checks should not occur in input file for FileCheck. The issue found on CHECK-NOT.
Change removes all lit checks in the hipified file based on regexp, and the resulted stdout is fed as stdin for FileCheck.
2018-01-23 21:43:18 +03:00
Evgeny Mankov 1ecb5b5901 [HIPIFY] Sync with hipBLAS ToT and CUDA cuBLAS 9.1 2018-01-22 17:12:02 +03:00
Evgeny Mankov 5b1b3438fd [HIPIFY] cuRAND lib support (Device) 2018-01-19 21:29:05 +03:00
Evgeny Mankov 2e2e38f163 [HIPIFY] cuRAND lib support (partial - only Host) 2018-01-19 17:38:51 +03:00
Evgeny Mankov a8cae9ec07 Merge pull request #332 from emankov/cudaMap_2
[HIPIFY] Add cudaMalloc3D support
2018-01-18 13:05:57 +03:00
Evgeny Mankov eb27585136 [HIPIFY] Add cudaMalloc3D support 2018-01-18 12:28:56 +03:00
Evgeny Mankov 2bf8cc691b [HIPIFY] Add CUDA Driver API Texture Ref support (partial) 2018-01-18 12:03:03 +03:00
Evgeny Mankov 87895b7d01 [HIPIFY][perl] Typo fix 2018-01-18 09:14:16 +03:00
Alex Voicu 55dcd1a04a Merge branch 'feature_purge_genco' of https://github.com/AlexVlx/HIP into feature_purge_genco 2018-01-17 14:07:48 +00:00
Alex Voicu 09c704a2d0 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco 2018-01-17 14:02:19 +00:00
Evgeny Mankov bf64e69265 Merge pull request #326 from emankov/cudaMap
[HIPIFY] Add more supported by HIP CUDA Driver API Arrays data types and functions
2018-01-16 23:59:24 +03:00
Evgeny Mankov e2ac6c6296 [HIPIFY] Add more supported by HIP CUDA Driver API Arrays data types and functions 2018-01-16 21:07:50 +03:00
Evgeny Mankov 284d1cb4e3 [HIPIFY][tests] remove concurentKernels.cu as it is one of CUDA SDK samples. 2018-01-16 20:41:08 +03:00
Evgeny Mankov 8f84e7a4ee Merge pull request #319 from emankov/issue_211
[HIPIFY][fix][#211] Algorithm for explicit insert of hip include directive
2018-01-16 19:47:15 +03:00
Evgeny Mankov b452cdb678 Merge pull request #323 from emankov/cudaBuiltins
[HIPIFY][tests] Remove checks on cudaBuiltins
2018-01-16 19:46:41 +03:00
Evgeny Mankov 382654c2bb Merge pull request #324 from emankov/cudaMap
[HIPIFY] Add more supported by HIP CUDA RT API Textures and Arrays data types
2018-01-16 19:46:27 +03:00
Evgeny Mankov 3db7dc5b9e Update headers_test_03.cu 2018-01-16 19:21:59 +03:00
Evgeny Mankov 44d51e794b Update headers_test_04.cu 2018-01-16 19:21:14 +03:00
Evgeny Mankov 23889e7987 [HIPIFY] Add more supported by HIP CUDA RT API Textures and Arrays data types 2018-01-16 17:21:19 +03:00
Evgeny Mankov 42f0966a9e [HIPIFY][tests] Remove checks on cudaBuiltins
As HIP has started to support vanilla CUDA syntax for threadIdx, blockIdx, blockDim and gridDim.
Other CUDA builtins are not tracked for now.
2018-01-16 17:13:29 +03:00