Revision 00ae979a5037dbfaa339afb0510353daa27c87fc authored by Steven Johnson on 20 October 2020, 16:16:20 UTC, committed by Steven Johnson on 20 October 2020, 16:16:20 UTC
2 parent s 85f143c + a2934d4
Raw File
lerp_signed_weight.cpp
#include "Halide.h"

#include <stdio.h>

using namespace Halide;

int main(int argc, char **argv) {
    // This should trigger an error.
    Func f;
    f() = lerp(cast<uint8_t>(0), cast<uint8_t>(42), cast<int8_t>(16));

    printf("Success!\n");
    return 0;
}
back to top