Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test_compile.cpp #1812

Merged
merged 3 commits into from
Oct 10, 2023
Merged

Update test_compile.cpp #1812

merged 3 commits into from
Oct 10, 2023

Commits on Sep 18, 2023

  1. Update test_compile.cpp

    Prevent the error:
    "variable 'temp' is uninitialized when used here"
    
    Since one of the generated kernels starts with:
    
    __kernel void sample_test(__global float *src, __global int *dst)
    {
        float temp;
        int  tid = get_global_id(0);
        dst[tid] = dst[tid] + temp;
    aharon-abramson authored Sep 18, 2023
    Configuration menu
    Copy the full SHA
    96eeba3 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Update test_compile.cpp

    clang format
    aharon-abramson committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    4bd8e38 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Update test_compile.cpp

    Change the "0.0" literal to "0.0f" for devices that don't support FP64.
    aharon-abramson committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    6879f0e View commit details
    Browse the repository at this point in the history