Closed nhat-nguyen closed 2 months ago
Update the sample CPU backend to use structured data class (GPUTarget) following https://github.com/openai/triton/commit/5162346487b3e3ebc062d9697429bafad25f22f6.
GPUTarget
Fixes #130
Yeah this is not ideal but is good to start. It's probably best to have a base class TritonTarget and let GPUTarget and CPUTarget inherit from it instead.
TritonTarget
CPUTarget
Update the sample CPU backend to use structured data class (
GPUTarget
) following https://github.com/openai/triton/commit/5162346487b3e3ebc062d9697429bafad25f22f6.Fixes #130