Commit cc87961b authored by Oliver Bock's avatar Oliver Bock
Browse files

Use MinGW/Windows-compatible formats

parent 31cb1fc5
...@@ -395,7 +395,7 @@ void clFFT_DumpPlan( clFFT_Plan Plan, FILE *file) ...@@ -395,7 +395,7 @@ void clFFT_DumpPlan( clFFT_Plan Plan, FILE *file)
{ {
cl_int s = 1; cl_int s = 1;
getKernelWorkDimensions(plan, kInfo, &s, &gDim, &lDim); getKernelWorkDimensions(plan, kInfo, &s, &gDim, &lDim);
fprintf(out, "Run kernel %s with global dim = {%zd*BatchSize}, local dim={%zd}\n", kInfo->kernel_name, gDim, lDim); fprintf(out, "Run kernel %s with global dim = {%lu*BatchSize}, local dim={%lu}\n", kInfo->kernel_name, (unsigned long)gDim, (unsigned long)lDim);
kInfo = kInfo->next; kInfo = kInfo->next;
} }
fprintf(out, "%s\n", plan->kernel_string->c_str()); fprintf(out, "%s\n", plan->kernel_string->c_str());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment