[Beignet] tests [was: Re: [PATCH] Compile against upstream LLVM 3.3]
Steven Newbury
steve at snewbury.org.uk
Mon Apr 22 05:29:06 PDT 2013
Since I've been trying to get beignet working against upstream
llvm/clang-3.3, I thought I'd better check my setup works with a
supported version.
Unlike with 3.3, and using a fresh git checkout the tests run, but there
are quite a few failures. Expected? Also johntheripper, see below.
With llvm/clang-3.2:
libEGL warning: failed to create a pipe screen for i965
platform number 1
platform_profile "FULL_PROFILE"
platform_name "Experiment Intel Gen OCL Driver"
platform_vendor "Intel"
platform_version "OpenCL 1.0"
platform_extensions "cl_khr_byte_addressable_store cl_khr_icd
cl_khr_gl_sharing"
device_profile "FULL_PROFILE"
device_name "Intel HD Graphics Family"
device_vendor "Intel"
device_version "OpenCL 1.0"
device_extensions "cl_khr_byte_addressable_store cl_khr_icd
cl_khr_gl_sharing"
99 image formats are supported
[CL_R CL_SNORM_INT8]
[CL_R CL_SNORM_INT16]
[CL_R CL_UNORM_INT8]
[CL_R CL_UNORM_INT16]
[CL_R CL_SIGNED_INT8]
[CL_R CL_SIGNED_INT16]
[CL_R CL_SIGNED_INT32]
[CL_R CL_UNSIGNED_INT8]
[CL_R CL_UNSIGNED_INT16]
[CL_R CL_UNSIGNED_INT32]
[CL_R CL_HALF_FLOAT]
[CL_R CL_FLOAT]
[CL_A CL_SNORM_INT8]
[CL_A CL_SNORM_INT16]
[CL_A CL_UNORM_INT8]
[CL_A CL_UNORM_INT16]
[CL_A CL_SIGNED_INT8]
[CL_A CL_SIGNED_INT16]
[CL_A CL_SIGNED_INT32]
[CL_A CL_UNSIGNED_INT8]
[CL_A CL_UNSIGNED_INT16]
[CL_A CL_UNSIGNED_INT32]
[CL_A CL_HALF_FLOAT]
[CL_A CL_FLOAT]
[CL_RG CL_SNORM_INT8]
[CL_RG CL_SNORM_INT16]
[CL_RG CL_UNORM_INT8]
[CL_RG CL_UNORM_INT16]
[CL_RG CL_SIGNED_INT8]
[CL_RG CL_SIGNED_INT16]
[CL_RG CL_SIGNED_INT32]
[CL_RG CL_UNSIGNED_INT8]
[CL_RG CL_UNSIGNED_INT16]
[CL_RG CL_UNSIGNED_INT32]
[CL_RG CL_HALF_FLOAT]
[CL_RG CL_FLOAT]
[CL_RA CL_SNORM_INT8]
[CL_RA CL_SNORM_INT16]
[CL_RA CL_UNORM_INT8]
[CL_RA CL_UNORM_INT16]
[CL_RA CL_SIGNED_INT8]
[CL_RA CL_SIGNED_INT16]
[CL_RA CL_SIGNED_INT32]
[CL_RA CL_UNSIGNED_INT8]
[CL_RA CL_UNSIGNED_INT16]
[CL_RA CL_UNSIGNED_INT32]
[CL_RA CL_HALF_FLOAT]
[CL_RA CL_FLOAT]
[CL_RGB CL_UNORM_INT_101010]
[CL_RGBA CL_SNORM_INT8]
[CL_RGBA CL_SNORM_INT16]
[CL_RGBA CL_UNORM_INT8]
[CL_RGBA CL_UNORM_INT16]
[CL_RGBA CL_SIGNED_INT8]
[CL_RGBA CL_SIGNED_INT16]
[CL_RGBA CL_SIGNED_INT32]
[CL_RGBA CL_UNSIGNED_INT8]
[CL_RGBA CL_UNSIGNED_INT16]
[CL_RGBA CL_UNSIGNED_INT32]
[CL_RGBA CL_HALF_FLOAT]
[CL_RGBA CL_FLOAT]
[CL_BGRA CL_UNORM_INT8]
[CL_INTENSITY CL_SNORM_INT8]
[CL_INTENSITY CL_SNORM_INT16]
[CL_INTENSITY CL_UNORM_INT8]
[CL_INTENSITY CL_UNORM_INT16]
[CL_INTENSITY CL_SIGNED_INT8]
[CL_INTENSITY CL_SIGNED_INT16]
[CL_INTENSITY CL_SIGNED_INT32]
[CL_INTENSITY CL_UNSIGNED_INT8]
[CL_INTENSITY CL_UNSIGNED_INT16]
[CL_INTENSITY CL_UNSIGNED_INT32]
[CL_INTENSITY CL_HALF_FLOAT]
[CL_INTENSITY CL_FLOAT]
[CL_LUMINANCE CL_SNORM_INT8]
[CL_LUMINANCE CL_SNORM_INT16]
[CL_LUMINANCE CL_UNORM_INT8]
[CL_LUMINANCE CL_UNORM_INT16]
[CL_LUMINANCE CL_SIGNED_INT8]
[CL_LUMINANCE CL_SIGNED_INT16]
[CL_LUMINANCE CL_SIGNED_INT32]
[CL_LUMINANCE CL_UNSIGNED_INT8]
[CL_LUMINANCE CL_UNSIGNED_INT16]
[CL_LUMINANCE CL_UNSIGNED_INT32]
[CL_LUMINANCE CL_HALF_FLOAT]
[CL_LUMINANCE CL_FLOAT]
[CL_Rx CL_SNORM_INT8]
[CL_Rx CL_SNORM_INT16]
[CL_Rx CL_UNORM_INT8]
[CL_Rx CL_UNORM_INT16]
[CL_Rx CL_SIGNED_INT8]
[CL_Rx CL_SIGNED_INT16]
[CL_Rx CL_SIGNED_INT32]
[CL_Rx CL_UNSIGNED_INT8]
[CL_Rx CL_UNSIGNED_INT16]
[CL_Rx CL_UNSIGNED_INT32]
[CL_Rx CL_HALF_FLOAT]
[CL_Rx CL_FLOAT]
[CL_RGBx CL_UNORM_INT_101010]
test_create_kernel:
test_create_kernel() [SUCCESS]
compiler_clod:
compiler_clod() [FAILED]
Error: image mismatch
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_shader_toy.cpp, function run_kernel, line 63
compiler_ribbon:
compiler_ribbon() [FAILED]
Error: image mismatch
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_shader_toy.cpp, function run_kernel, line 63
compiler_nautilus:
compiler_nautilus() [FAILED]
Error: image mismatch
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_shader_toy.cpp, function run_kernel, line 63
compiler_menger_sponge_no_shadow:
compiler_menger_sponge_no_shadow() [FAILED]
Error: image mismatch
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_shader_toy.cpp, function run_kernel, line 63
compiler_julia:
compiler_julia() [FAILED]
Error: image mismatch
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_shader_toy.cpp, function run_kernel, line 63
compiler_julia_no_break:
compiler_julia_no_break() [FAILED]
Error: image mismatch
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_shader_toy.cpp, function run_kernel, line 63
compiler_mandelbrot:
compiler_mandelbrot() [SUCCESS]
compiler_mandelbrot_alternate:
compiler_mandelbrot_alternate() [FAILED]
Error: image mismatch
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_mandelbrot_alternate.cpp, function compiler_mandelbrot_alternate, line 50
compiler_box_blur_float:
compiler_box_blur_float() [FAILED]
Error: image mismatch
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_box_blur_float.cpp, function compiler_box_blur_float, line 60
compiler_box_blur:
compiler_box_blur() [FAILED]
Error: image mismatch
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_box_blur.cpp, function compiler_box_blur, line 39
compiler_insert_to_constant:
compiler_insert_to_constant() [FAILED]
Error: data[4*i+0] == 0
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_insert_to_constant.cpp, function compiler_insert_to_constant, line 21
compiler_argument_structure:
compiler_argument_structure() [FAILED]
Error: ((uint32_t*)buf_data[0])[i] == 7
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_argument_structure.cpp, function compiler_argument_structure, line 24
compiler_arith_shift_right:
compiler_arith_shift_right() [FAILED]
Error: ((int *)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_arith_shift_right.cpp, function compiler_arith_shift_right, line 38
compiler_array0:
compiler_array0() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_array0.cpp, function compiler_array0, line 47
compiler_array:
compiler_array() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == 3
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_array.cpp, function compiler_array, line 23
compiler_array1:
compiler_array1() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_array1.cpp, function compiler_array1, line 46
compiler_array2:
compiler_array2() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_array2.cpp, function compiler_array2, line 44
compiler_array3:
compiler_array3() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_array3.cpp, function compiler_array3, line 45
compiler_byte_scatter:
compiler_byte_scatter() [SUCCESS]
compiler_convert_uchar_sat:
compiler_convert_uchar_sat() [FAILED]
Error: ((int *)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_convert_uchar_sat.cpp, function compiler_convert_uchar_sat, line 39
compiler_copy_buffer:
compiler_copy_buffer() [FAILED]
Error: ((uint32_t*)buf_data[0])[i] == ((uint32_t*)buf_data[1])[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_copy_buffer.cpp, function compiler_copy_buffer, line 28
compiler_copy_image:
compiler_copy_image() [SUCCESS]
compiler_copy_buffer_row:
compiler_copy_buffer_row() [FAILED]
Error: ((uint32_t*)buf_data[0])[i] == ((uint32_t*)buf_data[1])[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_copy_buffer_row.cpp, function compiler_copy_buffer_row, line 36
compiler_fabs:
compiler_fabs() [FAILED]
Error: ((float *)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_fabs.cpp, function compiler_fabs, line 39
compiler_fill_image:
compiler_fill_image() [SUCCESS]
compiler_fill_image0:
compiler_fill_image0() [SUCCESS]
compiler_function_argument0:
compiler_function_argument0() [FAILED]
Error: ((int*)buf_data[0])[i] == value
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_function_argument0.cpp, function compiler_function_argument0, line 22
compiler_function_argument1:
compiler_function_argument1() [FAILED]
Error: ((int*)buf_data[0])[i] == value + value0 + value1
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_function_argument1.cpp, function compiler_function_argument1, line 26
compiler_function_argument:
compiler_function_argument() [FAILED]
Error: ((int*)buf_data[0])[i] == value
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_function_argument.cpp, function compiler_function_argument, line 22
compiler_function_constant0:
compiler_function_constant0() [FAILED]
Error: ((uint32_t *)buf_data[2])[i] == (value + 15 + i%69)
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_function_constant0.cpp, function compiler_function_constant0, line 37
compiler_function_constant1:
compiler_function_constant1() [FAILED]
Error: ((uint32_t *)buf_data[1])[i] == (value + (i%69)*2)
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_function_constant1.cpp, function compiler_function_constant1, line 42
compiler_function_constant:
compiler_function_constant() [FAILED]
Error: ((uint32_t *)buf_data[1])[i] == (value + i%69)
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_function_constant.cpp, function compiler_function_constant, line 29
compiler_if_else:
compiler_if_else() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == 2
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_if_else.cpp, function compiler_if_else, line 27
compiler_integer_division:
compiler_integer_division() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_integer_division.cpp, function compiler_integer_division, line 39
compiler_integer_remainder:
compiler_integer_remainder() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_integer_remainder.cpp, function compiler_integer_remainder, line 39
compiler_lower_return0:
compiler_lower_return0() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == i
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_lower_return0.cpp, function compiler_lower_return0, line 27
compiler_lower_return1:
compiler_lower_return1() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == i
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_lower_return1.cpp, function compiler_lower_return1, line 27
compiler_lower_return2:
compiler_lower_return2() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_lower_return2.cpp, function compiler_lower_return2, line 42
compiler_multiple_kernels:
compiler_multiple_kernels() [SUCCESS]
compiler_saturate_int8_t:
compiler_saturate_int8_t() [SUCCESS]
compiler_saturate_uint8_t:
compiler_saturate_uint8_t() [SUCCESS]
compiler_saturate_int16_t:
compiler_saturate_int16_t() [SUCCESS]
compiler_saturate_uint16_t:
compiler_saturate_uint16_t() [SUCCESS]
compiler_saturate_int32_t:
compiler_saturate_int32_t() [FAILED]
Error: ((T*)buf_data[0])[i] == get_data<T>(i, 2)
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_saturate.cpp, function test, line 93
compiler_saturate_uint32_t:
compiler_saturate_uint32_t() [FAILED]
Error: ((T*)buf_data[0])[i] == get_data<T>(i, 2)
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_saturate.cpp, function test, line 93
compiler_saturate_sub_int8_t:
compiler_saturate_sub_int8_t() [SUCCESS]
compiler_saturate_sub_uint8_t:
compiler_saturate_sub_uint8_t() [SUCCESS]
compiler_saturate_sub_int16_t:
compiler_saturate_sub_int16_t() [SUCCESS]
compiler_saturate_sub_uint16_t:
compiler_saturate_sub_uint16_t() [SUCCESS]
compiler_saturate_sub_uint32_t:
compiler_saturate_sub_uint32_t() [FAILED]
Error: ((T*)buf_data[0])[i] == get_data<T>(i, 2)
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_saturate_sub.cpp, function test, line 93
compiler_shift_right:
compiler_shift_right() [FAILED]
Error: ((int *)buf_data[1])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_shift_right.cpp, function compiler_shift_right, line 40
compiler_short_scatter:
compiler_short_scatter() [SUCCESS]
compiler_sub_bytes:
compiler_sub_bytes() [SUCCESS]
compiler_sub_shorts:
compiler_sub_shorts() [SUCCESS]
compiler_uint2_copy:
compiler_uint2_copy() [FAILED]
Error: ((uint32_t*)buf_data[0])[i] == ((uint32_t*)buf_data[1])[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_uint2_copy.cpp, function compiler_uint2_copy, line 27
compiler_uint3_copy:
compiler_uint3_copy() [FAILED]
Error: ((uint32_t*)buf_data[0])[4*i+0] ==
((uint32_t*)buf_data[1])[4*i+0]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_uint3_copy.cpp, function compiler_uint3_copy, line 33
compiler_uint8_copy:
compiler_uint8_copy() [FAILED]
Error: ((uint32_t*)buf_data[0])[i] == ((uint32_t*)buf_data[1])[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_uint8_copy.cpp, function compiler_uint8_copy, line 31
compiler_uint16_copy:
compiler_uint16_copy() [FAILED]
Error: ((uint32_t*)buf_data[0])[i] == ((uint32_t*)buf_data[1])[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_uint16_copy.cpp, function compiler_uint16_copy, line 31
compiler_uint3_unaligned_copy:
compiler_uint3_unaligned_copy() [FAILED]
Error: ((uint32_t*)buf_data[0])[3*i+0] ==
((uint32_t*)buf_data[1])[3*i+0]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_uint3_unaligned_copy.cpp, function compiler_uint3_unaligned_copy, line 33
compiler_unstructured_branch0:
compiler_unstructured_branch0() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == 2
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_unstructured_branch0.cpp, function compiler_unstructured_branch0, line 27
compiler_unstructured_branch1:
compiler_unstructured_branch1() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == 2
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_unstructured_branch1.cpp, function compiler_unstructured_branch1, line 27
compiler_unstructured_branch2:
compiler_unstructured_branch2() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == 12
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_unstructured_branch2.cpp, function compiler_unstructured_branch2, line 27
compiler_unstructured_branch3:
compiler_unstructured_branch3() [FAILED]
Error: ((int32_t*)buf_data[1])[i] == 2
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_unstructured_branch3.cpp, function compiler_unstructured_branch3, line 29
compiler_write_only_bytes:
compiler_write_only_bytes() [SUCCESS]
compiler_write_only:
compiler_write_only() [SUCCESS]
compiler_write_only_shorts:
compiler_write_only_shorts() [SUCCESS]
compiler_switch:
compiler_switch() [FAILED]
Error: ((int32_t*)buf_data[0])[i] == cpu_dst[i]
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_switch.cpp, function compiler_switch, line 42
compiler_math:
compiler_math() [FAILED]
Error: fabs(gpu-cpu)/std::max(fabs(cpu), fabs(gpu)) < 1e-4f
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_math.cpp, function compiler_math, line 47
compiler_insn_selection_min:
compiler_insn_selection_min() [SUCCESS]
compiler_insn_selection_max:
compiler_insn_selection_max() [FAILED]
Error: dst[i] == std::max(src[i], src[0])
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_insn_selection_max.cpp, function compiler_insn_selection_max, line 31
compiler_insn_selection_masked_min_max:
compiler_insn_selection_masked_min_max() [FAILED]
Error: dst[i] == cpu_dst
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_insn_selection_masked_min_max.cpp, function compiler_insn_selection_masked_min_max, line 36
compiler_local_memory:
compiler_local_memory() [FAILED]
Error: dst[i+j] == 15-j
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_local_memory.cpp, function compiler_local_memory, line 42
compiler_local_memory_two_ptr:
compiler_local_memory_two_ptr() [FAILED]
Error: dst[i+j] == (gid&~0xf) + 15-tid + 15-tid
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_local_memory_two_ptr.cpp, function compiler_local_memory_two_ptr, line 45
compiler_local_memory_barrier:
compiler_local_memory_barrier() [FAILED]
Error: dst[i+j] == 15-j
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_local_memory_barrier.cpp, function compiler_local_memory_barrier, line 42
compiler_local_memory_barrier_wg64:
compiler_local_memory_barrier_wg64() [FAILED]
Error: dst[i+j] == 63-j
at
file /var/tmp/portage/dev-libs/beignet-9999/work/beignet-9999/utests/compiler_local_memory_barrier_wg64.cpp, function compiler_local_memory_barrier_wg64, line 42
compiler_movforphi_undef:
compiler_movforphi_undef() [SUCCESS]
compiler_volatile:
compiler_volatile() [SUCCESS]
runtime_createcontextfromtype:
runtime_createcontextfromtype() [SUCCESS]
compiler_fill_gl_image:
compiler_fill_gl_image() [SUCCESS]
---
john --platform=0 --device=0 --test:
> OpenCL platform 0: Experiment Intel Gen OCL Driver, 1 device(s).
> Using device 0: Intel HD Graphics Family
> clang: warning: argument unused during compilation: '-cl-strict-aliasing'
> clang: warning: argument unused during compilation: '-cl-mad-enable'
> /tmp/fileEvf0zD.cl:1205:2: warning: implicit declaration of function 'rotate' is
> invalid in C99 [-Wimplicit-function-declaration]
> P( A, B, C, D, E, W[0] );
> ^
> /tmp/fileEvf0zD.cl:1193:8: note: expanded from macro 'P'
> e += rotate(a, 5U) + F(b,c,d) + K + x; \
> ^
> /tmp/fileEvf0zD.cl:1205:2: warning: implicit declaration of function 'bitselect'
> is invalid in C99 [-Wimplicit-function-declaration]
> P( A, B, C, D, E, W[0] );
> ^
> /tmp/fileEvf0zD.cl:1193:24: note: expanded from macro 'P'
> e += rotate(a, 5U) + F(b,c,d) + K + x; \
> ^
> /tmp/fileEvf0zD.cl:1200:18: note: expanded from macro 'F'
> #define F(x,y,z) bitselect(z, y, x)
> ^
> /tmp/fileEvf0zD.cl:1388:14: warning: implicit declaration of function 'as_uint'
> is invalid in C99 [-Wimplicit-function-declaration]
> RawPsw[0] = SWAP32(unicode_pw[gid * PLAINTEXT_LENGTH / 2]);
> ^
> /tmp/fileEvf0zD.cl:975:20: note: expanded from macro 'SWAP32'
> #define SWAP32(a) (as_uint(as_uchar4(a).wzyx))
> ^
> 3 warnings generated.
> Stack dump:
> 0. Running pass 'Function Pass Manager' on module '/tmp/filexKkY8Z.ll'.
> 1. Running pass 'Gen Back-End' on function '@SetCryptKeys'
> Segmentation fault
More information about the Beignet
mailing list