AnsweredAssumed Answered

Problem in binary size

Question asked by hojin on Oct 10, 2012
Latest reply on Oct 16, 2012 by binying

Hi.

I am developing some application with AMD OpenCL.

But as I compiled certain small CL code, its binary size was too big, so program was down.

When I use NVIDA or Intel OpenCL Compiler, it works well.

While the size of binary of compiled by Intel is 19kB, that of AMD is 2MB.

Can you check?

 

Here is a simple example

 

 

typedef struct

 

{

          short block[12][64];

}MB_information;

 

__kernel main()

{

          MB_information MB;

          Saturate(MB.block[i]);

}

 

 

void Saturate(short* Block_Ptr)

 

{

          Block_Ptr[i] = val;

}

 

 

 

 

Thank you.

Outcomes