AnsweredAssumed Answered

Error while creating program from source

Question asked by sajis997 on Sep 5, 2013
Latest reply on Sep 10, 2013 by himanshu.gautam

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

Outcomes