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