cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

LenAlox
Journeyman III

Classes in Brook+

Can a class be passed to a kernel?

I want to pass classes that represent arbitrarily large numbers into my GPU and I was wondering if that is even possible.

0 Likes
1 Reply
gaurav_garg
Adept I

You can use structures. But, I think it is not as flexible as C.

Take a look at Brook+ struct sample under samples\legacy\tests\struct directory.

0 Likes