Commit Graph

99 Commits

Author SHA1 Message Date
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 cef5261fa9 Add mappings for __clock* in nvcc_detail/hip_runtime.h
Change-Id: Ibcecf52f3e69298268d921efc036090544fa0ed0
2018-09-17 15:23:30 +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
Nico Trost 0b1e698e74 added missing hipCmul() to nvcc_detail/hip_complex.h 2018-06-14 21:49:54 +02:00
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
Maneesh Gupta c7e5fd24ac Merge pull request #175 from gargrahul/assert_support
Device side assert support
2017-09-14 16:08:00 +05:30
sriharikarnam 3e69b2ed5a Add hipDevice[Get/Set]SharedMemConfig API on nvcc details 2017-09-14 16:03:19 +05:30
Rahul Garg 40ff42e555 Device side assert support 2017-09-07 20:45:27 +05:30
wsttiger b6a3d8c946 Modify header such that it's compatible with strict C compiler 2017-08-15 13:23:09 -05:00
Weixing Zhang e671cec367 HIP Texture Support 2017-07-17 15:16:12 -04:00
Rahul Garg 65cb024b61 Fixed hipDeviceGetByPCIBusId
Change-Id: Ia36bb9425671ef7659541c9aeedae4098456a31b
2017-06-30 10:11:41 +05:30
Rahul Garg d6db525f51 Fixed hipDeviceGetPCIBusId for HIP/NVCC
Change-Id: I662efa148257a710f09002850b41d57bef00dff3
2017-06-29 00:13:02 +05:30
Aditya Atluri 522e059a79 fixed default args for symbol memcpy apis
Change-Id: Ie0b63f8b9c5535eb3946bd6af3f30fe71a015244
2017-06-23 19:05:44 -05:00
Rahul Garg e6e4fe613c Added device side abort function in HIP/NVCC
Change-Id: I6ae35a72a8b9c34852619f02da1a046c8d3b2ed3
2017-06-20 09:38:56 +05:30
Evgeny Mankov 6e99e388ea [HIP] [HIPIFY] CUDA Driver API 8.0.44 JIT options support. 2017-05-31 18:55:29 +03:00
Ben Sander ec7102f461 Add event controls for release fences.
Env var : HIP_EVENT_SYS_RELEASE
Event allocation flags : hipEventReleaseToDevice, hipEventReleaseToSystem
   (remove hipEventDisableSystemRelease)

Update test for new functionality.
2017-05-27 16:02:34 -05:00
Ben Sander 75f691ec2f Add hipHostMallocCoherent, hipHostMallocNonCoherent
Provide per-allocation control over coherent/non-coherent mem.
These overrid the default HIP_COHERENT_HOST_ALLOC setting.
2017-05-24 00:48:10 -05:00
Evgeny Mankov 270f643c9c [HIP] [HIPIFY] [FIX] cuModuleLoadDataEx -> hipModuleLoadDataEx
https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/81

1.	Do not use JIT options on HCC path, call hipModuleLoadData instead.
2.	NVCC path is unchanged, to call cuModuleLoadDataEx with all options.
3.	Get rid of manual hipification, based on #ifdef #else for NVCC/HIP.
4.	Update documentation accordingly.
2017-05-19 17:22:14 +03:00