<commit_before>#include "Halide.h"

using namespace Halide;

int main(int argc, char **argv) {
    Var x, y, z;
    Func f, g;

    g(x, y) = x*y;
    f(x, y) = g(x-1, y) + g(x+1, y);


    g.chunk(y);
    f.parallel(y);

    Image<int> im = f.realize(8, 8);

    for (int x = 0; x < 8; x++) {
        for (int y = 0; y < 8; y++) {
            if (im(x, y) != (x-1)*y + (x+1)*y) {
                printf("im(%d, %d) = %d\n", x, y, im(x, y));
                return -1;
          }
        }
    }
    
    printf("Success!");
    return 0;
}
<commit_msg>test/parallel_alloc converted to new syntax<commit_after>#include "Halide.h"

using namespace Halide;

int main(int argc, char **argv) {
    Var x, y, z;
    Func f, g;

    g(x, y) = x*y;
    f(x, y) = g(x-1, y) + g(x+1, y);


    g.compute_at(f, y);
    f.parallel(y);

    Image<int> im = f.realize(8, 8);

    for (int x = 0; x < 8; x++) {
        for (int y = 0; y < 8; y++) {
            if (im(x, y) != (x-1)*y + (x+1)*y) {
                printf("im(%d, %d) = %d\n", x, y, im(x, y));
                return -1;
          }
        }
    }
    
    printf("Success!");
    return 0;
}

{'fraction_non_alphanumeric': 0.21465968586387435, 'fraction_numerical': 0.020942408376963352, 'mean_word_length': 1.612756264236902, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3921110', 'n_tokens_mistral': 521, 'n_tokens_neox': 492, 'n_words': 131}