Skip to content

Commit

Permalink
- Some simulations start working again after ocl commit
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12482 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Aug 12, 2012
1 parent a2e3906 commit ebff3f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/Template/CodegenC.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2223,8 +2223,8 @@ template simulationFunctionsFile(String filePrefix, list<Function> functions, li
extern "C" {
#endif
//the OpenCL program. Made global to avoid repeated builds
cl_program ocl_kernels_program = ocl_build_p_from_src("<%filePrefix%>_kernels.cl", true);
/* the OpenCL program. Made global to avoid repeated builds
cl_program ocl_kernels_program = ocl_build_p_from_src("<%filePrefix%>_kernels.cl", true); */
<%literals |> literal hasindex i0 fromindex 0 => literalExpConst(literal,i0) ; separator="\n"%>
<%functionBodies(functions)%>
Expand Down

0 comments on commit ebff3f7

Please sign in to comment.