Maneesh Gupta
4e1f6f2a0e
Merge branch 'amd-master' into amd-master-next
...
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b
[ROCm/hip commit: 2af31479e2 ]
2020-04-09 06:31:00 -04:00
vsytch
e5243c1834
Device texture functions should not normalize the sampled pixel ( #1826 )
...
* Device texture functions should not normalize the sampled pixel. This is already done by HW.
* Add support to use h/w capability for normalized float data convertion for driver API's
Co-authored-by: ansurya <50609411+ansurya@users.noreply.github.com >
[ROCm/hip commit: ef514eef71 ]
2020-02-05 20:56:17 +05:30
ansurya
ac41b1d0e0
Fix texture tests, always pass row pitch to HSA API for linear layout images ( #1785 )
...
=> New ROCr calculates pitch as per HSA specification and addrlib is used to check whether HW can support that configuration. Hence few texture tests are failing with HSA_EXT_STATUS_ERROR_IMAGE_PITCH_UNSUPPORTED.
=> Determine pitch for linear images and always pass rowpitch to HSA API's.
[ROCm/hip commit: df20c17f12 ]
2020-01-16 08:54:30 +05:30
ansurya
92dcba11ac
Fixed texture 2D mapping for pitched arrays & 3D Texture read ( #1415 )
...
Texture 2D image mapping for pitched arrays:
github issue: Texture Object's Buffer seems to be Misaligned #886
JIRA ticket: SWDEV-199313
SWDEV-151670 : Fixed issue with 3D texture with 4 components
SWDEV-151671 : Issue with 2D layered texture with 4 components
[ROCm/hip commit: e07926ce0f ]
2019-11-07 13:17:46 +05:30
Anusha Godavarthy Surya
04080d4bb1
Fix undefine ref to hipUbindTexture for texture types
...
[ROCm/hip commit: af5f195e46 ]
2019-10-09 16:26:06 +05:30
Rahul Garg
3b9b5fca8d
Add texref get APIs support ( #1471 )
...
Added support for -
hipTexRefGetArray
hipTexRefGetAddressMode
hipTexRefGetAddress
[ROCm/hip commit: bec725dec2 ]
2019-10-04 13:38:45 +05:30
Jeff Daily
9b44993343
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
[ROCm/hip commit: 1eb3dbf065 ]
2019-08-05 09:51:02 +00:00
Evgeny Mankov
96801f7b3a
[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
[ROCm/hip commit: c7117df91b ]
2019-07-11 14:58:16 +03:00
Evgeny
73e3c4ec42
renaming HIP_INIT_CB_API to HIP_INIT_API
...
[ROCm/hip commit: e5ba097afd ]
2018-11-13 15:33:26 +00:00
Rahul Garg
8401146cd6
Corrected the width calculation logic to accomodate multi channels
...
[ROCm/hip commit: 5a3d89e99c ]
2018-10-03 12:07:38 +05:30
Rahul Garg
5a48bc2168
Fixed image width for linear resource type texture
...
[ROCm/hip commit: 0b8fc1d66a ]
2018-10-01 15:28:34 +05:30
Rahul Garg
c13c5c9476
Null check before setting offset
...
[ROCm/hip commit: bc4cdf7e41 ]
2018-07-24 12:25:40 +05:30
Rahul Garg
af407ce8be
Set offset in hipGetTextureAlignmentOffset
...
[ROCm/hip commit: 867a4aa971 ]
2018-07-24 10:11:26 +05:30
Rahul Garg
ff253a279c
Fixed offset null check in bind texture functions
...
[ROCm/hip commit: feff0aeea4 ]
2018-07-03 08:54:17 +05:30
Maneesh Gupta
190c598d11
Merge pull request #367 from gargrahul/fix_tex_drv_offset
...
Fix offset issue in texture driver APIs
[ROCm/hip commit: f2a9f8eec3 ]
2018-03-16 07:43:48 +05:30
Maneesh Gupta
4f42ee762d
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/hip commit: 1ba06f63c4 ]
2018-03-12 11:29:03 +05:30
Rahul Garg
1698505e96
Set offset value to 0
...
[ROCm/hip commit: b62a8d2ba0 ]
2018-03-11 00:12:22 +05:30
Rahul Garg
299c873e1a
Added support for
...
- 3D texture driver APIs
- hipMalloc3D
- hipMemcpy3D for destination other than array
[ROCm/hip commit: 115c7f2b79 ]
2017-12-05 14:11:13 +05:30
Rahul Garg
13879387e5
Fixed review comments
...
[ROCm/hip commit: 56862b1c35 ]
2017-11-21 21:19:06 +05:30
Rahul Garg
e5aae56998
Removed redundant desc variable
...
[ROCm/hip commit: ae1eb7a03a ]
2017-11-15 18:28:27 +05:30
Rahul Garg
58b37dce5f
-Fixed texture driver API sample
...
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs
[ROCm/hip commit: 4b19c2aa0c ]
2017-11-15 18:23:28 +05:30
Rahul Garg
0263292087
Texture code reorganized
...
[ROCm/hip commit: 63680edd30 ]
2017-11-14 11:09:35 +05:30
Rahul Garg
49a2c6468e
Texture driver APIs support
...
[ROCm/hip commit: ef09c4918d ]
2017-11-09 22:10:55 +05:30
Rahul Garg
8c67dd3b2e
Fixed hipTexture fetch issue
...
[ROCm/hip commit: 9929e8e717 ]
2017-09-25 06:54:29 +05:30
Weixing Zhang
65bec11393
HIP Texture Support
...
[ROCm/hip commit: e671cec367 ]
2017-07-17 15:16:12 -04:00