Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
Rahul Garg d5a61736d8 Add texref get APIs support (#1471)
Added support for -
    hipTexRefGetArray
    hipTexRefGetAddressMode
    hipTexRefGetAddress
2019-10-04 13:38:45 +05:30
Jeff Daily f337ae1edb consolidate thread local storage (#915)
* all thread local access now through single struct

* clean up old commented-out code, more use of GET_TLS()

* fewer calls to GET_TLS by passing tls as a funtion argument

* revert unnecessary change to printf

* fix failing tests due to TLS change

* fix merge conflicts in ihipOccupancyMaxActiveBlocksPerMultiprocessor
2019-08-05 09:51:02 +00:00
Evgeny Mankov f0832fd968 [HIP][HIPIFY] Split HIP_ARRAY_DESCRIPTOR struct to HIP_ARRAY_DESCRIPTOR and HIP_ARRAY3D_DESCRIPTOR
[Reason] To be compatible with CUDA [#1133]

Update HIP code, hipify-clang, tests and docs

[TODO] Add support of the corresponding functions on nvcc fallback path
2019-07-11 14:58:16 +03:00
Evgeny e362688adf renaming HIP_INIT_CB_API to HIP_INIT_API 2018-11-13 15:33:26 +00:00
Rahul Garg a78d68d639 Corrected the width calculation logic to accomodate multi channels 2018-10-03 12:07:38 +05:30
Rahul Garg 167265c279 Fixed image width for linear resource type texture 2018-10-01 15:28:34 +05:30
Rahul Garg f17c897751 Null check before setting offset 2018-07-24 12:25:40 +05:30
Rahul Garg 0ec64e8b24 Set offset in hipGetTextureAlignmentOffset 2018-07-24 10:11:26 +05:30
Rahul Garg 77cbd4476d Fixed offset null check in bind texture functions 2018-07-03 08:54:17 +05:30
Maneesh Gupta c50f3caf5e Merge pull request #367 from gargrahul/fix_tex_drv_offset
Fix offset issue in texture driver APIs
2018-03-16 07:43:48 +05:30
Maneesh Gupta 9e47fccc89 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg c3d786d810 Set offset value to 0 2018-03-11 00:12:22 +05:30
Rahul Garg 105df94cd0 Added support for
- 3D texture driver APIs
- hipMalloc3D
- hipMemcpy3D for destination other than array
2017-12-05 14:11:13 +05:30
Rahul Garg 38029f2849 Fixed review comments 2017-11-21 21:19:06 +05:30
Rahul Garg e2e499461a Removed redundant desc variable 2017-11-15 18:28:27 +05:30
Rahul Garg edbfeeb141 -Fixed texture driver API sample
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs
2017-11-15 18:23:28 +05:30
Rahul Garg e536eb038d Texture code reorganized 2017-11-14 11:09:35 +05:30
Rahul Garg 1851c153f6 Texture driver APIs support 2017-11-09 22:10:55 +05:30
Rahul Garg 9e07b08ce5 Fixed hipTexture fetch issue 2017-09-25 06:54:29 +05:30
Weixing Zhang ccbd3b13fc HIP Texture Support 2017-07-17 15:16:12 -04:00