KernelAbstractions.jl icon indicating copy to clipboard operation
KernelAbstractions.jl copied to clipboard

MAX support?

Open ManuelCostanzo opened this issue 1 year ago • 1 comments

Hi! Thank you very much for this project.

I'm working on a kernel where I need to do a "max". For example

a = max(1,2) But I'm getting this error:

Reason: unsupported call to an unknown function (call to julia.new_gc_frame)
Reason: unsupported call to an unknown function (call to julia.push_gc_frame)
Reason: unsupported call to an unknown function (call to julia.get_gc_frame_slot)
Reason: unsupported dynamic function invocation

There is no support for max? Thank you!

ManuelCostanzo avatar Feb 23 '24 19:02 ManuelCostanzo

Can you share a MWE?

vchuravy avatar Feb 23 '24 23:02 vchuravy

I'm sorry! I had a type in a variable. Is working fine, thank you

ManuelCostanzo avatar Feb 29 '24 04:02 ManuelCostanzo