Commit Graph

96 Commits

Author SHA1 Message Date
Evgeny Mankov eede980a39 [HIP] fix typo in #1127 2019-05-22 20:48:18 +03:00
Evgeny Mankov 47bbb9c605 [HIP] fix nvcc path break in #1127 2019-05-22 20:04:45 +03:00
Evgeny Mankov 8f059b0ee9 [HIP][HIPIFY] Make hipMemcpyParam2D coherent with cuMemcpy2D
+ Makes hip_Memcpy2D struct compatible with CUDA_MEMCPY2D struct
+ Add hipMemcpyParam2D support in nvcc fallback path
+ Update hipify-clang, tests and docs accordingly
2019-05-22 18:31:39 +03:00
Maneesh Gupta 2975221560 Merge pull request #1039 from gargrahul/fix_ptrgetattr_nvcc
Fix hipPointerGetAttributes for NVCC
2019-04-24 16:50:18 +05:30
Rahul Garg 2bc2c46d4d Add hipMallocManaged default functional support (#1036)
* Add hipMallocManaged default functional support

* Fix build error

* Add dtest
2019-04-24 16:50:03 +05:30
Rahul Garg 69a3d6b72a Fix hipPointerGetAttributes for NVCC 2019-04-23 03:22:25 +05:30
Steven Noonan ee750d5ea4 nvcc_detail/hip_runtime_api.h: add missing hipDeviceSetCacheConfig API
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2019-03-06 11:21:36 -08:00
Maneesh Gupta 8db717c769 Update hip_runtime_api.h
Use hipCUResultTohipError instead of hipCUDAErrorTohipError in hipMemsetD32 & hipMemsetD32Async.
2019-03-05 12:10:01 +05:30
Wen-Heng (Jack) Chung 5cbd28f29b Address code review comments to use hipDeviceptr_t 2019-03-05 05:51:05 +00:00
Wen-Heng (Jack) Chung 0337b686ef Add implementation for NVCC path 2019-03-04 20:11:12 -08:00
Michael Kuron 999b62b711 Fix hipGetSymbolAddress/hipGetSymbolSize on nvcc 2018-11-15 09:48:00 +01:00
Michael Kuron 73616582d6 Implement hipGetSymbolAddress and hipGetSymbolSize 2018-11-04 10:39:34 +01:00
Maneesh Gupta c24b06fa0a Merge pull request #703 from mangupta/stream_create_with_priority
Implementation for stream priority
2018-10-17 10:53:43 +05:30
Maneesh Gupta 64d1cf86b7 Add missing hipHostRegister flags on nvcc path
Change-Id: I69f09204d9c544935104d4168ab8d3626666a623
2018-10-15 15:30:24 +05:30
Maneesh Gupta da64156fb2 Implementation for stream priority
- Requires ROCm 1.9.x or higher
- Requires HCC with PR#886 merged

Change-Id: Id7c95ea091ee610e80c9ad815f1cb989cba570ca
2018-10-05 16:27:46 +05:30
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 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
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
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 02ea7f13b3 Merge pull request #496 from gargrahul/add_gettexresdesc_nvcc
Add getTextureResourceDescriptor on NVCC
2018-06-06 15:12:11 +05:30
Maneesh Gupta de5043c47c Merge pull request #487 from gargrahul/fix_hiparray_alloc_flag_nvcc
Map hipArray alloc flags on NVCC
2018-06-06 15:11:40 +05:30
Rahul Garg 17bb8dbe86 Add getTextureResourceDescriptor on NVCC 2018-06-05 18:46:25 +05:30
Rahul Garg 1a02bc364f Add integrated device property 2018-06-02 13:11:16 +05:30
Rahul Garg d3621a2500 Map hipArray alloc flags on NVCC 2018-06-01 17:28:43 +05:30
Maneesh Gupta 7fd92d471b Add signature for hipFuncGetAttributes to nvcc_details
Change-Id: I06d5b50028fcfe3ea9d81f749b02be6b094c0977
2018-05-30 11:24:48 +05:30
Rahul Garg d67b614b22 Fix hipBindTexture on NVCC path 2018-05-30 10:59:07 +05:30
Rahul Garg 024f77ce61 Add 1d texture types for NVCC path 2018-05-28 15:02:06 +05:30
Maneesh Gupta 661561eead Add hipMalloc3D to nvcc detail
Change-Id: I8a5654066ed1504e3b05eddbbdebf05fd52aa149
2018-05-21 11:33:09 +05:30
founta 1a108ef7f3 defined hipPitchedPtr
Added a define for hipPitchedPtr to resolve a compiler error
2018-05-18 09:11:50 -04:00
Rahul Garg da302c3e93 Added hipMemset3D 2018-05-07 10:24:30 +05:30
Rahul Garg b4585a2a90 Cleaned up 2018-05-02 12:54:17 +05:30
Rahul Garg 9de5f23d54 Fix texture 3D for HIP/NVCC 2018-05-02 11:56:37 +05:30
Rahul Garg 3cfb9c0d40 Added hipMemset2DAsync support 2018-04-17 18:27:27 +05:30
Maneesh Gupta 1ba06f63c4 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg d697739d57 Fixed byte offset issue
Added HIP/NVCC support
2018-03-04 19:05:37 +05:30
Rahul Garg 487a430b5a Added support for -
- hipMemcpyFromArray
- hipMemcpyAtoH
- hipMemcpyHtoA
2018-01-16 11:44:19 +05:30
Rahul Garg 0782c52271 Fix hipGetDeviceAttribute dtest for HIP/NVCC 2017-12-06 15:49:06 +05:30
Rahul Garg b8aae66424 Fixed review comment 2017-10-02 17:29:08 +05:30
Rahul Garg 19d574d939 Fixed review comments 2017-10-02 10:57:25 +05:30
Rahul Garg f62254a8d8 Fixed build issue 2017-10-02 10:40:01 +05:30
Rahul Garg 470224cf25 Fix texture support on HIP/NVCC path 2017-10-02 10:40:01 +05:30
Maneesh Gupta 8c92d28ff3 Merge pull request #155 from wsttiger/master
Modify hip headers such that they are more compatible with strict C compiler
2017-09-15 10:49:55 +05:30
Maneesh Gupta c3c94dcd8d Fix typo in nvcc_detail/hip_runtime_api.h 2017-09-14 16:19:57 +05:30
sriharikarnam 3e69b2ed5a Add hipDevice[Get/Set]SharedMemConfig API on nvcc details 2017-09-14 16:03:19 +05:30
wsttiger b6a3d8c946 Modify header such that it's compatible with strict C compiler 2017-08-15 13:23:09 -05:00
Rahul Garg 65cb024b61 Fixed hipDeviceGetByPCIBusId
Change-Id: Ia36bb9425671ef7659541c9aeedae4098456a31b
2017-06-30 10:11:41 +05:30