Created
January 10, 2019 10:49
-
-
Save rosenrodt/c801be1973d4b41a700a2cd100bc5ef2 to your computer and use it in GitHub Desktop.
Boost compute test failure report (AMD RX Vega)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41/169 Test #41: algorithm.insertion_sort .............***Failed 2.01 sec | |
Running 10 test cases... | |
D:/repo/boost.compute/test/test_insertion_sort.cpp(34): error: in "compute_test/sort_char_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
*** 1 failure is detected in the test module "TestInsertionSort" | |
Start 45: algorithm.merge_sort_gpu | |
45/169 Test #45: algorithm.merge_sort_gpu .............***Failed 3.21 sec | |
Running 9 test cases... | |
D:/repo/boost.compute/test/test_merge_sort_gpu.cpp(52): error: in "compute_test/sort_small_vector_char": check boost::compute::is_sorted(vector.begin(), vector.end(), less, queue) has failed | |
*** 1 failure is detected in the test module "TestMergeSortOnGPU" | |
Start 54: algorithm.radix_sort | |
54/169 Test #54: algorithm.radix_sort .................***Failed 3.02 sec | |
Running 21 test cases... | |
D:/repo/boost.compute/test/test_radix_sort.cpp(47): error: in "compute_test/sort_char_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(48): error: in "compute_test/sort_char_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 1: | |
!= $ | |
Mismatch at position 2: $ != 0 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(65): error: in "compute_test/sort_uchar_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(66): error: in "compute_test/sort_uchar_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 0x12 != 0 | |
Mismatch at position 0x1: 0x64 != 0x12 | |
Mismatch at position 0x2: 0x80 != 0x32 | |
Mismatch at position 0x3: 0xa2 != 0x64 | |
Mismatch at position 0x4: 0xb4 != 0x80 | |
Mismatch at position 0x5: 0xff != 0xa2 | |
Mismatch at position 0x6: 0x64 != 0xb4 | |
Mismatch at position 0x7: 0xa2 != 0xff | |
D:/repo/boost.compute/test/test_radix_sort.cpp(83): error: in "compute_test/sort_short_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(84): error: in "compute_test/sort_short_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: -4 != -2113 | |
Mismatch at position 1: -4 != -456 | |
Mismatch at position 2: -2113 != -94 | |
Mismatch at position 3: 963 != -4 | |
Mismatch at position 4: 152 != 0 | |
Mismatch at position 5: 0 != 152 | |
Mismatch at position 6: 0 != 963 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(101): error: in "compute_test/sort_ushort_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == | |
true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(102): error: in "compute_test/sort_ushort_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 34560 != 0 | |
Mismatch at position 1: 63202 != 4 | |
Mismatch at position 2: 0 != 94 | |
Mismatch at position 3: 94 != 152 | |
Mismatch at position 4: 0 != 963 | |
Mismatch at position 5: 0 != 2113 | |
Mismatch at position 6: 0 != 34560 | |
Mismatch at position 7: 2113 != 63202 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(117): error: in "compute_test/sort_int_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(118): error: in "compute_test/sort_int_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: -4 != -5000 | |
Mismatch at position 1: -4 != -456 | |
Mismatch at position 2: 75321 != -4 | |
Mismatch at position 4: 0 != 152 | |
Mismatch at position 5: 1112 != 963 | |
Mismatch at position 6: 75321 != 1112 | |
Mismatch at position 7: 0 != 75321 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(135): error: in "compute_test/sort_uint_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(136): error: in "compute_test/sort_uint_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 4000000 != 0 | |
Mismatch at position 1: 0 != 500 | |
Mismatch at position 2: 9852 != 562 | |
Mismatch at position 3: 102030 != 1988 | |
Mismatch at position 4: 102030 != 9852 | |
Mismatch at position 5: 0 != 102030 | |
Mismatch at position 6: 0 != 123456 | |
Mismatch at position 7: 102030 != 4000000 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(153): error: in "compute_test/sort_long_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(154): error: in "compute_test/sort_long_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 4000000 != 0 | |
Mismatch at position 1: 0 != 500 | |
Mismatch at position 2: 0 != 562 | |
Mismatch at position 3: 9852 != 1988 | |
Mismatch at position 4: 0 != 9852 | |
Mismatch at position 5: 0 != 102030 | |
Mismatch at position 6: 0 != 123456 | |
Mismatch at position 7: 102030 != 4000000 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(171): error: in "compute_test/sort_ulong_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(172): error: in "compute_test/sort_ulong_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 34359738376 != 0 | |
Mismatch at position 1: 9852 != 500 | |
Mismatch at position 2: 102030 != 562 | |
Mismatch at position 3: 34359738376 != 1988 | |
Mismatch at position 4: 34359738376 != 9852 | |
Mismatch at position 5: 34359738376 != 102030 | |
Mismatch at position 6: 34359738376 != 123456 | |
Mismatch at position 7: 102030 != 4000000 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(192): error: in "compute_test/sort_float_vector": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -8.25 != -6023 | |
Mismatch at position 1: -8.25 != -5000.1001 | |
Mismatch at position 2: -8.25 != -63 | |
Mismatch at position 3: -0 != -8.25 | |
Mismatch at position 6: 0 != 11.1999998 | |
Mismatch at position 7: 0 != 14 | |
Mismatch at position 8: 0 != 152.5 | |
Mismatch at position 9: 11.1999998 != 1234567 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(201): error: in "compute_test/sort_float_vector": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -8.25 != -6023 | |
Mismatch at position 1: -0 != -5000.1001 | |
Mismatch at position 2: -0 != -63 | |
Mismatch at position 3: -0 != -8.25 | |
Mismatch at position 6: -0 != 11.1999998 | |
Mismatch at position 7: 0 != 14 | |
Mismatch at position 8: 0 != 152.5 | |
Mismatch at position 9: 0 != 1234567 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(226): error: in "compute_test/sort_double_vector": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -8.25 != -6023 | |
Mismatch at position 1: -0 != -5000.1000000000004 | |
Mismatch at position 2: 0 != -63 | |
Mismatch at position 3: 0 != -8.25 | |
Mismatch at position 6: 0 != 11.199999999999999 | |
Mismatch at position 7: 0 != 14 | |
Mismatch at position 8: 0 != 152.5 | |
Mismatch at position 9: 0 != 1234567 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(254): error: in "compute_test/sort_char_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 4: 0 != 7 | |
Mismatch at position 5: $ != 0 | |
Mismatch at position 6: | |
!= $ | |
D:/repo/boost.compute/test/test_radix_sort.cpp(277): error: in "compute_test/sort_uchar_vector_desc": check boost::compute::is_sorted( vector.begin(), vector.end(), boost::compute::greater<uchar_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(282): error: in "compute_test/sort_uchar_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 0xa2 != 0xff | |
Mismatch at position 0x1: 0x80 != 0xb4 | |
Mismatch at position 0x2: 0x64 != 0xa2 | |
Mismatch at position 0x3: 0x32 != 0x80 | |
Mismatch at position 0x4: 0x12 != 0x64 | |
Mismatch at position 0x5: 0 != 0x32 | |
Mismatch at position 0x6: 0 != 0x12 | |
Mismatch at position 0x7: 0xa2 != 0 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(305): error: in "compute_test/sort_short_vector_desc": check boost::compute::is_sorted( vector.begin(), vector.end(), boost::compute::greater<short_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(310): error: in "compute_test/sort_short_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 963 != 31002 | |
Mismatch at position 1: 0 != 963 | |
Mismatch at position 2: -456 != 152 | |
Mismatch at position 4: -456 != -4 | |
Mismatch at position 6: 0 != -456 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(338): error: in "compute_test/sort_ushort_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has | |
failed. | |
Mismatch at position 0: 34560 != 63202 | |
Mismatch at position 1: 2113 != 34560 | |
Mismatch at position 2: 963 != 2113 | |
Mismatch at position 3: 152 != 963 | |
Mismatch at position 4: 94 != 152 | |
Mismatch at position 5: 4 != 94 | |
Mismatch at position 6: 0 != 4 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(361): error: in "compute_test/sort_int_vector_desc": check boost::compute::is_sorted( vector.begin(), vector.end(), boost::compute::greater<int_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(366): error: in "compute_test/sort_int_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 963 != 75321 | |
Mismatch at position 2: 152 != 963 | |
Mismatch at position 3: 963 != 152 | |
Mismatch at position 4: -4 != 0 | |
Mismatch at position 5: -456 != -4 | |
Mismatch at position 6: 0 != -456 | |
Mismatch at position 7: 0 != -5000 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(394): error: in "compute_test/sort_uint_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 3: 102030 != 9852 | |
Mismatch at position 4: 9852 != 1988 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(417): error: in "compute_test/sort_long_vector_desc": check boost::compute::is_sorted( vector.begin(), vector.end(), boost::compute::greater<long_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(422): error: in "compute_test/sort_long_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 1: 9852 != 123456 | |
Mismatch at position 3: 0 != 9852 | |
Mismatch at position 4: 0 != 1988 | |
Mismatch at position 5: 0 != 562 | |
Mismatch at position 7: 0 != -500 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(450): error: in "compute_test/sort_ulong_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 3: 102030 != 9852 | |
Mismatch at position 4: 9852 != 1988 | |
Mismatch at position 5: 1988 != 562 | |
Mismatch at position 6: 562 != 500 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(480): error: in "compute_test/sort_float_vector_desc": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -0 != 1234567 | |
Mismatch at position 1: -0 != 152.5 | |
Mismatch at position 2: -0 != 14 | |
Mismatch at position 3: -0 != 11.1999998 | |
Mismatch at position 6: 0 != -8.25 | |
Mismatch at position 7: 0 != -63 | |
Mismatch at position 8: 0 != -5000.1001 | |
Mismatch at position 9: -8.25 != -6023 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(493): error: in "compute_test/sort_float_vector_desc": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -0 != 1234567 | |
Mismatch at position 1: -0 != 152.5 | |
Mismatch at position 2: -0 != 14 | |
Mismatch at position 3: -0 != 11.1999998 | |
Mismatch at position 6: 0 != -8.25 | |
Mismatch at position 7: 0 != -63 | |
Mismatch at position 8: 0 != -5000.1001 | |
Mismatch at position 9: -8.25 != -6023 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(522): error: in "compute_test/sort_double_vector_desc": check boost::compute::is_sorted( vector.begin(), vector.end(), boost::compute::greater<double>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(527): error: in "compute_test/sort_double_vector_desc": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: 14 != 1234567 | |
Mismatch at position 1: 2.1219957914099314e-313 != 152.5 | |
Mismatch at position 2: -0 != 14 | |
Mismatch at position 3: 2.1219957914099314e-313 != 11.199999999999999 | |
Mismatch at position 5: 2.1219957914099314e-313 != -0 | |
Mismatch at position 6: 2.121995791459338e-313 != -8.25 | |
Mismatch at position 7: 0 != -63 | |
Mismatch at position 8: 0 != -5000.1000000000004 | |
Mismatch at position 9: -8.25 != -6023 | |
*** 35 failures are detected in the test module "TestRadixSort" | |
Start 55: algorithm.radix_sort_by_key | |
55/169 Test #55: algorithm.radix_sort_by_key ..........***Failed 2.05 sec | |
Running 8 test cases... | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(54): error: in "compute_test/stable_radix_sort_int_by_int": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: 2 != -1 | |
Mismatch at position 3: 4 != 2 | |
Mismatch at position 4: 6 != 4 | |
Mismatch at position 5: 7 != 6 | |
Mismatch at position 6: 9 != 7 | |
Mismatch at position 7: 10 != 9 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(59): error: in "compute_test/stable_radix_sort_int_by_int": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: 3 != 6 | |
Mismatch at position 1: 8 != 3 | |
Mismatch at position 2: 9 != 8 | |
Mismatch at position 3: 7 != 9 | |
Mismatch at position 4: 5 != 7 | |
Mismatch at position 5: 4 != 5 | |
Mismatch at position 6: 2 != 4 | |
Mismatch at position 7: 1 != 2 | |
Mismatch at position 8: 10 != 1 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(87): error: in "compute_test/stable_radix_sort_int_by_int_desc": check compute::is_sorted( keys.begin(), keys.end(), compute::greater<compute::int_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(93): error: in "compute_test/stable_radix_sort_int_by_int_desc": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: 2 != 10 | |
Mismatch at position 1: 2 != 10 | |
Mismatch at position 2: 2 != 9 | |
Mismatch at position 3: 10 != 7 | |
Mismatch at position 4: 2 != 6 | |
Mismatch at position 5: 10 != 4 | |
Mismatch at position 7: 10 != 2 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(98): error: in "compute_test/stable_radix_sort_int_by_int_desc": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: 3 != 1 | |
Mismatch at position 1: 8 != 10 | |
Mismatch at position 2: 9 != 2 | |
Mismatch at position 3: 10 != 4 | |
Mismatch at position 4: 9 != 5 | |
Mismatch at position 5: 10 != 7 | |
Mismatch at position 6: 9 != 3 | |
Mismatch at position 7: 10 != 8 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(185): error: in "compute_test/stable_radix_sort_int_by_float": check compute::is_sorted(keys.begin(), keys.end(), queue) has failed | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(191): error: in "compute_test/stable_radix_sort_int_by_float": check { _actual, _actual + 5 } == { _expected, _expected + 5 } has failed. | |
Mismatch at position 0: 10 != 5.5 | |
Mismatch at position 1: 10 != 5.5 | |
Mismatch at position 3: 7 != 10 | |
Mismatch at position 4: 5.5 != 10 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(196): error: in "compute_test/stable_radix_sort_int_by_float": check { _actual, _actual + 5 } == { _expected, _expected + 5 } has failed. | |
Mismatch at position 0: 1 != 200 | |
Mismatch at position 1: -10 != 4 | |
Mismatch at position 3: 2 != 1 | |
Mismatch at position 4: 4 != -10 | |
*** 8 failures are detected in the test module "TestRadixSortByKey" | |
Start 74: algorithm.sort | |
74/169 Test #74: algorithm.sort .......................***Failed 2.33 sec | |
Running 18 test cases... | |
D:/repo/boost.compute/test/test_sort.cpp(89): error: in "compute_test/sort_char_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has | |
failed | |
*** 1 failure is detected in the test module "TestSort" | |
Start 75: algorithm.sort_by_key | |
75/169 Test #75: algorithm.sort_by_key ................***Failed 2.07 sec | |
Running 8 test cases... | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(111): error: in "compute_test/sort_int_ d_float": check compute::is_sorted(keys.begin(), keys.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(112): error: in "compute_test/sort_int_and_float": check compute::is_sorted(values.begin(), values.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(171): error: in "compute_test/sort_int_and_float2": check compute::is_sorted(keys.begin(), keys.end(), queue) == true has | |
failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(172): error: in "compute_test/sort_int_and_float2": check compute::is_sorted(values.begin(), values.end(), sort_float2, queue) == true has failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(203): error: in "compute_test/sort_custom_struct_by_int": check compute::is_sorted(keys.begin(), keys.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(204): error: in "compute_test/sort_custom_struct_by_int": check compute::is_sorted(values.begin(), values.end(), sort_custom_struct, queue) == true has failed | |
*** 6 failures are detected in the test module "TestSortByKey" | |
Start 77: algorithm.stable_sort | |
77/169 Test #77: algorithm.stable_sort ................***Failed 1.64 sec | |
Running 2 test cases... | |
D:/repo/boost.compute/test/test_stable_sort.cpp(33): error: in "compute_test/sort_int_vector": check compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_stable_sort.cpp(34): error: in "compute_test/sort_int_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: -4 != -5000 | |
Mismatch at position 1: -4 != -456 | |
Mismatch at position 2: 75321 != -4 | |
Mismatch at position 4: 0 != 152 | |
Mismatch at position 5: 1112 != 963 | |
Mismatch at position 6: 75321 != 1112 | |
Mismatch at position 7: 0 != 75321 | |
D:/repo/boost.compute/test/test_stable_sort.cpp(38): error: in "compute_test/sort_int_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 0 != 75321 | |
Mismatch at position 1: 0 != 1112 | |
Mismatch at position 2: 0 != 963 | |
Mismatch at position 3: 0 != 152 | |
Mismatch at position 5: 0 != -4 | |
Mismatch at position 6: 0 != -456 | |
Mismatch at position 7: 0 != -5000 | |
*** 3 failures are detected in the test module "TestStableSort" | |
Start 143: misc.amd_cpp_kernel_language | |
143/169 Test #143: misc.amd_cpp_kernel_language .........***Failed 1.47 sec | |
Running 1 test case... | |
Boost.Compute: kernel compilation failed (-11) | |
--- source --- | |
template<typename T> inline T square(const T x) { return x * x; } template<typename T> __kernel void square_kernel(__global T *data) { const uint i = get_global_id(0); data[i] = square(data[i]); } template __attribute__((mangled_name(square_kernel_int))) __kernel void square_kernel(__global int *data); | |
--- build log --- | |
Error: HSAIL doesn't support OpenCL extension clc++. | |
An invalid option was specified. | |
Error: Compiling CL to IR | |
D:\repo\boost.compute\include\boost/compute/program.hpp(280): fatal error: in "void __cdecl boost::compute::program::build(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)": class boost::exception_detail::clone_impl<struct boost::exception_detail::error_info_injector<class boost::compute::program_build_failure> >: Build Program Failure | |
D:\repo\boost.compute\test\test_amd_cpp_kernel_language.cpp(28): last checkpoint: "amd_template_function" test entry | |
*** 1 failure is detected in the test module "TestAmdCppKernel" | |
Start 148: example.amd_cpp_kernel | |
148/169 Test #148: example.amd_cpp_kernel ...............Exit code 0xc0000409 | |
***Exception: 1.40 sec | |
95% tests passed, 9 tests failed out of 169 | |
Total Test time (real) = 269.63 sec | |
The following tests FAILED: | |
41 - algorithm.insertion_sort (Failed) | |
45 - algorithm.merge_sort_gpu (Failed) | |
54 - algorithm.radix_sort (Failed) | |
55 - algorithm.radix_sort_by_key (Failed) | |
74 - algorithm.sort (Failed) | |
75 - algorithm.sort_by_key (Failed) | |
77 - algorithm.stable_sort (Failed) | |
143 - misc.amd_cpp_kernel_language (Failed) | |
148 - example.amd_cpp_kernel (Exit code 0xc0000409 | |
) | |
Errors while running CTest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ctest --output-on-failure | |
Test project D:/repo/boost.compute/build | |
Start 54: algorithm.radix_sort | |
54/169 Test #54: algorithm.radix_sort .................***Failed 4.18 sec | |
Running 21 test cases... | |
D:/repo/boost.compute/test/test_radix_sort.cpp(48): error: in "compute_test/sort_char_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 1: | |
!= $ | |
Mismatch at position 2: $ != 0 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(65): error: in "compute_test/sort_uchar_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(66): error: in "compute_test/sort_uchar_vector": check { _actual, _actual + 8 | |
} == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 0x12 != 0 | |
Mismatch at position 0x1: 0x64 != 0x12 | |
Mismatch at position 0x2: 0x80 != 0x32 | |
Mismatch at position 0x3: 0xa2 != 0x64 | |
Mismatch at position 0x4: 0xb4 != 0x80 | |
Mismatch at position 0x5: 0xff != 0xa2 | |
Mismatch at position 0x6: 0x64 != 0xb4 | |
Mismatch at position 0x7: 0xa2 != 0xff | |
D:/repo/boost.compute/test/test_radix_sort.cpp(83): error: in "compute_test/sort_short_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(84): error: in "compute_test/sort_short_vector": check { _actual, _actual + 8 | |
} == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: -4 != -2113 | |
Mismatch at position 1: -4 != -456 | |
Mismatch at position 2: -2113 != -94 | |
Mismatch at position 3: 963 != -4 | |
Mismatch at position 4: 152 != 0 | |
Mismatch at position 5: 0 != 152 | |
Mismatch at position 6: 0 != 963 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(101): error: in "compute_test/sort_ushort_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(102): error: in "compute_test/sort_ushort_vector": check { _actual, _actual + | |
8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 34560 != 0 | |
Mismatch at position 1: 63202 != 4 | |
Mismatch at position 2: 0 != 94 | |
Mismatch at position 3: 94 != 152 | |
Mismatch at position 4: 0 != 963 | |
Mismatch at position 5: 0 != 2113 | |
Mismatch at position 6: 0 != 34560 | |
Mismatch at position 7: 2113 != 63202 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(117): error: in "compute_test/sort_int_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(118): error: in "compute_test/sort_int_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: -4 != -5000 | |
Mismatch at position 1: -4 != -456 | |
Mismatch at position 2: 75321 != -4 | |
Mismatch at position 4: 0 != 152 | |
Mismatch at position 5: 1112 != 963 | |
Mismatch at position 6: 75321 != 1112 | |
Mismatch at position 7: 0 != 75321 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(135): error: in "compute_test/sort_uint_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(136): error: in "compute_test/sort_uint_vector": check { _actual, _actual + 8 | |
} == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 4000000 != 0 | |
Mismatch at position 1: 0 != 500 | |
Mismatch at position 2: 9852 != 562 | |
Mismatch at position 3: 102030 != 1988 | |
Mismatch at position 4: 102030 != 9852 | |
Mismatch at position 5: 0 != 102030 | |
Mismatch at position 6: 0 != 123456 | |
Mismatch at position 7: 102030 != 4000000 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(153): error: in "compute_test/sort_long_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(154): error: in "compute_test/sort_long_vector": check { _actual, _actual + 8 | |
} == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 4000000 != 0 | |
Mismatch at position 1: 0 != 500 | |
Mismatch at position 2: 0 != 562 | |
Mismatch at position 3: 9852 != 1988 | |
Mismatch at position 4: 0 != 9852 | |
Mismatch at position 5: 0 != 102030 | |
Mismatch at position 6: 0 != 123456 | |
Mismatch at position 7: 102030 != 4000000 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(171): error: in "compute_test/sort_ulong_vector": check boost::compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(172): error: in "compute_test/sort_ulong_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 4000000 != 0 | |
Mismatch at position 1: 0 != 500 | |
Mismatch at position 2: 0 != 562 | |
Mismatch at position 3: 9852 != 1988 | |
Mismatch at position 4: 0 != 9852 | |
Mismatch at position 5: 0 != 102030 | |
Mismatch at position 6: 0 != 123456 | |
Mismatch at position 7: 102030 != 4000000 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(192): error: in "compute_test/sort_float_vector": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -8.25 != -6023 | |
Mismatch at position 1: -8.25 != -5000.1001 | |
Mismatch at position 2: -8.25 != -63 | |
Mismatch at position 3: -0 != -8.25 | |
Mismatch at position 6: 0 != 11.1999998 | |
Mismatch at position 7: 0 != 14 | |
Mismatch at position 8: 0 != 152.5 | |
Mismatch at position 9: 11.1999998 != 1234567 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(201): error: in "compute_test/sort_float_vector": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -8.25 != -6023 | |
Mismatch at position 1: -8.25 != -5000.1001 | |
Mismatch at position 2: -8.25 != -63 | |
Mismatch at position 3: -0 != -8.25 | |
Mismatch at position 6: 0 != 11.1999998 | |
Mismatch at position 7: 0 != 14 | |
Mismatch at position 8: 0 != 152.5 | |
Mismatch at position 9: 11.1999998 != 1234567 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(226): error: in "compute_test/sort_double_vector": check { _actual, _actual + | |
10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -8.25 != -6023 | |
Mismatch at position 1: -0 != -5000.1000000000004 | |
Mismatch at position 2: 0 != -63 | |
Mismatch at position 3: 0 != -8.25 | |
Mismatch at position 6: 0 != 11.199999999999999 | |
Mismatch at position 7: 0 != 14 | |
Mismatch at position 8: 0 != 152.5 | |
Mismatch at position 9: 0 != 1234567 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(254): error: in "compute_test/sort_char_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 4: 0 != 7 | |
Mismatch at position 5: $ != 0 | |
Mismatch at position 6: | |
!= $ | |
D:/repo/boost.compute/test/test_radix_sort.cpp(277): error: in "compute_test/sort_uchar_vector_desc": check boost::compute::is_sorted( vector.begin(), vector.end(), boost::compute::greater<uchar_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(282): error: in "compute_test/sort_uchar_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 0xa2 != 0xff | |
Mismatch at position 0x1: 0x80 != 0xb4 | |
Mismatch at position 0x2: 0x64 != 0xa2 | |
Mismatch at position 0x3: 0x32 != 0x80 | |
Mismatch at position 0x4: 0x12 != 0x64 | |
Mismatch at position 0x5: 0 != 0x32 | |
Mismatch at position 0x6: 0 != 0x12 | |
Mismatch at position 0x7: 0xa2 != 0 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(305): error: in "compute_test/sort_short_vector_desc": check boost::compute::is_sorted( vector.begin(), vector.end(), boost::compute::greater<short_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(310): error: in "compute_test/sort_short_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 963 != 31002 | |
Mismatch at position 1: 0 != 963 | |
Mismatch at position 2: -456 != 152 | |
Mismatch at position 4: -456 != -4 | |
Mismatch at position 6: 0 != -456 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(338): error: in "compute_test/sort_ushort_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 34560 != 63202 | |
Mismatch at position 1: 2113 != 34560 | |
Mismatch at position 2: 963 != 2113 | |
Mismatch at position 3: 152 != 963 | |
Mismatch at position 4: 94 != 152 | |
Mismatch at position 5: 4 != 94 | |
Mismatch at position 6: 0 != 4 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(361): error: in "compute_test/sort_int_vector_desc": check boost::compute::is_sorted( vector.begin(), vector.end(), boost::compute::greater<int_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(366): error: in "compute_test/sort_int_vector_desc": check { _actual, _actual | |
+ 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 963 != 75321 | |
Mismatch at position 2: 152 != 963 | |
Mismatch at position 3: 963 != 152 | |
Mismatch at position 4: -4 != 0 | |
Mismatch at position 5: -456 != -4 | |
Mismatch at position 6: 0 != -456 | |
Mismatch at position 7: 0 != -5000 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(394): error: in "compute_test/sort_uint_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 3: 102030 != 9852 | |
Mismatch at position 4: 9852 != 1988 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(417): error: in "compute_test/sort_long_vector_desc": check boost::compute::is_sorted( vector.begin(), vector.end(), boost::compute::greater<long_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort.cpp(422): error: in "compute_test/sort_long_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 1: 9852 != 123456 | |
Mismatch at position 3: 0 != 9852 | |
Mismatch at position 4: 0 != 1988 | |
Mismatch at position 5: 0 != 562 | |
Mismatch at position 7: 0 != -500 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(450): error: in "compute_test/sort_ulong_vector_desc": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 3: 102030 != 9852 | |
Mismatch at position 4: 9852 != 1988 | |
Mismatch at position 5: 1988 != 562 | |
Mismatch at position 6: 562 != 500 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(480): error: in "compute_test/sort_float_vector_desc": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -0 != 1234567 | |
Mismatch at position 1: -0 != 152.5 | |
Mismatch at position 2: -0 != 14 | |
Mismatch at position 3: -0 != 11.1999998 | |
Mismatch at position 6: 0 != -8.25 | |
Mismatch at position 7: 0 != -63 | |
Mismatch at position 8: 0 != -5000.1001 | |
Mismatch at position 9: -8.25 != -6023 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(493): error: in "compute_test/sort_float_vector_desc": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -0 != 1234567 | |
Mismatch at position 1: -0 != 152.5 | |
Mismatch at position 2: -0 != 14 | |
Mismatch at position 3: -0 != 11.1999998 | |
Mismatch at position 6: 0 != -8.25 | |
Mismatch at position 7: 0 != -63 | |
Mismatch at position 8: 0 != -5000.1001 | |
Mismatch at position 9: -8.25 != -6023 | |
D:/repo/boost.compute/test/test_radix_sort.cpp(527): error: in "compute_test/sort_double_vector_desc": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: -0 != 1234567 | |
Mismatch at position 1: 0 != 152.5 | |
Mismatch at position 2: 0 != 14 | |
Mismatch at position 3: 0 != 11.199999999999999 | |
Mismatch at position 6: 0 != -8.25 | |
Mismatch at position 7: 0 != -63 | |
Mismatch at position 8: 0 != -5000.1000000000004 | |
Mismatch at position 9: -8.25 != -6023 | |
*** 33 failures are detected in the test module "TestRadixSort" | |
Start 55: algorithm.radix_sort_by_key | |
55/169 Test #55: algorithm.radix_sort_by_key ..........***Failed 2.35 sec | |
Running 8 test cases... | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(54): error: in "compute_test/stable_radix_sort_int_by_int": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: 2 != -1 | |
Mismatch at position 3: 4 != 2 | |
Mismatch at position 4: 6 != 4 | |
Mismatch at position 5: 7 != 6 | |
Mismatch at position 6: 9 != 7 | |
Mismatch at position 7: 10 != 9 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(59): error: in "compute_test/stable_radix_sort_int_by_int": check { _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: 3 != 6 | |
Mismatch at position 1: 8 != 3 | |
Mismatch at position 2: 9 != 8 | |
Mismatch at position 3: 7 != 9 | |
Mismatch at position 4: 5 != 7 | |
Mismatch at position 5: 4 != 5 | |
Mismatch at position 6: 2 != 4 | |
Mismatch at position 7: 1 != 2 | |
Mismatch at position 8: 10 != 1 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(87): error: in "compute_test/stable_radix_sort_int_by_int_desc": check | |
compute::is_sorted( keys.begin(), keys.end(), compute::greater<compute::int_>(), queue ) has failed | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(93): error: in "compute_test/stable_radix_sort_int_by_int_desc": check | |
{ _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: 2 != 10 | |
Mismatch at position 1: 2 != 10 | |
Mismatch at position 2: 2 != 9 | |
Mismatch at position 3: 10 != 7 | |
Mismatch at position 4: 2 != 6 | |
Mismatch at position 5: 10 != 4 | |
Mismatch at position 7: 10 != 2 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(98): error: in "compute_test/stable_radix_sort_int_by_int_desc": check | |
{ _actual, _actual + 10 } == { _expected, _expected + 10 } has failed. | |
Mismatch at position 0: 3 != 1 | |
Mismatch at position 1: 8 != 10 | |
Mismatch at position 2: 9 != 2 | |
Mismatch at position 3: 10 != 4 | |
Mismatch at position 4: 9 != 5 | |
Mismatch at position 5: 10 != 7 | |
Mismatch at position 6: 9 != 3 | |
Mismatch at position 7: 10 != 8 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(185): error: in "compute_test/stable_radix_sort_int_by_float": check compute::is_sorted(keys.begin(), keys.end(), queue) has failed | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(191): error: in "compute_test/stable_radix_sort_int_by_float": check { | |
_actual, _actual + 5 } == { _expected, _expected + 5 } has failed. | |
Mismatch at position 0: 10 != 5.5 | |
Mismatch at position 1: 10 != 5.5 | |
Mismatch at position 3: 7 != 10 | |
Mismatch at position 4: 5.5 != 10 | |
D:/repo/boost.compute/test/test_radix_sort_by_key.cpp(196): error: in "compute_test/stable_radix_sort_int_by_float": check { | |
_actual, _actual + 5 } == { _expected, _expected + 5 } has failed. | |
Mismatch at position 0: 1 != 200 | |
Mismatch at position 1: -10 != 4 | |
Mismatch at position 3: 2 != 1 | |
Mismatch at position 4: 4 != -10 | |
*** 8 failures are detected in the test module "TestRadixSortByKey" | |
Start 75: algorithm.sort_by_key | |
75/169 Test #75: algorithm.sort_by_key ................***Failed 2.08 sec | |
Running 8 test cases... | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(111): error: in "compute_test/sort_int_and_float": check compute::is_sorted(keys.begin(), keys.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(112): error: in "compute_test/sort_int_and_float": check compute::is_sorted(values.begin(), values.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(171): error: in "compute_test/sort_int_and_float2": check compute::is_sorted(keys.begin(), keys.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(172): error: in "compute_test/sort_int_and_float2": check compute::is_sorted(values.begin(), values.end(), sort_float2, queue) == true has failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(203): error: in "compute_test/sort_custom_struct_by_int": check compute::is_sorted(keys.begin(), keys.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_sort_by_key.cpp(204): error: in "compute_test/sort_custom_struct_by_int": check compute::is_sorted(values.begin(), values.end(), sort_custom_struct, queue) == true has failed | |
*** 6 failures are detected in the test module "TestSortByKey" | |
Start 77: algorithm.stable_sort | |
77/169 Test #77: algorithm.stable_sort ................***Failed 1.88 sec | |
Running 2 test cases... | |
D:/repo/boost.compute/test/test_stable_sort.cpp(33): error: in "compute_test/sort_int_vector": check compute::is_sorted(vector.begin(), vector.end(), queue) == true has failed | |
D:/repo/boost.compute/test/test_stable_sort.cpp(34): error: in "compute_test/sort_int_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: -4 != -5000 | |
Mismatch at position 1: -4 != -456 | |
Mismatch at position 2: 75321 != -4 | |
Mismatch at position 4: 0 != 152 | |
Mismatch at position 5: 1112 != 963 | |
Mismatch at position 6: 75321 != 1112 | |
Mismatch at position 7: 0 != 75321 | |
D:/repo/boost.compute/test/test_stable_sort.cpp(38): error: in "compute_test/sort_int_vector": check { _actual, _actual + 8 } == { _expected, _expected + 8 } has failed. | |
Mismatch at position 0: 0 != 75321 | |
Mismatch at position 1: 0 != 1112 | |
Mismatch at position 2: 0 != 963 | |
Mismatch at position 3: 0 != 152 | |
Mismatch at position 5: 0 != -4 | |
Mismatch at position 6: 0 != -456 | |
Mismatch at position 7: 0 != -5000 | |
*** 3 failures are detected in the test module "TestStableSort" | |
Start 143: misc.amd_cpp_kernel_language | |
143/169 Test #143: misc.amd_cpp_kernel_language .........***Failed 1.29 sec | |
Running 1 test case... | |
Boost.Compute: kernel compilation failed (-11) | |
--- source --- | |
template<typename T> inline T square(const T x) { return x * x; } template<typename T> __kernel void square_kernel(__global T *data) { const uint i = get_global_id(0); data[i] = square(data[i]); } template __attribute__((mangled_name(square_kernel_int))) __kernel void square_kernel(__global int *data); | |
--- build log --- | |
C:\Users\ANTHON~1.AC_\AppData\Local\Temp\\OCL15552T1.cl:1:1: error: unknown type name 'template' | |
template<typename T> inline T square(const T x) { return x * x; } template<typename T> __kernel void square_kernel(__global T *data) { const uint i = get_global_id(0); data[i] = square(data[i]); } template __attribute__((mangled_name(square_kernel_int))) __kernel void square_kernel(__global int *data); | |
^ | |
C:\Users\ANTHON~1.AC_\AppData\Local\Temp\\OCL15552T1.cl:1:9: error: expected identifier or '(' | |
template<typename T> inline T square(const T x) { return x * x; } template<typename T> __kernel void square_kernel(__global T *data) { const uint i = get_global_id(0); data[i] = square(data[i]); } template __attribute__((mangled_name(square_kernel_int))) __kernel void square_kernel(__global int *data); | |
^ | |
C:\Users\ANTHON~1.AC_\AppData\Local\Temp\\OCL15552T1.cl:1:67: error: unknown type name 'template' | |
template<typename T> inline T square(const T x) { return x * x; } template<typename T> __kernel void square_kernel(__global T *data) { const uint i = get_global_id(0); data[i] = square(data[i]); } template __attribute__((mangled_name(square_kernel_int))) __kernel void square_kernel(__global int *data); | |
^ | |
C:\Users\ANTHON~1.AC_\AppData\Local\Temp\\OCL15552T1.cl:1:75: error: expected identifier or '(' | |
template<typename T> inline T square(const T x) { return x * x; } template<typename T> __kernel void square_kernel(__global T *data) { const uint i = get_global_id(0); data[i] = square(data[i]); } template __attribute__((mangled_name(square_kernel_int))) __kernel void square_kernel(__global int *data); | |
^ | |
C:\Users\ANTHON~1.AC_\AppData\Local\Temp\\OCL15552T1.cl:1:198: error: unknown type name 'template' | |
template<typename T> inline T square(const T x) { return x * x; } template<typename T> __kernel void square_kernel(__global T *data) { const uint i = get_global_id(0); data[i] = square(data[i]); } template __attribute__((mangled_name(square_kernel_int))) __kernel void square_kernel(__global int *data); | |
^ | |
C:\Users\ANTHON~1.AC_\AppData\Local\Temp\\OCL15552T1.cl:1:207: error: expected identifier or '(' | |
template<typename T> inline T square(const T x) { return x * x; } template<typename T> __kernel void square_kernel(__global T *data) { const uint i = get_global_id(0); data[i] = square(data[i]); } template __attribute__((mangled_name(square_kernel_int))) __kernel void square_kernel(__global int *data); | |
^ | |
6 errors generated. | |
error: Clang front-end compilation failed! | |
Frontend phase failed compilation. | |
Error: Compiling CL to IR | |
D:\repo\boost.compute\include\boost/compute/program.hpp(280): fatal error: in "void __cdecl boost::compute::program::build(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)": class boost::exception_detail::clone_impl<struct boost::exception_detail::error_info_injector<class boost::compute::program_build_failure> >: Build Program Failure | |
D:\repo\boost.compute\test\test_amd_cpp_kernel_language.cpp(28): last checkpoint: "amd_template_function" test entry | |
*** 1 failure is detected in the test module "TestAmdCppKernel" | |
Start 148: example.amd_cpp_kernel | |
148/169 Test #148: example.amd_cpp_kernel ...............Exit code 0xc0000409 | |
***Exception: 1.36 sec | |
96% tests passed, 6 tests failed out of 169 | |
Total Test time (real) = 315.89 sec | |
The following tests FAILED: | |
54 - algorithm.radix_sort (Failed) | |
55 - algorithm.radix_sort_by_key (Failed) | |
75 - algorithm.sort_by_key (Failed) | |
77 - algorithm.stable_sort (Failed) | |
143 - misc.amd_cpp_kernel_language (Failed) | |
148 - example.amd_cpp_kernel (Exit code 0xc0000409 | |
) | |
Errors while running CTest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment