Revision 463 branches/gpu/newfmin.cpp

newfmin.cpp (revision 463)
612 612
      ret=pocl->LoadKernelSource("bfg2.cl");
613 613
      if (ret)
614 614
        cerr << "Error trying to load Kernel source  GPU" << endl;
615
      ret=pocl->CreateBuffers(nv);
615
      ret=pocl->CreateBuffers(nv,n);
616 616
      if (ret)
617 617
        cerr << "Error trying to create buffers on GPU" << endl;
618 618
      ret=pocl->CreateKernels();

Also available in: Unified diff