Skip to content

Commit

Permalink
- Rearrange parmodelica includes to the new include structure.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19195 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
mahge committed Feb 19, 2014
1 parent 0a0a6bb commit 2a7e1e2
Show file tree
Hide file tree
Showing 19 changed files with 4,635 additions and 4,571 deletions.
6 changes: 3 additions & 3 deletions Compiler/Template/CodegenC.tpl
Expand Up @@ -4012,7 +4012,7 @@ template simulationParModelicaKernelsFile(String filePrefix, list<Function> func
let()= System.tmpTickResetIndex(0,20) /* parfor index */

<<
#include "OCLRuntimeUtil_new.cl"
#include <ParModelica/explicit/openclrt/OCLRuntimeUtil.cl>

// ParModelica Parallel Function headers.
<%functionHeadersParModelica(filePrefix, functions)%>
Expand All @@ -4034,7 +4034,7 @@ template functionsParModelicaKernelsFile(String filePrefix, Option<Function> mai
let()= System.tmpTickResetIndex(0,20) /* parfor index */

<<
#include "OCLRuntimeUtil_new.cl"
#include <ParModelica/explicit/openclrt/OCLRuntimeUtil.cl>

// ParModelica Parallel Function headers.
<%functionHeadersParModelica(filePrefix, functions)%>
Expand Down Expand Up @@ -4349,7 +4349,7 @@ template commonHeader(String filePrefix)
#include <errno.h>
<%if acceptParModelicaGrammar() then
<<
#include <omc_ocl_interface.h>
#include <ParModelica/explicit/openclrt/omc_ocl_interface.h>
/* the OpenCL Kernels file name needed in libOMOCLRuntime.a */
const char* omc_ocl_kernels_source = "<%filePrefix%>_kernels.cl";
/* the OpenCL program. Made global to avoid repeated builds */
Expand Down
4 changes: 2 additions & 2 deletions Makefile.common
Expand Up @@ -138,11 +138,11 @@ fmiclean:

opencl_rt:
ifeq ("$(OPENCL)","Yes")
$(MAKE) -C SimulationRuntime/ParModelica/OpenCLRuntime -f $(defaultMakefileTarget)
$(MAKE) -C SimulationRuntime/ParModelica/explicit/openclrt -f $(defaultMakefileTarget)
endif

opencl_rt_clean:
$(MAKE) -C SimulationRuntime/ParModelica/OpenCLRuntime -f $(defaultMakefileTarget) clean
$(MAKE) -C SimulationRuntime/ParModelica/explicit/openclrt -f $(defaultMakefileTarget) clean

breakprocess:
(cd testsuite/openmodelica/bootstrapping && time g++ BreakProcess.cpp -o BreakProcess -static-libgcc)
Expand Down
24 changes: 0 additions & 24 deletions SimulationRuntime/ParModelica/OpenCLRuntime/Makefile.in

This file was deleted.

0 comments on commit 2a7e1e2

Please sign in to comment.