Initialize hip when single kernel is called

This commit is contained in:
Aditya Atluri
2016-03-02 08:08:45 -06:00
parent 34e81c57ff
commit ce7ae41d42
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#include"test_common.h"
__global__ void Empty(hipLaunchParm lp, int param){}
int main(){
hipLaunchKernel(HIP_KERNEL_NAME(Empty), dim3(1), dim3(1), 0, 0, 0);
hipDeviceSynchronize();
}