cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

licoah
Journeyman III

some questions about brook+

1) fmod() and %, which is better in the kernel?

2) are there bitewise operators for the kernel? can I use &2 instead of %2?

3)can Template be used in the kernel?

Thank you for answering these questions.

0 Likes
1 Reply
gaurav_garg
Adept I

some questions about brook+

1. The best way to know it is by looking at the ISA generated for Brook+ kernel. ISA looks much simpler for % case.

2. Yes, bit-wise operators are allowed.

3. Brook+ doesn't support templates.

0 Likes