cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

rveldema
Journeyman III

bug report

brcc does not grok access expressions over ::

It looks like brcc does not parse expressions containing "::" correctly,

Putting this into a x.br file and running brcc over:
void   brook_trampoline_gpgpu_1_foo()
{
int a;
brook::Stream b;
int c;
}

causes both/either a syntax error or a 'can't have label at the end-of-a-block" error.

0 Likes
2 Replies
rick_weber
Adept II

From my experience, it´s best to put only kernels in your .br files and then use the C++ interface for calling kernels and making streams.

0 Likes
gaurav_garg
Adept I

brcc is based on C, hence it doesn't support namespace.

0 Likes