I want to pass classes that represent arbitrarily large numbers into my GPU and I was wondering if that is even possible.
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.