As pointed out by jprice, these classes don't serve a purpose. Instead,
we stay consistent with the way memory is managed and let the Stream and
Kernel classes directly hold opaque handles to device Stream and Kernel
instances, respectively.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Looks good to me.
If there are never going to be any other platform interfaces I guess it might make sense to rename PlatformInterfaces.* to just PlatformDevice.*, but maybe it's too early for that.
Comment Actions
I agree that PlatformDevice is a a better name now. I'll get a patch up for that after this one goes in.