Hello,
I am trying to learn IL and I wrote a small program that compiles an empty kernel:
il_cs_2_0
end
When I get to calclCompile it returns CAL_RESULT_ERROR. When I try to get more information using calGetErrorString it returns "No Error"! If I change the shader to a pixel shader (il_ps_2_0) then it works fine. What's the problem? Is it wrong to compile an empty cs kernel?
I have an ATI 5870 and my info.target = CAL_TARGET_CYPRESS.
Thank you.
OK. I think I figured it out. dcl_num_thread_per_group seems to be mandatory.
Hi Micah,
So how do you declare 'dcl_num_thread_per_group' when it is unknown at compile time? Or when it changes between multiple shader invocations? Do you use a default?
Thank you.
Hi roddomi,
can you tell me how do you compile an IL kernel?
thank you for help