summaryrefslogtreecommitdiff
path: root/pca.h
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2023-02-09 09:36:19 +1100
committerJustin Bedo <cu@cua0.org>2023-02-09 10:09:47 +1100
commit42edc4f3b5dcd460aef75af536ee541c975b0e8b (patch)
tree39e6ac6058359de876d19830664fc91ed3cd8878 /pca.h
parent12d46be8c70205662d96fc26aee19fba06fd7ddf (diff)
allow setting number of iterations for optimiser
Diffstat (limited to 'pca.h')
-rw-r--r--pca.h4
1 files changed, 1 insertions, 3 deletions
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);