@@ -123,8 +123,9 @@ odla_CreateComputation(odla_computation* computation);
123
123
124
124
\return odla_status
125
125
*/
126
- extern ODLA_API_EXPORT odla_status ODLA_API_CALL odla_CompileComputation (
127
- const odla_computation computation , odla_executable * executable );
126
+ extern ODLA_API_EXPORT odla_status ODLA_API_CALL
127
+ odla_CompileComputation (const odla_computation computation ,
128
+ const odla_device device , odla_executable * executable );
128
129
129
130
//! \brief Load a computation from the file system
130
131
/*!
@@ -135,7 +136,6 @@ extern ODLA_API_EXPORT odla_status ODLA_API_CALL odla_CompileComputation(
135
136
*/
136
137
extern ODLA_API_EXPORT odla_status ODLA_API_CALL odla_LoadComputation (
137
138
odla_resource_location location , odla_computation * computation );
138
-
139
139
//! \brief Store a computation object into the file system
140
140
/*!
141
141
\param location the location of the computation file
@@ -320,17 +320,6 @@ extern ODLA_API_EXPORT odla_status ODLA_API_CALL odla_StoreConstantsArray(
320
320
extern ODLA_API_EXPORT odla_status ODLA_API_CALL
321
321
odla_DestroyConstantsArray (odla_constants_array constants_array );
322
322
323
- //! \brief Create an executable object
324
- /*!
325
- \param executable the pointer to the created executable object
326
- \param context the pointer to the loaded context object
327
- \param computation the pointer to the loaded computation object
328
- \return odla_status
329
- */
330
- extern ODLA_API_EXPORT odla_status ODLA_API_CALL
331
- odla_CreateExecutable (odla_executable * executable , odla_context context ,
332
- odla_computation computation );
333
-
334
323
//! \brief Load an executable from the file system
335
324
/*!
336
325
\param file_name the file name
@@ -342,8 +331,7 @@ odla_CreateExecutable(odla_executable* executable, odla_context context,
342
331
*/
343
332
extern ODLA_API_EXPORT odla_status ODLA_API_CALL
344
333
odla_LoadExecutable (odla_resource_location location , odla_device device ,
345
- odla_executable * executable , odla_context * context ,
346
- odla_computation * computation );
334
+ odla_executable * executable );
347
335
348
336
//! \brief Store an executable object into the file system
349
337
/*!
@@ -358,17 +346,12 @@ odla_StoreExecutable(odla_resource_location, odla_executable executable);
358
346
//! \brief Launch an executable
359
347
/*!
360
348
\param executable the executable object
361
- \param constants_array the constants array object (can be NULL)
362
349
\param context the context object
363
- \param mode the compute mode
364
- \param device the device object
365
350
366
351
\return odla_status
367
352
*/
368
- extern ODLA_API_EXPORT odla_status ODLA_API_CALL odla_LaunchExecutable (
369
- const odla_executable executable ,
370
- const odla_constants_array constants_array , const odla_context context ,
371
- const odla_compute_mode mode , odla_device device );
353
+ extern ODLA_API_EXPORT odla_status ODLA_API_CALL
354
+ odla_LaunchExecutable (odla_executable executable , odla_context context );
372
355
373
356
//! \brief Asynchronously launch an executable
374
357
/*!
0 commit comments