swift
c89e270b - Implement value witness table for @differentiable functions (#60875)

Commit
3 years ago
Implement value witness table for @differentiable functions (#60875) @differentiable function is actually a triple (function, jvp, vjp). Previously normal thick function value witness table was used. As a result, for example, only function was copied, but none of differential components. This was the cause of uninitialized memory accesses and subsequent segfaults. Should fix now unavailable TF-1122
Author
asl asl
Parents
Loading