2 Replies Latest reply on Sep 10, 2013 2:15 AM by himanshu.gautam

    Error while creating program from source

    sajis997

      Hi forum,

       

       

      I am trying to create an program object from source and i am getting the following error :

       

      //////////////////////////////////////////////////////////////////////////////////////////////////////////////

      Source file: TexFilter.cl

      createProgramFromSource: Error in OpenCL Program Object building.

      ptxas application ptx input, line 100; error   : Illegal operand type to instruction 'ld'

      ptxas application ptx input, line 111; error   : Call has wrong number of parameters

      ptxas fatal   : Ptx assembly aborted due to errors

       

       

      createProgramFromSource: CL_INVALID_BINARY

       

      //////////////////////////////////////////////////////////////////////////////////////////////////////////////

       

      I am not building the program object using binary . Why is it reporting CL_INVALID_BINARY ? And the previous three lines are obscure to me as well.

       

      Any idea folks?

       

       

      Thanks

      Sajjadul