AnsweredAssumed Answered

clBuildProgram memory leak?

Question asked by alanbirtles on Jun 9, 2016
Latest reply on Jul 10, 2017 by dipak

The following loop seems to leak around 100K per iteration:

while (true)
{
    cl_int err;
    cl_program clprogram = clCreateProgramWithSource(clContext, 1, sources, lengths, &err);
    err = clBuildProgram(clprogram, 1, &clDevice(), "", 0, 0);
    clReleaseProgram(clprogram);
}

 

I'm using a R9 390 with driver 16.5.3

Outcomes