Quantcast
Channel: Community : All Content - OpenCL
Viewing all articles
Browse latest Browse all 2400

Problem in binary size

$
0
0

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.


Viewing all articles
Browse latest Browse all 2400

Trending Articles