Initialize hip when single kernel is called

This commit is contained in:
Aditya Atluri committed 2016-03-02 08:08:45 -06:00
1 parent 831fa31eea
commit 5efc4ce08a
2 files changed
+9

No files matched your search

+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();
}