Add more debug info

[ROCm/hip-tests commit: c590cd6865]
这个提交包含在:
Ben Sander 于 2016-11-26 08:56:02 -06:00 提交
1 父节点 8f869865b2
当前提交 83ab39c044
20 个文件已更改
+1911

没有与搜索条件相匹配的文件

@@ -0,0 +1,21 @@
#include <hip/hip_runtime.h>
static const int BLOCKSIZEX=32;
static const int BLOCKSIZEY=16;
__global__ void fails(hipLaunchParm lp, float* pErrorI)
{
if(pErrorI!=0)
{
pErrorI[0]=1;
}
}
int main()
{
dim3 blocks(1,1);
dim3 threads(BLOCKSIZEX,BLOCKSIZEY);
float error;
hipLaunchKernel(HIP_KERNEL_NAME(fails), blocks, threads, 0, 0, &error);
}