Vladislav Sytchenko
ac1cc9bacd
Enable simpleTexture2DLayered test for VDI
...
Change-Id: I420f68824c6825152ac50e5a129b11b6ad88deb9
[ROCm/hip commit: 1b288456ae ]
2020-03-17 17:50:46 -04:00
Vladislav Sytchenko
520fe971a9
Enable hipNormalizedFloatValueTex test for VDI
...
Change-Id: Iac8631312f34821d919b69b3fcb92b9387ba31dd
[ROCm/hip commit: a605458a0c ]
2020-03-17 17:50:30 -04:00
Vladislav Sytchenko
ac4378a16a
Rework hipNormalizedFloatValueTex test
...
This is currently so buggy that it causes a runtime crash on Nvidia platfrom...
Disable the new version for hcc and vdi, header fixes are required for it to pass.
Currently tex1D<char, hipTextureType1D, hipReadModeNormalizedFloat> returns a char, when the actual sampled pixel value is a float, so the hi 3 bytes get lost.
Change-Id: I8222a4d8d1d8b101eb43f3f8dfbe4818f885f8ea
[ROCm/hip commit: cc134f7c58 ]
2020-03-17 17:04:17 -04:00
Vladislav Sytchenko
d48472b772
Enable simpleTexture3D test for VDI
...
Change-Id: Ida65de6e1cae64ac97b624eaab1340877a6fba73
[ROCm/hip commit: bfcce529fa ]
2020-03-13 18:34:39 -04:00
jujiang
d745491b17
SWDEV-225337-Fix test failure in hipNormalizedFloatValueTex kernel
...
Change-Id: I3a4c3b58578703993640a8d28242ec1a0ed5ff60
[ROCm/hip commit: 47cc94b1b4 ]
2020-03-09 15:21:29 -04:00
Lad, Aditya
044a1924ba
Merge branch 'master' into amd-master-next
...
Conflicts:
CMakeLists.txt
tests/src/texture/simpleTexture2DLayered.cpp
tests/src/texture/simpleTexture3D.cpp
Change-Id: I4aa4754d391b5f37ddf15fa0bcfc84d9da020119
[ROCm/hip commit: d80edf9541 ]
2020-03-06 14:10:44 -05:00
jujiang
127e56e482
SWDEV-225338-simpletexture3D failed-Fix bug in test app
...
Change-Id: I106d1951368e0c7a8ccd6aa462c22f81e8332cdc
[ROCm/hip commit: c5aa54cbd2 ]
2020-03-05 16:50:27 -05:00
agodavar
de0b92948e
Enable tests that are passing on hip-vdi
...
Change-Id: I7de965f7e8bb7e4d0fa61cd584f0cd118c1e212e
[ROCm/hip commit: 65ffaf82d8 ]
2020-03-05 16:08:51 +05:30
Vladislav Sytchenko
84239a7b10
Reeanble texture tests for VDI
...
Enable hipBindTex2DPitch and hipBindTexRef1DFetch
Change-Id: I36a3252e25d1ed844967ec117e1f1951004cba11
[ROCm/hip commit: 9217b1ca70 ]
2020-02-24 15:24:00 -05:00
agodavar
a4138dbe3d
HIP-HCC + Clang fix failing texture tests(SWDEV-223622)
...
Change-Id: I1c0a7059c6bba1ea2e39dc6634b32d006c07d1f5
[ROCm/hip commit: 9c61a08d25 ]
2020-02-19 07:03:57 -05:00
Rahul Garg
f1746197c7
Fix hipMemcpy3D ( #1798 )
...
Fixes #1790 and #1791 . hipMemcpy3D still requires further refactoring for different input and output combinations.
[ROCm/hip commit: 8c5e5e435b ]
2020-02-17 19:35:35 +05:30
vsytch
cf57b45f3c
Add missing __hip_pinned_shadow__ attributes to the texture global vars. ( #1866 )
...
[ROCm/hip commit: 56b8b0d80e ]
2020-02-15 09:52:25 +05:30
Laurent Morichetti
471b697a05
Merge branch 'master' into amd-master-next
...
Change-Id: Ibb7775e7acd263d2ece40a241517bbd15976fdd4
[ROCm/hip commit: 2cf3257795 ]
2020-02-12 00:14:07 -08:00
Payam
5cf8d742cb
Excluding vdi platform for now from the following tests so we can build
...
Change-Id: I651255c2515a62c8bdfdd17a3ac85c3d66a5761b
[ROCm/hip commit: e4e8c4b74b ]
2020-02-07 02:16:05 -05: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
jujiang-del
61156d3b2d
[dtest] Avoid resViewDesc for non-array resource in texture creation ( #1823 )
...
[ROCm/hip commit: 3684ef813d ]
2020-01-30 14:04:41 -08:00
Rahul Garg
327a45b18b
Add hipBindTexture2D on NVCC path ( #1773 )
...
[ROCm/hip commit: a5d7e7d8d3 ]
2020-01-06 12:33:50 +05:30
Rahul Garg
ecdba45d29
Fix gcc build on NVCC path ( #1661 )
...
* Fix gcc build on NVCC path
* Fix CI build errors
* [dtest] Fix texture and surface obj2D tests
[ROCm/hip commit: e39d7497ec ]
2019-11-18 12:19:22 +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
e74d2cff3f
Added unbind texture to samples and tests
...
[ROCm/hip commit: d5b1e887e9 ]
2019-10-15 11:34:15 +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
ansurya
1aee311e6a
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
[ROCm/hip commit: 0f0b60f57d ]
2019-07-31 05:02:35 +00:00
Yaxun (Sam) Liu
4d2f0de651
Add __hip_pinned_shadow__ for hip-clang and fix texture reference tests ( #1200 )
...
[ROCm/hip commit: 85c3b903df ]
2019-07-03 08:51:59 +00:00
Maneesh Gupta
fa07d40cdd
[hit] Rename RUN -> TEST & RUN_NAMED -> TEST_NAMED
...
Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
[ROCm/hip commit: 9f2d1453fb ]
2019-05-09 09:59:18 +05:30
Rahul Garg
67463a8f8d
Fixed get alignment offset test for NVCC
...
- Removed dtest hipGetAlgntoffset2D.cpp
- hipGetTextureAlignmentOffset is being tested now in hipBindTexRef1DFetch.cpp
[ROCm/hip commit: 8da3a96f2b ]
2018-09-18 14:10:03 +05:30
lthakur
a210507dcb
Added offset value verification.
...
Added offset value verification.
[ROCm/hip commit: 26f944b1c1 ]
2018-08-01 10:41:30 +05:30
lthakur
155ab81b8c
Update hipGetChanDesc.cpp
...
Removed bool variable 'testResult' from global scope and confined it to the function.
[ROCm/hip commit: e2eeee29da ]
2018-07-17 13:40:54 +05:30
lthakur
542f72738a
Update hipGetAlgntoffset2D.cpp
...
Removed unwanted space.
[ROCm/hip commit: a185e8c1f9 ]
2018-07-17 13:37:08 +05:30
lthakur
1cc64ab8d3
Update hipGetAlgntoffset2D.cpp
...
Removed bool variable 'testResult' from global scope and confined it to the function.
[ROCm/hip commit: feaa30076e ]
2018-07-17 13:35:22 +05:30
lthakur
af7d818063
Removed unused ,chan_test, variable.
...
[ROCm/hip commit: fa36c49c81 ]
2018-07-17 10:32:30 +05:30
lthakur
7fe46338d3
Update hipGetChanDesc.cpp
...
[ROCm/hip commit: 429046edef ]
2018-07-11 15:24:00 +05:30
lthakur
a5228f64e5
Update hipGetAlgntoffset2D.cpp
...
[ROCm/hip commit: bfd99f8af7 ]
2018-07-11 15:23:21 +05:30
lthakur
0aa1d295de
Update hipGetAlgntoffset2D.cpp
...
[ROCm/hip commit: db437af693 ]
2018-07-11 11:54:05 +05:30
lthakur
ce44c86a88
Update hipGetChanDesc.cpp
...
[ROCm/hip commit: 7057941431 ]
2018-07-11 11:53:16 +05:30
lthakur
f2472ad6b0
Update hipGetAlgntoffset2D.cpp
...
[ROCm/hip commit: add8693c9c ]
2018-07-11 11:51:08 +05:30
Lakhan Singh
093eedea5e
Made changes as suggested.
...
[ROCm/hip commit: 90c8230cfa ]
2018-06-15 11:30:02 +05:30
Lakhan Singh
f1b844f51e
[GETandALGN]: Get channel and alignment details
...
[ROCm/hip commit: de605c0407 ]
2018-06-12 15:22:05 +05:30
Rahul Garg
c7d6ef2219
Fixed texture obj 1Dfetch test
...
[ROCm/hip commit: 5ae6d93526 ]
2018-05-30 21:54:51 +05:30
Rahul Garg
d2e80db680
Fixed tex1dFetch test
...
[ROCm/hip commit: e8f3381997 ]
2018-05-30 11:42:01 +05:30
Rahul Garg
ecf51641e3
Fix runTest return type
...
[ROCm/hip commit: 7f7a7041a5 ]
2018-05-29 16:18:14 +05:30
Rahul Garg
56de4b168d
Fix tex2D tests for result value
...
[ROCm/hip commit: ca156449e2 ]
2018-05-29 16:03:37 +05:30
lthakur
d5039612f8
HIP test case for 1D texture fetch ( #424 )
...
[ROCm/hip commit: a05ac35ab1 ]
2018-05-29 14:08:01 +05:30
Rahul Garg
af57c166c0
Remove textureObj kernel argument for HIP/HCC path
...
[ROCm/hip commit: 017a6fb059 ]
2018-03-28 15:36:57 +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
Ben Sander
d31ef2b462
Merge pull request #256 from gargrahul/texture_driver_api_support
...
Texture driver APIs support
[ROCm/hip commit: 0da0426f94 ]
2017-11-27 13:52:39 -06:00
Rahul Garg
da1e6b14f5
Porting guides update for texture APIs usage
...
[ROCm/hip commit: 04bc5a1d1f ]
2017-11-24 12:00:55 +05:30
Alex Voicu
962bf7bfda
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.
...
[ROCm/hip commit: cffd0e14eb ]
2017-11-19 01:54:12 +00:00
Rahul Garg
5c9132056f
Added HIT block
...
[ROCm/hip commit: ce13e4afbf ]
2017-09-26 11:39:09 +05:30
Rahul Garg
990f85120a
Added Texture 2D object and reference APIs tests
...
[ROCm/hip commit: 3b7a8fab5b ]
2017-09-26 11:33:23 +05:30