binying

Re: Problem in running an OpenCL code

Discussion created by binying on Aug 22, 2012
Branched from an earlier discussion

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;

}

Outcomes