From 6d3684d1b32087b385bebce9ea0fa22cb522ab21 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Thu, 20 Jun 2024 17:08:56 +1000 Subject: update futhark --- pca.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pca.h') 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 -- cgit v1.2.3