Commit Graph

4607 Commits

Author SHA1 Message Date
Rahul Garg 413c9ac9cb Fixed byte offset issue
Added HIP/NVCC support


[ROCm/hip commit: d697739d57]
2018-03-04 19:05:37 +05:30
foreman 5773ceb4fd P4 to Git Change 1522302 by skudchad@skudchad_test2_win_opencl on 2018/03/03 20:41:25
SWDEV-145570 - [HIP] - Hip Rearchitecture
	- Implemented most of device* functions

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14340/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#4 edit


[ROCm/hip commit: cd4f8ccac9]
2018-03-03 21:02:59 -05:00
foreman e367e8578b P4 to Git Change 1522211 by lmoriche@lmoriche_opencl_dev2 on 2018/03/02 17:41:47
SWDEV-145570 - [HIP] - Hip Rearchitecture
	- Rename cuda* launch functions -> hip*
	- Add more function prototypes to compile the HIP tests

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#1 add


[ROCm/hip commit: d8a344113f]
2018-03-02 17:55:48 -05:00
Laurent Morichetti f18bee421c __CUDA__ and __HIP__ are both defined when compiling with 'clang -x hip', so make sure __HIP__ is not defined in the case of __HIP_PLATFORM_NVCC__.
[ROCm/hip commit: 0d45c1d2d3]
2018-03-02 06:51:51 -08:00
foreman 2ea1740b98 P4 to Git Change 1521675 by lmoriche@lmoriche_opencl_dev2 on 2018/03/01 22:50:06
SWDEV-145570 - [HIP] - Hip Rearchitecture
	- Add initial prototype implementation

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/Makefile#11 edit
... //depot/stg/opencl/drivers/opencl/api/hip/fixme.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_error.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.rc#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#1 add


[ROCm/hip commit: 73cb309e2b]
2018-03-01 22:57:20 -05:00
Alex Voicu fff7409a48 Update CMakeLists.txt
[ROCm/hip commit: 75840b4b00]
2018-03-01 16:06:09 +00:00
Rahul Garg ccc0a66788 Added hip_surface header file
[ROCm/hip commit: 0057dbca83]
2018-03-01 12:22:56 +05:30
Laurent Morichetti 12e8f48181 Use __HIP__ instead of __HIPCC__, and __CUDA__ instead of __CUDACC__
[ROCm/hip commit: 6536164914]
2018-02-28 14:20:55 -08:00
Laurent Morichetti b32680706c Fixes a build error with hcc
[ROCm/hip commit: 2bc7adfa62]
2018-02-28 14:12:09 -08:00
Laurent Morichetti 69f5dc0883 Add initial support for clang
[ROCm/hip commit: f8b0c96462]
2018-02-28 12:31:26 -08:00
foreman 26eb51f814 P4 to Git Change 1520507 by skudchad@skudchad_test2_win_opencl on 2018/02/27 18:32:09
SWDEV-145570 - Populate some HIP Device Management functions.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14310/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#1 add


[ROCm/hip commit: 4fd1eb28eb]
2018-02-27 18:38:56 -05:00
Rahul Garg ff74aadd87 Added surface object support
[ROCm/hip commit: 5c3b91a0a1]
2018-02-26 11:59:03 +05:30
Alex Voicu 717a01660a Change directory name to match HIP lowercase style.
[ROCm/hip commit: dc7560ef22]
2018-02-22 13:15:10 +00:00
Alex Voicu 7f9c1eab10 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/hip commit: 49ef24c042]
2018-02-22 12:08:52 +00:00
Siu Chi Chan afc71e3bad make HIP to load the GPU objects and to setup the function symbol map on startup
[ROCm/hip commit: ebc92e5975]
2018-02-18 14:26:44 -05:00
foreman 7cc42aa709 P4 to Git Change 1516173 by skudchad@skudchad_rocm on 2018/02/14 15:02:45
SWDEV-145570 -  Initial hip api checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#2 edit


[ROCm/hip commit: 37faef47ba]
2018-02-14 15:08:01 -05:00
Maneesh Gupta b3ce8d8519 Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc

[ROCm/hip commit: f4bd708c7e]
2018-02-14 12:47:23 +05:30
Maneesh Gupta ed8ec5f15a Merge pull request #358 from mangupta/clangformat
[build] Add clangformat target to cmake

[ROCm/hip commit: 04ec70e52c]
2018-02-14 09:16:14 +05:30
Maneesh Gupta cb9b6d3613 [dtests] Fix HIT block in hipPeerToPeer_simple.cpp
[ROCm/hip commit: 2ff55124fa]
2018-02-14 09:13:50 +05:30
foreman ec5982e1c8 P4 to Git Change 1515837 by skudchad@skudchad_rocm on 2018/02/13 19:37:06
SWDEV-145570 -  Initial hip api checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/Makefile#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#1 add


[ROCm/hip commit: 2ed585ec08]
2018-02-13 19:45:32 -05:00
Alex Voicu 64fc905d32 Missing merge.
[ROCm/hip commit: 9526e05732]
2018-02-12 20:21:37 +00:00
Alex Voicu 3afca75a71 Re-sync with upstream.
[ROCm/hip commit: baf50a5311]
2018-02-12 20:20:24 +00:00
Maneesh Gupta d4a4a8a1c1 Merge pull request #321 from gargrahul/hipMemcpyArray_Functions
Added support for hipMemcpy Array functions-

[ROCm/hip commit: 4b8ae78891]
2018-02-12 10:36:38 +05:30
Maneesh Gupta 00aeb8514f [build] Add clangformat target to cmake
- Added a new target "clangformat" which formats the code using the
  clang-format tool found in HCC package.
- Renamed target "static_check" to "cppcheck".
- Use find_program() macro to make the build system more robust.

