0 Replies Latest reply on Feb 27, 2013 10:36 AM by dkissick

    clAmdBlasTune problem

    dkissick

      Whenever I run clAmdBlasTune, I immediately get this error:

      GEMV is being tuned, progress:  0.03% clEnqueueNDRangeKernel() failed with -5(CL_OUT_OF_RESOURCES)

       

      So, I've investigated other options, most of which gave errors, including segmentation faults and Build log errors (like the one at the end) and more. I assume something this bad is my fault and has to do with my system's configuration. I am running 64-bit linux (Linux Mint 14). I have installed the 13.1 catalyst drivers, the APP SDK version 2.8 and clAmdBlas 1.8.291. I'm using the A10 5800K processor. I've attached my clinfo output as well. All of the examples build and run fine. It is just the tuning program that seems upset.

       

      Can anyone point out what I'm doing wrong? Any help is greatly appreciated!

       

      Build log:

       

      "/tmp/OCLXLraYG.cl", line 54: warning: explicit type is missing ("int" assumed)

            const __global  *restrict A,

                            ^

       

      "/tmp/OCLXLraYG.cl", line 55: warning: explicit type is missing ("int" assumed)

            const __global  *restrict B,

                            ^

       

      "/tmp/OCLXLraYG.cl", line 56: warning: explicit type is missing ("int" assumed)

            __global  *C,

                      ^

       

      "/tmp/OCLXLraYG.cl", line 138: warning: a value of type "__global int *"

                cannot be assigned to an entity of type "__global double2 *"

            uC.d2v = C + coord.x * ldc + coord.y;

                   ^

       

      "/tmp/OCLXLraYG.cl", line 140: warning: explicit type is missing ("int"

                assumed)

            __global  *pC = uC.d0v;

                      ^

       

      "/tmp/OCLXLraYG.cl", line 140: error: union "GPtr" has no field "d0v"

            __global  *pC = uC.d0v;

                               ^

       

      "/tmp/OCLXLraYG.cl", line 168: error: a value of type "double4" cannot be

                assigned to an entity of type "int"

            pC[0] = tempC0;

                  ^

       

      "/tmp/OCLXLraYG.cl", line 169: error: a value of type "double4" cannot be

                assigned to an entity of type "int"

            pC[1] = tempC0;

                  ^

       

      "/tmp/OCLXLraYG.cl", line 170: error: a value of type "double4" cannot be

                assigned to an entity of type "int"

            pC[ldc] = tempC1;

                    ^

       

      "/tmp/OCLXLraYG.cl", line 171: error: a value of type "double4" cannot be

                assigned to an entity of type "int"

            pC[ldc + 1] = tempC1;

                        ^

       

      "/tmp/OCLXLraYG.cl", line 172: error: a value of type "double4" cannot be

                assigned to an entity of type "int"

            pC[(ldc << 1)] = tempC2;

                           ^

       

      "/tmp/OCLXLraYG.cl", line 173: error: a value of type "double4" cannot be

                assigned to an entity of type "int"

            pC[mad24(2u, ldc, 1u)] = tempC2;

                                   ^

       

      "/tmp/OCLXLraYG.cl", line 174: error: a value of type "double4" cannot be

                assigned to an entity of type "int"

            pC[mad24(3u, ldc, 0u)] = tempC3;

                                   ^

       

      "/tmp/OCLXLraYG.cl", line 175: error: a value of type "double4" cannot be

                assigned to an entity of type "int"

            pC[mad24(3u, ldc, 1u)] = tempC3;

                                   ^

       

      9 errors detected in the compilation of "/tmp/OCLXLraYG.cl".

       

      Frontend phase failed compilation.

       

      ========================================================