KomputeProject / kompute

General purpose GPU compute framework built on Vulkan to support 1000s of cross vendor graphics cards (AMD, Qualcomm, NVIDIA & friends). Blazing fast, mobile-enabled, asynchronous and optimized for advanced GPU data processing usecases. Backed by the Linux Foundation.
http://kompute.cc/
Apache License 2.0
1.88k stars 145 forks source link

Enable custom tensor datatypes with structs #351

Closed axsaucedo closed 5 months ago

axsaucedo commented 6 months ago

Currently it is possible to define custom structs for the Push and Spec constants. This PR provides a custom datatype for tensors to enable structs as provided data, together with an example of the operator overloading required.