Maneesh Gupta
46ddefedee
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/clr commit: 9e47fccc89 ]
2018-03-12 11:29:03 +05:30
Rahul Garg
83fac92815
Set offset value to 0
...
[ROCm/clr commit: c3d786d810 ]
2018-03-11 00:12:22 +05:30
Maneesh Gupta
ecbb701440
Merge pull request #363 from gargrahul/surface_object_api
...
Added surface object support
[ROCm/clr commit: eee7fa6072 ]
2018-03-09 11:50:30 +05:30
foreman
f45c2eb542
P4 to Git Change 1524135 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/07 19:52:00
...
SWDEV-145570 - [HIP] Hip Rearchitecture
Implemented hipHostAlloc
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#5 edit
[ROCm/clr commit: 336d1e589c ]
2018-03-07 20:03:36 -05:00
Maneesh Gupta
72a9e630f8
Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
...
Change hipconfig to adopt new location of llc
[ROCm/clr commit: 72ec13ab86 ]
2018-03-06 11:59:44 +05:30
Maneesh Gupta
274c65457e
Merge pull request #288 from AlexVlx/feature_purge_genco
...
Purge hsagenco.sh
[ROCm/clr commit: 1190a9e5d0 ]
2018-03-05 09:59:56 +05:30
Rahul Garg
5f63267327
Add surface object API 2D test
...
[ROCm/clr commit: 919eb74a93 ]
2018-03-04 22:49:23 +05:30
Rahul Garg
10ee7a6a80
Fixed byte offset issue
...
Added HIP/NVCC support
[ROCm/clr commit: d2426e1b9a ]
2018-03-04 19:05:37 +05:30
foreman
59e45d40e8
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/clr commit: 73fec7a0fa ]
2018-03-03 21:02:59 -05:00
foreman
d8f628753c
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/clr commit: f27e6709eb ]
2018-03-02 17:55:48 -05:00
Laurent Morichetti
ee4473f588
__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/clr commit: 49f819ab9e ]
2018-03-02 06:51:51 -08:00
foreman
b84cfe7b08
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/clr commit: 13f4e897fc ]
2018-03-01 22:57:20 -05:00
Alex Voicu
7f8411f93f
Update CMakeLists.txt
...
[ROCm/clr commit: fa0bff8f78 ]
2018-03-01 16:06:09 +00:00
Rahul Garg
685260a08a
Added hip_surface header file
...
[ROCm/clr commit: 7c50ae3b04 ]
2018-03-01 12:22:56 +05:30
Laurent Morichetti
af04673cd5
Use __HIP__ instead of __HIPCC__, and __CUDA__ instead of __CUDACC__
...
[ROCm/clr commit: 3251d129ef ]
2018-02-28 14:20:55 -08:00
Laurent Morichetti
6b6ed7cd66
Fixes a build error with hcc
...
[ROCm/clr commit: 70dad80383 ]
2018-02-28 14:12:09 -08:00
Laurent Morichetti
18db0b1905
Add initial support for clang
...
[ROCm/clr commit: 73dd7f0e05 ]
2018-02-28 12:31:26 -08:00
foreman
0822309281
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/clr commit: 85724dd2e4 ]
2018-02-27 18:38:56 -05:00
Rahul Garg
7272f1608c
Added surface object support
...
[ROCm/clr commit: 92283d24d0 ]
2018-02-26 11:59:03 +05:30
Alex Voicu
c4d704b2ad
Change directory name to match HIP lowercase style.
...
[ROCm/clr commit: 696f0595a3 ]
2018-02-22 13:15:10 +00:00
Alex Voicu
4e8e090839
Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
...
[ROCm/clr commit: 1563d53c92 ]
2018-02-22 12:08:52 +00:00
Siu Chi Chan
9fddf100b7
make HIP to load the GPU objects and to setup the function symbol map on startup
...
[ROCm/clr commit: 0ca9591e55 ]
2018-02-18 14:26:44 -05:00
foreman
41fed64377
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/clr commit: ce7a19fa55 ]
2018-02-14 15:08:01 -05:00
Maneesh Gupta
b73c021c8f
Merge pull request #303 from phani544/nvccTests3
...
[nvccTests] Enable hipPeerToPeer_simple on nvcc
[ROCm/clr commit: 60bda80014 ]
2018-02-14 12:47:23 +05:30
Maneesh Gupta
9c0ab85b68
Merge pull request #358 from mangupta/clangformat
...
[build] Add clangformat target to cmake
[ROCm/clr commit: f30a581183 ]
2018-02-14 09:16:14 +05:30
Maneesh Gupta
e24c6ff5f9
[dtests] Fix HIT block in hipPeerToPeer_simple.cpp
...
[ROCm/clr commit: cd71f55fd7 ]
2018-02-14 09:13:50 +05:30
foreman
b15a34e3f4
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/clr commit: 7c3a1335d3 ]
2018-02-13 19:45:32 -05:00
Alex Voicu
e2c8b8c9ef
Missing merge.
...
[ROCm/clr commit: 4fadfae944 ]
2018-02-12 20:21:37 +00:00
Alex Voicu
eab8624938
Re-sync with upstream.
...
[ROCm/clr commit: a704bd8b44 ]
2018-02-12 20:20:24 +00:00
Maneesh Gupta
2dc84aeaf9
Merge pull request #321 from gargrahul/hipMemcpyArray_Functions
...
Added support for hipMemcpy Array functions-
[ROCm/clr commit: 647d1ba310 ]
2018-02-12 10:36:38 +05:30
Maneesh Gupta
f06408fa54
[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/clr commit: 6ef0c494d1 ]
2018-02-12 10:21:27 +05:30
Maneesh Gupta
c6562bc2d2
Merge pull request #350 from gargrahul/fix_module_host_global_symbol
...
Fixed host allocated globals address lookup for host usage
[ROCm/clr commit: 7cd7a10e33 ]
2018-02-12 10:13:49 +05:30
Maneesh Gupta
acf73075e6
Merge pull request #355 from gargrahul/update_hip_programming_guide
...
Update the programming guide with environment variables names and def…
[ROCm/clr commit: d38f84b213 ]
2018-02-12 10:13:18 +05:30
Evgeny Mankov
adb39887b2
[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/clr commit: 8ba4acb3cd ]
2018-02-08 00:08:47 +03:00
Rahul Garg
b347b33786
Update the programming guide with environemnt variables names and default threshold values used.
...
[ROCm/clr commit: c47ae45d0a ]
2018-02-06 14:29:04 +05:30
Maneesh Gupta
b91b2601f3
Merge pull request #299 from mangupta/hipStreamAddCallback
...
Implement hipStreamAddCallback
[ROCm/clr commit: 8359c2eb5a ]
2018-02-02 08:32:41 +05:30
Evgeny Mankov
a17cfac3ff
[HIPIFY][tests] Add coalescing.cu test
...
[ROCm/clr commit: e98ee1d627 ]
2018-02-01 19:41:36 +03:00
Evgeny Mankov
180cf3f29c
[HIPIFY][tests] Add vec_add.cu test
...
[ROCm/clr commit: f7fb6e2199 ]
2018-02-01 18:34:16 +03:00
Evgeny Mankov
d7d35ed98c
[HIPIFY][tests] add new line at the end of file
...
[ROCm/clr commit: 91ef7b50e5 ]
2018-02-01 17:36:45 +03:00
Evgeny Mankov
3976fbfe15
[HIPIFY][tests] Add intro.cu test
...
[ROCm/clr commit: 7d71dfd1f7 ]
2018-02-01 17:07:48 +03:00
Maneesh Gupta
469ffecc71
hipStreamAddCallback.cpp: Replace unistd sleep with sleep_for
...
Change-Id: I7a5d40a1acd8be76a0f175bcfa731ad89fb88d81
[ROCm/clr commit: 3aab52d7cc ]
2018-01-31 10:48:17 +05:30
Evgeny Mankov
2a1267bd43
[HIPIFY][tests] add poisson-api-example test
...
+ add missing types
+ doc update
[ROCm/clr commit: eef94a74bc ]
2018-01-30 19:50:18 +03:00
Evgeny Mankov
ea60d1daec
[HIPIFY][tests] fix typo
...
[ROCm/clr commit: 2ae2693c8a ]
2018-01-30 18:55:09 +03:00
Rahul Garg
f15543d5cf
Fixed host allocated globals address lookup for host usage
...
Fixed texture driver APIs failure
[ROCm/clr commit: b8c23f979b ]
2018-01-30 18:06:31 +05:30
Maneesh Gupta
b2bb274b7e
Fix hipStreamAddCallback testcase for nvcc
...
Change-Id: Ieec4b8d7933d8d68394d21d27132da206111efc8
[ROCm/clr commit: 6a37c60eaa ]
2018-01-30 12:32:46 +05:30
Evgeny Mankov
2583a716a7
[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/clr commit: 58f2d3c93f ]
2018-01-29 18:33:47 +03:00
Maneesh Gupta
c6c97ebffd
Merge branch 'master' into feature_purge_genco
...
[ROCm/clr commit: 5eea5ea227 ]
2018-01-29 16:02:03 +05:30
Maneesh Gupta
d4ff298f5e
Disable md2html conversion in hip doc package
...
[ROCm/clr commit: 4995146eaf ]
2018-01-26 07:02:49 +05:30
Maneesh Gupta
fca2ddfc8c
Merge pull request #317 from ROCm-Developer-Tools/fix_hip_debugging_doc
...
Update hip_debugging.md on typo of chicken bits
[ROCm/clr commit: 51ade281bd ]
2018-01-26 07:00:35 +05:30
Maneesh Gupta
ec02b8f1ee
Merge pull request #346 from scchan/fix_rhel_build
...
use assign rather than insert
[ROCm/clr commit: 8a98b2d665 ]
2018-01-26 06:59:25 +05:30