Add __hip_pinned_shadow__ for texture
Add missing __hip_pinned_shadow__ for texture in tex2d_kernel test. Change-Id: Iefc96084fec8f84a1d1bb979998ffb95b4011f0b
这个提交包含在:
1 父节点
f740e93578
当前提交
ed56e605d4
1 个文件已更改
+4
@@ -26,6 +26,10 @@ THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "hip/hip_runtime.h"
|
||||
|
||||
#if __HIP__
|
||||
__hip_pinned_shadow__
|
||||
#endif
|
||||
extern texture<float, 2, hipReadModeElementType> tex;
|
||||
|
||||
extern "C" __global__ void tex2dKernel(float* outputData, int width, int height) {
|
||||
|
||||
在新工单中引用
屏蔽一个用户