Browse Source

Fix kernel initialization

Sylvain Henry 12 years ago
parent
commit
96c77519d6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      socl/src/cl_createkernel.c

+ 1 - 0
socl/src/cl_createkernel.c

@@ -142,6 +142,7 @@ soclCreateKernel(cl_program    program,
    k->split_func = NULL;
    k->split_space = 0;
    k->split_data = NULL;
+   k->split_perfs = NULL;
    pthread_mutex_init(&k->split_lock, NULL);
 
    #ifdef DEBUG