Tao Sang
8a2b0b7424
Remove hip-hcc codes: Part three
...
1.Rename include/hip/hcc_detail/ as include/hip/amd_detail/
2.Rename include/hip/nvcc_detail/ as include/hip/nvidia_detail/
3.Create __HIP_PLATFORM_AMD__ to replace __HIP_PLATFORM_HCC__
4.Create __HIP_PLATFORM_NVIDIA__ to replace __HIP_PLATFORM_NVCC__
After hcc_detail, nvcc_detail, __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__
have been removed from upstream, they will be removed from hip runtime.
Change-Id: I1ae457effd739d6c25bca203c1724b026be21fce
2021-01-05 10:39:31 -05:00
agodavar
8717a78bf7
cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
...
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839
2020-10-21 07:26:14 -04:00
Vlad Sytchenko
6be1b7ce2b
Merge branch 'amd-master-next' into amd-npi-next
...
Change-Id: Id241c60d6c2ceb4049c3ec15d9fe06baf28bcb3a
2020-07-20 09:49:15 -04:00
Sarbojit Sarkar
9ba3732180
host pointer check [SWDEV-243104, SWDEV-243206]
...
Change-Id: Id58dabfe5c35e5f8e42d224e700a431a4a97d003
2020-07-14 07:16:12 -04:00
Vlad Sytchenko
e356f5ff85
Disable failing texture tests
...
Change-Id: I2fd8ae2ac8c7494911149023c2102025443b7fbd
2020-06-26 14:05:24 -04:00
Vlad Sytchenko
355661b5da
Reenable texture reference tests
...
Change-Id: I77024476cff77951d61dc48f7e30094d6b47266c
2020-05-22 14:13:50 -04:00
Payam
dba0e72de2
name change vdi to rocclr
...
Change-Id: I06d198bbb4a499e153b290b73a92afed3553b252
2020-05-06 09:14:30 -04:00
root
b5031f39b1
Merge master into amd-master-next
...
Change-Id: I3fc1dc0c860d627053537581e75561e8a7efe327
2020-04-26 22:19:37 +00:00
Maneesh Gupta
f2e1118d7a
Merge in the rocclr based hip runtime ( #2032 )
...
* Merge master-next changes in master (include vdi development in master branch)
2020-04-23 09:12:06 -07:00
Michael LIAO
441284841d
[vdi] Refactor texture/surface reference support.
...
Change-Id: I8014d82aae7139ef5f95e4b50c4fc6da200dbc9d
2020-04-21 11:56:48 -04:00
Maneesh Gupta
d02eb22c63
Merge "Merge branch 'amd-master' into amd-master-next" into amd-master-next
2020-04-10 01:11:03 -04:00
Vladislav Sytchenko
b291104e7d
Disable all texture tests for VDI
...
Latest llvm already includes the texture/surface rework, but appropriate runtime changes have not been submitted.
Disable all texture related tests until http://gerrit-git.amd.com/c/compute/ec/hip/+/342147 is submitted.
Change-Id: I359c2eac6becdd3ca5110f2140679bd29d8ae54b
2020-04-09 14:02:40 -04:00
Maneesh Gupta
0ea6697192
Merge branch 'amd-master' into amd-master-next
...
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b
2020-04-09 06:31:00 -04:00
ansurya
68f1b814b1
tex1Dfetch behaviour for different address mode and filter mode ( #1772 )
...
Fixes github issue: #1754
- When ResourceDesc::resType is hipResourceTypeLinear ignore address mode and filter mode.
- When textureDesc::normalizedCoords is set to zero, AddressModeWrap and AddressModeMirror won't be supported and will be switched to AddressModeClamp.
2020-04-01 12:10:17 +05:30
Vladislav Sytchenko
3150e1ef8d
Enable simpleTexture2DLayered test for VDI
...
Change-Id: I420f68824c6825152ac50e5a129b11b6ad88deb9
2020-03-17 17:50:46 -04:00
Vladislav Sytchenko
8d01fad7ef
Enable hipNormalizedFloatValueTex test for VDI
...
Change-Id: Iac8631312f34821d919b69b3fcb92b9387ba31dd
2020-03-17 17:50:30 -04:00
Vladislav Sytchenko
3abd89925a
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
2020-03-17 17:04:17 -04:00
Vladislav Sytchenko
dafed1a009
Enable simpleTexture3D test for VDI
...
Change-Id: Ida65de6e1cae64ac97b624eaab1340877a6fba73
2020-03-13 18:34:39 -04:00
jujiang
09d442d7c3
SWDEV-225337-Fix test failure in hipNormalizedFloatValueTex kernel
...
Change-Id: I3a4c3b58578703993640a8d28242ec1a0ed5ff60
2020-03-09 15:21:29 -04:00
Lad, Aditya
e7fdb3d796
Merge branch 'master' into amd-master-next
...
Conflicts:
CMakeLists.txt
tests/src/texture/simpleTexture2DLayered.cpp
tests/src/texture/simpleTexture3D.cpp
Change-Id: I4aa4754d391b5f37ddf15fa0bcfc84d9da020119
2020-03-06 14:10:44 -05:00
jujiang
75c90a4bf1
SWDEV-225338-simpletexture3D failed-Fix bug in test app
...
Change-Id: I106d1951368e0c7a8ccd6aa462c22f81e8332cdc
2020-03-05 16:50:27 -05:00
agodavar
f360ff6479
Enable tests that are passing on hip-vdi
...
Change-Id: I7de965f7e8bb7e4d0fa61cd584f0cd118c1e212e
2020-03-05 16:08:51 +05:30
Vladislav Sytchenko
b1d2e581ff
Reeanble texture tests for VDI
...
Enable hipBindTex2DPitch and hipBindTexRef1DFetch
Change-Id: I36a3252e25d1ed844967ec117e1f1951004cba11
2020-02-24 15:24:00 -05:00
agodavar
63c1d28a4b
HIP-HCC + Clang fix failing texture tests(SWDEV-223622)
...
Change-Id: I1c0a7059c6bba1ea2e39dc6634b32d006c07d1f5
2020-02-19 07:03:57 -05:00
Rahul Garg
ec84c16d75
Fix hipMemcpy3D ( #1798 )
...
Fixes #1790 and #1791 . hipMemcpy3D still requires further refactoring for different input and output combinations.
2020-02-17 19:35:35 +05:30
vsytch
5afe43b1aa
Add missing __hip_pinned_shadow__ attributes to the texture global vars. ( #1866 )
2020-02-15 09:52:25 +05:30
Laurent Morichetti
9b3e214952
Merge branch 'master' into amd-master-next
...
Change-Id: Ibb7775e7acd263d2ece40a241517bbd15976fdd4
2020-02-12 00:14:07 -08:00
Payam
141aa8e5dc
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
fa363ae721
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
cb632005bc
[dtest] Avoid resViewDesc for non-array resource in texture creation ( #1823 )
2020-01-30 14:04:41 -08:00
Rahul Garg
534376cb41
Add hipBindTexture2D on NVCC path ( #1773 )
2020-01-06 12:33:50 +05:30
Rahul Garg
ff31f734fe
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
dc8f556460
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
20cfe17805
Added unbind texture to samples and tests
2019-10-15 11:34:15 +05:30
Anusha Godavarthy Surya
a5d9f56bef
Fix undefine ref to hipUbindTexture for texture types
2019-10-09 16:26:06 +05:30
ansurya
440c5f1677
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
3169f3a881
Add __hip_pinned_shadow__ for hip-clang and fix texture reference tests ( #1200 )
2019-07-03 08:51:59 +00:00
Maneesh Gupta
53dd1df3fa
[hit] Rename RUN -> TEST & RUN_NAMED -> TEST_NAMED
...
Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
2019-05-09 09:59:18 +05:30
Rahul Garg
c878d9cde4
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
b7a4b2c300
Added offset value verification.
...
Added offset value verification.
2018-08-01 10:41:30 +05:30
lthakur
cac0f2cc95
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
9f8d41df13
Update hipGetAlgntoffset2D.cpp
...
Removed unwanted space.
2018-07-17 13:37:08 +05:30
lthakur
7b6da4453b
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
c2b508abfe
Removed unused ,chan_test, variable.
2018-07-17 10:32:30 +05:30
lthakur
7003fe76f2
Update hipGetChanDesc.cpp
2018-07-11 15:24:00 +05:30
lthakur
d395531f47
Update hipGetAlgntoffset2D.cpp
2018-07-11 15:23:21 +05:30
lthakur
d8b5f60e12
Update hipGetAlgntoffset2D.cpp
2018-07-11 11:54:05 +05:30
lthakur
5ba01d5033
Update hipGetChanDesc.cpp
2018-07-11 11:53:16 +05:30
lthakur
b3b198f745
Update hipGetAlgntoffset2D.cpp
2018-07-11 11:51:08 +05:30
Lakhan Singh
936b878d72
Made changes as suggested.
2018-06-15 11:30:02 +05:30