diff options
Diffstat (limited to 'pca.h')
-rw-r--r-- | pca.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ int futhark_context_config_set_tuning_param(struct futhark_context_config *cfg, struct futhark_context; struct futhark_context *futhark_context_new(struct futhark_context_config *cfg); void futhark_context_free(struct futhark_context *cfg); +void futhark_context_config_set_num_threads(struct futhark_context_config *cfg, int n); void futhark_context_config_set_debugging(struct futhark_context_config *cfg, int flag); void futhark_context_config_set_profiling(struct futhark_context_config *cfg, int flag); void futhark_context_config_set_logging(struct futhark_context_config *cfg, int flag); @@ -55,7 +56,7 @@ void futhark_context_set_logging_file(struct futhark_context *ctx, FILE *f); void futhark_context_pause_profiling(struct futhark_context *ctx); void futhark_context_unpause_profiling(struct futhark_context *ctx); int futhark_context_clear_caches(struct futhark_context *ctx); -#define FUTHARK_BACKEND_c +#define FUTHARK_BACKEND_multicore #define FUTHARK_SUCCESS 0 #define FUTHARK_PROGRAM_ERROR 2 #define FUTHARK_OUT_OF_MEMORY 3 |