PLASMA
Parallel Linear Algebra Software for Multicore Architectures
plasma_workspace.h
1 
10 #ifndef ICL_PLASMA_WORKSPACE_H
11 #define ICL_PLASMA_WORKSPACE_H
12 
13 #include "plasma_types.h"
14 
15 #include <stdlib.h>
16 #include <assert.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 typedef struct {
23  void **spaces;
24  size_t lworkspace;
25  int nthread;
26  plasma_enum_t dtyp;
27 } plasma_workspace_t;
28 
29 /******************************************************************************/
30 int plasma_workspace_create(plasma_workspace_t *workspace, size_t lworkspace,
31  plasma_enum_t dtyp);
32 
33 int plasma_workspace_destroy(plasma_workspace_t *workspace);
34 
35 #ifdef __cplusplus
36 } // extern "C"
37 #endif
38 
39 #endif // ICL_PLASMA_WORKSPACE_H