diff options
author | Justin Bedo <cu@cua0.org> | 2023-02-09 09:35:55 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2023-02-09 09:36:19 +1100 |
commit | 12d46be8c70205662d96fc26aee19fba06fd7ddf (patch) | |
tree | 1bca999dde086ff020aa56cb6e39d7aa2e3af1af /pca.h | |
parent | d55277694dc2e8317dd4c0ea990a2e2bf41f6d4d (diff) |
switch to multicore version
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 |