cornell-zhang / heterocl

HeteroCL: A Multi-Paradigm Programming Infrastructure for Software-Defined Heterogeneous Computing
https://cornell-zhang.github.io/heterocl/
Apache License 2.0
322 stars 92 forks source link

Kmeans example: provided host program declares wrong kernel function #177

Open hecmay opened 4 years ago

hecmay commented 4 years ago

The kernel function declaration in host program (the output label array is missing):

void default_function(int* X0, int* centers0);

The kernel function generated by HeteroCL:

void default_function(int* placeholder2, int* placeholder3, int* compute3)

This case is not covered by the auto-testing on CircleCI.

seanlatias commented 4 years ago

@Hecmay is this bug still there?