From 42edc4f3b5dcd460aef75af536ee541c975b0e8b Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Thu, 9 Feb 2023 09:36:19 +1100 Subject: allow setting number of iterations for optimiser --- pca.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pca.h') diff --git a/pca.h b/pca.h index 93610d5..368b72b 100644 --- a/pca.h +++ b/pca.h @@ -43,9 +43,7 @@ const int64_t *futhark_shape_f64_2d(struct futhark_context *ctx, struct futhark_ // Entry points -int futhark_entry_dloss(struct futhark_context *ctx, struct futhark_f64_2d **out0, struct futhark_f64_2d **out1, const struct futhark_f64_2d *in0, const struct futhark_f64_2d *in1, const struct futhark_f64_2d *in2); -int futhark_entry_loss(struct futhark_context *ctx, double *out0, const struct futhark_f64_2d *in0, const struct futhark_f64_2d *in1, const struct futhark_f64_2d *in2); -int futhark_entry_pcaWithQuantile(struct futhark_context *ctx, struct futhark_f64_2d **out0, struct futhark_f64_2d **out1, struct futhark_f64_2d **out2, double *out3, const double in0, const int64_t in1, const struct futhark_f64_2d *in2); +int futhark_entry_pcaWithQuantile(struct futhark_context *ctx, struct futhark_f64_2d **out0, struct futhark_f64_2d **out1, struct futhark_f64_2d **out2, double *out3, const int32_t in0, const double in1, const int64_t in2, const struct futhark_f64_2d *in3); // Miscellaneous int futhark_context_sync(struct futhark_context *ctx); -- cgit v1.2.3