Skip to content

windowing/assignment.windowing/1 test fails with OpenMP #409

@stkaplan

Description

@stkaplan

Looks like a test added in PR #372 fails when built with OpenMP. Runs fine without OpenMP.

176/182 Testing: */assignment.windowing/*
176/182 Test: */assignment.windowing/*
Command: "/home/sam/work/taco/taco/build/bin/taco-test" "--gtest_filter=*/assignment.windowing/*"
Directory: /home/sam/work/taco/taco/build/test
"*/assignment.windowing/*" start time: Feb 16 15:24 EST
Output:
----------------------------------------------------------
Note: Google Test filter = */assignment.windowing/*
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from windowing/assignment
[ RUN      ] windowing/assignment.windowing/0
[       OK ] windowing/assignment.windowing/0 (2241 ms)
[ RUN      ] windowing/assignment.windowing/1
/tmp/taco_tmp_q4g2Kh/mvgwt6s86yqy.c: In function ‘compute’:
/tmp/taco_tmp_q4g2Kh/mvgwt6s86yqy.c:136:7: error: break statement used with OpenMP for loop
  136 |       break;
      |       ^~~~~
Error at /home/sam/work/taco/taco/src/codegen/module.cpp:145 in compile:
 Compilation command failed:
cc -O3 -ffast-math -std=c99 -shared -fPIC -fopenmp /tmp/taco_tmp_q4g2Kh/mvgwt6s86yqy.c  -o /tmp/taco_tmp_q4g2Kh/mvgwt6s86yqy.so -lm
returned 256
[  FAILED  ] windowing/assignment.windowing/1, where GetParam() = compressed (597 ms)
[----------] 2 tests from windowing/assignment (2838 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (2838 ms total)
[  PASSED  ] 1 test.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] windowing/assignment.windowing/1, where GetParam() = compressed

 1 FAILED TEST
<end of output>
Test time =   3.76 sec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions