/*! [config] name: Test int min built-in on CL 1.1 clc_version_min: 11 dimensions: 1 global_size: 1 0 0 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] 2 arg_in: 1 buffer int[1] 92 arg_in: 2 buffer int[1] 2 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] 1 arg_in: 1 buffer int[1] 64 arg_in: 2 buffer int[1] 1 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] -2147483648 arg_in: 1 buffer int[1] 2 arg_in: 2 buffer int[1] -2147483648 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] 4 arg_in: 1 buffer int[1] 12 arg_in: 2 buffer int[1] 4 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] 1 arg_in: 1 buffer int[1] 2147483647 arg_in: 2 buffer int[1] 1 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] -2147483648 arg_in: 1 buffer int[1] -2147483648 arg_in: 2 buffer int[1] 1 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] 2147483647 arg_in: 1 buffer int[1] 2147483647 arg_in: 2 buffer int[1] 2147483647 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] -2147483648 arg_in: 1 buffer int[1] -2147483648 arg_in: 2 buffer int[1] -2147483648 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] -2147483648 arg_in: 1 buffer int[1] -2147483648 arg_in: 2 buffer int[1] 2147483647 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] 0 arg_in: 1 buffer int[1] 0 arg_in: 2 buffer int[1] 0 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] 2147483647 arg_in: 1 buffer int[1] 2147483647 arg_in: 2 buffer int[1] 2147483647 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] -2147483648 arg_in: 1 buffer int[1] -1 arg_in: 2 buffer int[1] -2147483648 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] -1 arg_in: 1 buffer int[1] 1 arg_in: 2 buffer int[1] -1 [test] name: min int1 kernel_name: test_1_min_int arg_out: 0 buffer int[1] -2147483648 arg_in: 1 buffer int[1] -2147483648 arg_in: 2 buffer int[1] -1 !*/ kernel void test_1_min_int(global int* out, global int* in0, global int* in1){ *out = min(*in0, *in1); }