Make array.zeros work for custom types
parent
ca9875d6
Loading
Loading
Pipeline
#1394
failed
with stage
in
29 minutes and 5 seconds
Loading
-
@mattwala How many computer scientists does it take to zero-initialize a buffer? Hrmph. Turns out the argument to
clEnqueueFillBuffer
has to be power-of-two sized, so it doesn't exactly solve the general case. But this should do for the moment.The other depressing fact I realized is that even fixing the code generated for
fill
isn't sufficient--that then runs into the LLVM issue with struct passing.
Please register or sign in to comment