Michael LIAO
5a2ad708ea
[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
[ROCm/hip commit: 74ba25602b ]
2020-04-23 23:41:56 -04:00
Michael LIAO
c11c159905
[vdi] Refactor texture/surface reference support.
...
Change-Id: I8014d82aae7139ef5f95e4b50c4fc6da200dbc9d
[ROCm/hip commit: 16d9fe5e37 ]
2020-04-21 11:56:48 -04:00
Rahul Garg
6968362d99
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
[ROCm/hip commit: 579a4f36fa ]
2019-11-07 13:17:10 +05:30
Anusha Godavarthy Surya
196bdea9c0
merge from master
...
[ROCm/hip commit: 5f47e99ffe ]
2019-10-25 15:52:09 +05:30
Rahul Garg
9e0f66daec
Add HIP checks in texture driver sample ( #1581 )
...
[ROCm/hip commit: 04e10814d8 ]
2019-10-24 17:45:51 +05:30
kjayapra-amd
c6fd681dd5
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().
[ROCm/hip commit: fbb98f4950 ]
2019-10-16 10:52:15 +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
Yaxun (Sam) Liu
a795928420
Fix sample 11_texture_driver for hip-clang ( #1370 )
...
[ROCm/hip commit: c404312ffe ]
2019-08-29 01:03:20 +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 Mankov
cd309b6638
[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
[ROCm/hip commit: 8f059b0ee9 ]
2019-05-22 18:31:39 +03:00
Evgeny Mankov
a6e82d8254
[HIP][tests] Copyright notice update
...
[ROCm/hip commit: c9af61e9d1 ]
2019-05-20 18:46:23 +03:00
Rahul Garg
3bae902cae
Clean up module api samples
...
[ROCm/hip commit: 8f0d684988 ]
2018-08-08 22:28:13 +05:30
Rahul Garg
64e391d605
Removed hidden args and hipLaunchParm from HIP/HCC path
...
[ROCm/hip commit: ed2d4ddfc7 ]
2018-03-16 22:50:25 +05:30
Rahul Garg
49c076690c
Change co file name
...
[ROCm/hip commit: be25556aed ]
2018-03-16 12:54:44 +05:30
Rahul Garg
9097b1b2df
Fixed function not found issue
...
[ROCm/hip commit: a1b608bf0d ]
2018-03-16 12:35:25 +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
03552f2e94
Changed function hipMemcpy_2D to hipMemcpyParam2D
...
[ROCm/hip commit: 9866fa250d ]
2017-11-21 12:36:24 +05:30
Rahul Garg
62f20c6dc8
Update hipModuleGetTexRef API
...
[ROCm/hip commit: c7d60a7a75 ]
2017-11-19 22:10:46 +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
2315ba55d6
Added texture 2D driver API usage example
...
[ROCm/hip commit: 68cc7766c6 ]
2017-11-09 22:35:29 +05:30