summaryrefslogtreecommitdiff
path: root/pca.h
diff options
context:
space:
mode:
Diffstat (limited to 'pca.h')
-rw-r--r--pca.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/pca.h b/pca.h
index 368b72b..9c9974c 100644
--- a/pca.h
+++ b/pca.h
@@ -1,4 +1,5 @@
-// Generated by Futhark 0.24.0 (prerelease - include info below when reporting bugs)
+// Generated by Futhark 0.25.17.
+// Compiled with GHC 9.6.5.
#pragma once
@@ -32,7 +33,7 @@ const char *futhark_get_tuning_param_class(int);
// Arrays
struct futhark_f64_2d;
struct futhark_f64_2d *futhark_new_f64_2d(struct futhark_context *ctx, const double *data, int64_t dim0, int64_t dim1);
-struct futhark_f64_2d *futhark_new_raw_f64_2d(struct futhark_context *ctx, const unsigned char *data, int64_t offset, int64_t dim0, int64_t dim1);
+struct futhark_f64_2d *futhark_new_raw_f64_2d(struct futhark_context *ctx, unsigned char *data, int64_t dim0, int64_t dim1);
int futhark_free_f64_2d(struct futhark_context *ctx, struct futhark_f64_2d *arr);
int futhark_values_f64_2d(struct futhark_context *ctx, struct futhark_f64_2d *arr, double *data);
unsigned char *futhark_values_raw_f64_2d(struct futhark_context *ctx, struct futhark_f64_2d *arr);
@@ -48,11 +49,11 @@ int futhark_entry_pcaWithQuantile(struct futhark_context *ctx, struct futhark_f6
// Miscellaneous
int futhark_context_sync(struct futhark_context *ctx);
void futhark_context_config_set_cache_file(struct futhark_context_config *cfg, const char *f);
-char *futhark_context_report(struct futhark_context *ctx);
char *futhark_context_get_error(struct futhark_context *ctx);
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);
+char *futhark_context_report(struct futhark_context *ctx);
int futhark_context_clear_caches(struct futhark_context *ctx);
#define FUTHARK_BACKEND_multicore
#define FUTHARK_SUCCESS 0