0 Replies Latest reply on Aug 27, 2012 11:27 PM by binying Branched from an earlier discussion.

    Re: Problem in running an OpenCL code

    binying

      step 2.  add this in line 94 before "int EigenValue::setupEigenValue()" in the *.cpp file.

       

      int

                EigenValue::genBinaryImage()

      {

                streamsdk::bifData binaryData;

                binaryData.kernelName = std::string("EigenValue_Kernels.cl");

                binaryData.flagsStr = std::string("");

                if(isComplierFlagsSpecified())

                          binaryData.flagsFileName = std::string(flags.c_str());

       

       

                binaryData.binaryName = std::string(dumpBinary.c_str());

                int status = sampleCommon->generateBinaryImage(binaryData);

                return status;

      }