ROCm CI Service Account
5da168300f
SWDEV-339113 - Update sampl codes with correct kernel coordinate ( #2704 )
...
Change-Id: Ibfc0fd285441cd3d79b312d2b739729a039a6f84
2022-06-02 17:07:52 +05:30
ROCm CI Service Account
1a422d9798
SWDEV-331248 - Add more image tests in sample ( #2709 )
...
In samples/2_Cookbook/11_texture_driver, add
Vector data types(char4, short4, int4, float4);
More arithmetic data types(char, short, int);
Change-Id: I54aa482213d340d32cf912601adead0812c2323a
2022-06-02 17:01:14 +05:30
ROCm CI Service Account
5e42fbedfd
SWDEV-334508 - Testing & fix for HIP samples on Linux and Windows. ( #2711 )
...
Change-Id: I6edc0d6dc7ce8f2223381baddacbc5063b6d4983
2022-06-02 17:00:05 +05:30
Maneesh Gupta
e274037cfb
Fix typo in 11_texture_driver sample
2022-05-13 14:05:35 +05:30
ROCm CI Service Account
70ccfa39ad
SWDEV-305992 - Improve texture tests ( #2646 )
...
Enable more texture supports for hip-rocclr.
Skip texture tests on device that doesn't support images.
SWDEV-322257 - Fix issues of image tests skipped on
NVidia devices.
Change-Id: Ia99d06b1e97fc945f1b740e47710f4dcd70f38ca
2022-05-09 08:46:20 -07:00
ansurya
dc06edf44d
SWDEV-287830 - Remove hardcoding of /opt/rocm path from hip samples ( #2391 )
...
Change-Id: I4ffcb4d5afe329377aca63ae0a962c1dc567bfd8
2021-11-25 15:10:15 +05:30
agunashe
e2c6bb5b4e
SWDEV-293742 - Update copyright end year
...
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00
Tao Sang
562282039e
SWDEV-270973 - Add missing copyright headers
...
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
2021-03-01 19:46:24 -05:00
Vladislav Sytchenko
08c35854c0
Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
...
This reverts commit 051c84bba3 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko
051c84bba3
Revert "Merge branch 'amd-master-next' into amd-npi-next"
...
This reverts commit 607ac99389 .
Reason for revert: <INSERT REASONING HERE>
Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721
2020-10-05 13:02:39 -04:00
Tao Sang
5b8651c825
Make samples support cmake
...
Only cmake can support static lib of hip rt.
Thus samples will support static lib of hip
rt when this is done.
Change-Id: I70e8d06e85084369a035b42c5d1d56287c874ac9
2020-09-18 07:37:02 -04:00
Michael LIAO
2ab06b307d
[vdi] Fix texture reference sample.
...
- The driver code should not re-define `tex` again as it's already
defined in the kernel code. Eventually, the driver code should be as
regular C++ code instad of HIP code.
Change-Id: I8c7cab204b98990619d6e7109b990d7089ea9261
2020-04-23 23:41:56 -04:00
Michael LIAO
8ec28891de
[vdi] Refactor texture/surface reference support.
...
Change-Id: I8014d82aae7139ef5f95e4b50c4fc6da200dbc9d
2020-04-21 11:56:48 -04:00
Rahul Garg
67e27b3603
Rename hip/hip_hcc.h to hip/hip_ext.h ( #1341 )
...
* Rename hip/hip_hcc.h to hip/hip_ext.h
* Deprecate hip_hcc.h
2019-11-07 13:17:10 +05:30
Anusha Godavarthy Surya
7cfd70847d
merge from master
2019-10-25 15:52:09 +05:30
Rahul Garg
bee4958708
Add HIP checks in texture driver sample ( #1581 )
2019-10-24 17:45:51 +05:30
kjayapra-amd
26c3b4f985
Use the correct return type in runTest in 11_texture_driver sample. ( #1546 )
...
Fixes SWDEV-203394.
Currently in runTest() returns true, even if the texture reference copy does not happen. Using the existing testResult Flag to return from runTest().
2019-10-16 10:52:15 +05:30
Anusha Godavarthy Surya
fc776424a0
Added unbind texture to samples and tests
2019-10-15 11:34:15 +05:30
Yaxun (Sam) Liu
d9d6374a63
Fix sample 11_texture_driver for hip-clang ( #1370 )
2019-08-29 01:03:20 +00:00
Evgeny Mankov
7a0e0cb50e
[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 Mankov
66c182946e
[HIP][HIPIFY] Make hipMemcpyParam2D coherent with cuMemcpy2D
...
+ Makes hip_Memcpy2D struct compatible with CUDA_MEMCPY2D struct
+ Add hipMemcpyParam2D support in nvcc fallback path
+ Update hipify-clang, tests and docs accordingly
2019-05-22 18:31:39 +03:00
Evgeny Mankov
f5f240744a
[HIP][tests] Copyright notice update
2019-05-20 18:46:23 +03:00
Rahul Garg
dbf1737658
Clean up module api samples
2018-08-08 22:28:13 +05:30
Rahul Garg
bd985285df
Removed hidden args and hipLaunchParm from HIP/HCC path
2018-03-16 22:50:25 +05:30
Rahul Garg
65b2fc4b9b
Change co file name
2018-03-16 12:54:44 +05:30
Rahul Garg
01ee90d564
Fixed function not found issue
2018-03-16 12:35:25 +05:30
Maneesh Gupta
6b09bde675
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg
3d2e40a5df
Changed function hipMemcpy_2D to hipMemcpyParam2D
2017-11-21 12:36:24 +05:30
Rahul Garg
741702888f
Update hipModuleGetTexRef API
2017-11-19 22:10:46 +05:30
Rahul Garg
657aa51d5d
-Fixed texture driver API sample
...
-Added hipTexRefSetAddress and hipTexRefSetAddress2D APIs
2017-11-15 18:23:28 +05:30
Rahul Garg
0fffdeba92
Added texture 2D driver API usage example
2017-11-09 22:35:29 +05:30