Change-Id: Ifefbf36f23ff7ef27a870120d5b9170d0cc8aa52


[ROCm/hip commit: 1e559d19c3]
2018-02-12 10:21:27 +05:30
Maneesh Gupta 263e0e2c3f Merge pull request #350 from gargrahul/fix_module_host_global_symbol
Fixed host allocated globals address lookup for host usage

[ROCm/hip commit: 2dc315efc8]
2018-02-12 10:13:49 +05:30
Maneesh Gupta 49d2901d2d Merge pull request #355 from gargrahul/update_hip_programming_guide
Update the programming guide with environment variables names and def…

[ROCm/hip commit: 7f9243515a]
2018-02-12 10:13:18 +05:30
Evgeny Mankov 1b25dfa25c [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");
            ~~~~~~^


[ROCm/hip commit: 7f3e89bbb0]
2018-02-08 00:08:47 +03:00
Rahul Garg 88e41efc44 Update the programming guide with environemnt variables names and default threshold values used.
[ROCm/hip commit: b1ce616a02]
2018-02-06 14:29:04 +05:30
Maneesh Gupta 7ca125afad Merge pull request #299 from mangupta/hipStreamAddCallback
Implement hipStreamAddCallback

[ROCm/hip commit: f421f2fe0a]
2018-02-02 08:32:41 +05:30
Evgeny Mankov 8a9f74aff9 [HIPIFY][tests] Add coalescing.cu test
[ROCm/hip commit: b0efa41d31]
2018-02-01 19:41:36 +03:00
Evgeny Mankov ba03b81442 [HIPIFY][tests] Add vec_add.cu test
[ROCm/hip commit: 06771d20ba]
2018-02-01 18:34:16 +03:00
Evgeny Mankov b3585252aa [HIPIFY][tests] add new line at the end of file
[ROCm/hip commit: d254875c42]
2018-02-01 17:36:45 +03:00
Evgeny Mankov a275d1d1bd [HIPIFY][tests] Add intro.cu test
[ROCm/hip commit: 3c058379d8]
2018-02-01 17:07:48 +03:00
Maneesh Gupta c1f3d1409c hipStreamAddCallback.cpp: Replace unistd sleep with sleep_for
Change-Id: I7a5d40a1acd8be76a0f175bcfa731ad89fb88d81


[ROCm/hip commit: e0b91d32dd]
2018-01-31 10:48:17 +05:30
Evgeny Mankov 934c34e81f [HIPIFY][tests] add poisson-api-example test
+ add missing types
+ doc update


[ROCm/hip commit: 26095fe7c1]
2018-01-30 19:50:18 +03:00
Evgeny Mankov 58d1f6f3b3 [HIPIFY][tests] fix typo
[ROCm/hip commit: 9d814bef31]
2018-01-30 18:55:09 +03:00
Rahul Garg e2ade308cf Fixed host allocated globals address lookup for host usage
Fixed texture driver APIs failure


[ROCm/hip commit: 24ab820a11]
2018-01-30 18:06:31 +05:30
Maneesh Gupta 1429c44459 Fix hipStreamAddCallback testcase for nvcc
Change-Id: Ieec4b8d7933d8d68394d21d27132da206111efc8


[ROCm/hip commit: 5bce9ea5ef]
2018-01-30 12:32:46 +05:30
Evgeny Mankov e455192444 [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.


[ROCm/hip commit: 02e23c4d87]
2018-01-29 18:33:47 +03:00
Maneesh Gupta 254f8aeed1 Merge branch 'master' into feature_purge_genco
[ROCm/hip commit: 72d3e679e4]
2018-01-29 16:02:03 +05:30
Maneesh Gupta 076ba92854 Disable md2html conversion in hip doc package
[ROCm/hip commit: 9860d5de20]
2018-01-26 07:02:49 +05:30
Maneesh Gupta 7273fcc0e0 Merge pull request #317 from ROCm-Developer-Tools/fix_hip_debugging_doc
Update hip_debugging.md on typo of chicken bits

[ROCm/hip commit: a222cf89a9]
2018-01-26 07:00:35 +05:30
Maneesh Gupta e98b8a56ba Merge pull request #346 from scchan/fix_rhel_build
use assign rather than insert

[ROCm/hip commit: 44de3f8309]
2018-01-26 06:59:25 +05:30
Kent Knox e987fc9e6f Remove archiving of RPM
We should archive RPM's from proper centos/fedora machines so that we
get the proper dependencies right


[ROCm/hip commit: 98f3fe3939]
2018-01-25 11:39:17 -06:00
Siu Chi Chan 6e53c6d37a use assign rather than insert
[ROCm/hip commit: 8acc8365fa]
2018-01-25 16:51:29 +00:00
Kent Knox cc15f73add Fixing rocblas build failure
with ::Bundled_code_header constructor

Disabling hipPrintfKernel test from CI


[ROCm/hip commit: 0497424978]
2018-01-25 10:29:40 -06:00
Evgeny Mankov 5d83330b47 [HIPIFY][tests][win] Make cudaRegister.cu building on Windows as well
[ROCm/hip commit: f9416a0c49]
2018-01-24 20:13:23 +03:00
Evgeny Mankov 496111adc3 Merge pull request #340 from emankov/master
[HIPIFY][fix] Fix PragmaDirective

[ROCm/hip commit: fb1012a4b8]
2018-01-24 18:09:54 +03:00
Evgeny Mankov 0682fa4c97 Merge pull request #341 from emankov/hipBLAS
[HIPIFY][fix] CUDA and cuBLAS main headers correct handling

[ROCm/hip commit: befa8dbbce]
2018-01-24 18:09:12 +03:00
Alex Voicu 7f117c5127 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/hip commit: b29c8461e1]
2018-01-24 12:33:45 +00:00