Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* File to resolve symbol when programming
*/
#ifndef _FUTHARK_H_
#define _FUTHARK_H_
struct futhark_context;
struct futhark_u8_1d;
struct futhark_u8_1d *futhark_new_u8_1d(struct futhark_context *ctx, const
uint8_t *data, int64_t dim0);
int futhark_free_u8_1d(struct futhark_context *ctx, struct futhark_u8_1d *arr);
int futhark_values_u8_1d(struct futhark_context *ctx, struct futhark_u8_1d *arr,
uint8_t *data);
int futhark_entry_get_envelope_1d(struct futhark_context *ctx,
struct futhark_u8_1d **out0,
struct futhark_u8_1d **out1, const
struct futhark_u8_1d *in0, const int64_t in1);
int futhark_entry_get_envelope_2d(struct futhark_context *ctx,
struct futhark_u8_2d **out0,
struct futhark_u8_2d **out1,
struct futhark_u8_2d **out2,
struct futhark_u8_2d **out3,
struct futhark_u8_2d **out4,
struct futhark_u8_2d **out5,
struct futhark_u8_2d **out6,
struct futhark_u8_2d **out7, const
struct futhark_u8_2d *in0, const int64_t in1,
const int64_t in2);
struct futhark_u8_1d *futhark_new_u8_1d(struct futhark_context *ctx, const uint8_t *data, int64_t dim0);
struct futhark_u8_2d;
struct futhark_u8_2d *futhark_new_u8_2d(struct futhark_context *ctx, const
uint8_t *data, int64_t dim0, int64_t dim1);
int futhark_free_u8_2d(struct futhark_context *ctx, struct futhark_u8_2d *arr);
int futhark_values_u8_2d(struct futhark_context *ctx, struct futhark_u8_2d *arr,
uint8_t *data);
int futhark_context_sync(struct futhark_context *ctx);
#endif //_FUTHARK_H_