<<  >> (p.7)
    Author Topic: Modified Kernel for Phoenix 1.5  (Read 96961 times)
    iopq
    Hero Member
    *****
    Offline Offline

    Activity: 658
    Merit: 500


    View Profile
    July 31, 2011, 10:20:05 AM
     #121

    Quote
    doesn't work when vectors are turned on
    I am running SDK 2.1, it's either -v or --phatk2, doesn't work with both
    How odd. Do you recall what the error message was, if any?

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(189): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[22] = P3C(22) + P1(22);
                              ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(189): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[22] = P3C(22) + P1(22);
                              ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(189): error: mixed
              vector-scalar operation not allowed unless
              up-convertable(scalar-type=>vector-element-type)
            W[22] = P3C(22) + P1(22);
                              ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(190): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[23] = W16 + P1(23);
                          ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(190): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[23] = W16 + P1(23);
                          ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(190): error: mixed
              vector-scalar operation not allowed unless
              up-convertable(scalar-type=>vector-element-type)
            W[23] = W16 + P1(23);
                          ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: mixed
              vector-scalar operation not allowed unless
              up-convertable(scalar-type=>vector-element-type)
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(191): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(7);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(192): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[24] = W17 + P1(24);
                          ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(192): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[24] = W17 + P1(24);
                          ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(192): error: mixed
              vector-scalar operation not allowed unless
              up-convertable(scalar-type=>vector-element-type)
            W[24] = W17 + P1(24);
                          ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: mixed
              vector-scalar operation not allowed unless
              up-convertable(scalar-type=>vector-element-type)
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(193): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(Cool;
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(194): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[25] = P1(25) + P3(25);
                    ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(194): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[25] = P1(25) + P3(25);
                    ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(194): error: mixed
              vector-scalar operation not allowed unless
              up-convertable(scalar-type=>vector-element-type)
            W[25] = P1(25) + P3(25);
                    ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: mixed
              vector-scalar operation not allowed unless
              up-convertable(scalar-type=>vector-element-type)
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(195): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            sharoundC(9);
            ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(196): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[26] = P1(26) + P3(26);
                    ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(196): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[26] = P1(26) + P3(26);
                    ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(196): error: mixed
              vector-scalar operation not allowed unless
              up-convertable(scalar-type=>vector-element-type)
            W[26] = P1(26) + P3(26);
                    ^

    C:\Users\Igor\AppData\Local\Temp\OCL1F64.tmp.cl(197): error: bad argument type
              to opencl builtin function: expected type "uint2", actual type "int"
            W[27] = P1(27) + P3(27);
                    ^

    Error limit reached.
    100 errors detected in the compilation of "C:\Users\Igor\AppData\Local\Temp\OCL1
    F64.tmp.cl".
    Compilation terminated.
Page 6
Viewing Page: 7