mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-22 12:57:41 -04:00
31 lines
1.1 KiB
C
31 lines
1.1 KiB
C
/***************************************************************************
|
|
*cr
|
|
*cr (C) Copyright 2010 The Board of Trustees of the
|
|
*cr University of Illinois
|
|
*cr All Rights Reserved
|
|
*cr
|
|
***************************************************************************/
|
|
|
|
#ifndef _MAIN_H_
|
|
#define _MAIN_H_
|
|
|
|
/*############################################################################*/
|
|
|
|
typedef struct {
|
|
int nTimeSteps;
|
|
char* resultFilename;
|
|
char* obstacleFilename;
|
|
} MAIN_Param;
|
|
|
|
/*############################################################################*/
|
|
|
|
void MAIN_parseCommandLine( int nArgs, char* arg[], MAIN_Param* param, struct pb_Parameters* );
|
|
void MAIN_printInfo( const MAIN_Param* param );
|
|
void MAIN_initialize( const MAIN_Param* param, const OpenCL_Param* prm );
|
|
int MAIN_finalize( const MAIN_Param* param, const OpenCL_Param* prm );
|
|
|
|
void OpenCL_initialize(struct pb_Parameters*, OpenCL_Param* prm);
|
|
|
|
/*############################################################################*/
|
|
|
|
#endif /* _MAIN_H_ */
|