Commit Graph

37 Commits

Author SHA1 Message Date
Laurent Morichetti 2cf3257795 Merge branch 'master' into amd-master-next
Change-Id: Ibb7775e7acd263d2ece40a241517bbd15976fdd4
2020-02-12 00:14:07 -08:00
Payam e4e8c4b74b Excluding vdi platform for now from the following tests so we can build
Change-Id: I651255c2515a62c8bdfdd17a3ac85c3d66a5761b
2020-02-07 02:16:05 -05:00
vsytch ef514eef71 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>
2020-02-05 20:56:17 +05:30
jujiang-del 3684ef813d [dtest] Avoid resViewDesc for non-array resource in texture creation (#1823) 2020-01-30 14:04:41 -08:00
Rahul Garg a5d7e7d8d3 Add hipBindTexture2D on NVCC path (#1773) 2020-01-06 12:33:50 +05:30
Rahul Garg e39d7497ec Fix gcc build on NVCC path (#1661)
* Fix gcc build on NVCC path

* Fix CI build errors

* [dtest] Fix texture and surface obj2D tests
2019-11-18 12:19:22 +05:30
ansurya e07926ce0f 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
2019-11-07 13:17:46 +05:30
Anusha Godavarthy Surya d5b1e887e9 Added unbind texture to samples and tests 2019-10-15 11:34:15 +05:30
Anusha Godavarthy Surya af5f195e46 Fix undefine ref to hipUbindTexture for texture types 2019-10-09 16:26:06 +05:30
ansurya 0f0b60f57d Testcase to validate signed/unsigned char,short as normalized float (#1267)
* Testcase to validate signed/unsigned char,short as normalized float

* corrected test_common.cpp file path
2019-07-31 05:02:35 +00:00
Yaxun (Sam) Liu 85c3b903df Add __hip_pinned_shadow__ for hip-clang and fix texture reference tests (#1200) 2019-07-03 08:51:59 +00:00
Maneesh Gupta 9f2d1453fb [hit] Rename RUN -> TEST & RUN_NAMED -> TEST_NAMED
Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
2019-05-09 09:59:18 +05:30
Rahul Garg 8da3a96f2b Fixed get alignment offset test for NVCC
- Removed dtest hipGetAlgntoffset2D.cpp
- hipGetTextureAlignmentOffset is being tested now in hipBindTexRef1DFetch.cpp
2018-09-18 14:10:03 +05:30
lthakur 26f944b1c1 Added offset value verification.
Added offset value verification.
2018-08-01 10:41:30 +05:30
lthakur e2eeee29da Update hipGetChanDesc.cpp
Removed bool variable 'testResult' from global scope and confined it to the function.
2018-07-17 13:40:54 +05:30
lthakur a185e8c1f9 Update hipGetAlgntoffset2D.cpp
Removed unwanted space.
2018-07-17 13:37:08 +05:30
lthakur feaa30076e Update hipGetAlgntoffset2D.cpp
Removed bool variable 'testResult' from global scope and confined it to the function.
2018-07-17 13:35:22 +05:30
lthakur fa36c49c81 Removed unused ,chan_test, variable. 2018-07-17 10:32:30 +05:30
lthakur 429046edef Update hipGetChanDesc.cpp 2018-07-11 15:24:00 +05:30
lthakur bfd99f8af7 Update hipGetAlgntoffset2D.cpp 2018-07-11 15:23:21 +05:30
lthakur db437af693 Update hipGetAlgntoffset2D.cpp 2018-07-11 11:54:05 +05:30
lthakur 7057941431 Update hipGetChanDesc.cpp 2018-07-11 11:53:16 +05:30
lthakur add8693c9c Update hipGetAlgntoffset2D.cpp 2018-07-11 11:51:08 +05:30
Lakhan Singh 90c8230cfa Made changes as suggested. 2018-06-15 11:30:02 +05:30
Lakhan Singh de605c0407 [GETandALGN]: Get channel and alignment details 2018-06-12 15:22:05 +05:30
Rahul Garg 5ae6d93526 Fixed texture obj 1Dfetch test 2018-05-30 21:54:51 +05:30
Rahul Garg e8f3381997 Fixed tex1dFetch test 2018-05-30 11:42:01 +05:30
Rahul Garg 7f7a7041a5 Fix runTest return type 2018-05-29 16:18:14 +05:30
Rahul Garg ca156449e2 Fix tex2D tests for result value 2018-05-29 16:03:37 +05:30
lthakur a05ac35ab1 HIP test case for 1D texture fetch (#424) 2018-05-29 14:08:01 +05:30
Rahul Garg 017a6fb059 Remove textureObj kernel argument for HIP/HCC path 2018-03-28 15:36:57 +05:30
Maneesh Gupta 1ba06f63c4 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Ben Sander 0da0426f94 Merge pull request #256 from gargrahul/texture_driver_api_support
Texture driver APIs support
2017-11-27 13:52:39 -06:00
Rahul Garg 04bc5a1d1f Porting guides update for texture APIs usage 2017-11-24 12:00:55 +05:30
Alex Voicu cffd0e14eb This implements the trivial change needed to move back from the hip{Something}_{x, y, z} macros to the natural CUDA syntax of Something.{x, y, z}. This is contained in lines 384-404 in hip_runtime.h. All of the other changes have to do with changing unit tests to use this syntax. The macros are retained for backwards compatibility. 2017-11-19 01:54:12 +00:00
Rahul Garg ce13e4afbf Added HIT block 2017-09-26 11:39:09 +05:30
Rahul Garg 3b7a8fab5b Added Texture 2D object and reference APIs tests 2017-09-26 11:33:23 +05:30