Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spoc.Vector.vcomplex32 not working #40

Closed
richardalligier opened this issue Mar 3, 2017 · 0 comments
Closed

Spoc.Vector.vcomplex32 not working #40

richardalligier opened this issue Mar 3, 2017 · 0 comments
Assignees
Labels

Comments

@richardalligier
Copy link
Contributor

richardalligier commented Mar 3, 2017

Hi,

I want to replace the point Spoc.Vector.vcustom by a vector of complex32 in the CustomPi.ml sample..When I add this line:

kernel gpuPi_complex : Spoc.Vector.vcomplex32 -> Spoc.Vector.vint32 -> int -> float -> unit = "kernels/CustomPi" "pi"

I have the following error:

Error: This variant pattern is expected to have type
         ('a, 'b) Spoc.Kernel.kernelArgs
       The constructor VComplex32  does not belong to type Spoc.Kernel.kernelArgs
Hint: Did you mean VComplex32?
../common/Makefile:38: recipe for target 'CustomPi.asm' failed 

I didn't find how to do solve this error.

Thanks for your help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants