brcc.exe crashes

Discussion created by miodrag.r on May 15, 2008
Latest reply on May 21, 2008 by michael.chu
brcc bugs


First of all, I would like to say that I am glad that AMD made this SDK public for beta testing, and that AMD is putting a lot of effort to improve it.

Here are few bugs in brcc.exe that I run across while I was trying to port some of my faculty projects to run on my Radeon 3850 GPU.

Following code causes brcc to crush:
kernel void gather_res(float res[], float selectedV[], out float elem<>){
elem= res[selectedV[1]];
While the following code compiles without any problem:
kernel void gather_res(float res[], float selectedV[], out float elem<>){
float selected=selectedV[1];
elem= res[selected];

Here I would like to ask, is there any other way to pass a single float value which resigns in GPU's memory to a kernel?

Also, omitting the type of an output stream causes brcc to crash, instead of generating error report:
kernel void test(float str<>, out newStr<>){

There is also a bug that allows me to specify more than one argument for normalize function, while the code compiles without any error report, the program doesn't run correctly:
out = normalize(in,0,1); //I have changed clamp to normalize and forgot to remove arguments

I hope these examples will help you locate and correct those bugs.
At the end, I would like to note that it would be nice if I could also utilize Mobility Radeon HD2600 in my laptop with some future release of the SDK.

Best regards,