From eb7e82ab1103f523bf50769d4803c66b2ddcde96 Mon Sep 17 00:00:00 2001 From: Shilpa Chugh Date: Mon, 17 Mar 2025 15:54:19 +0530 Subject: [PATCH] use uppercase for method name --- support/accelerator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/accelerator.go b/support/accelerator.go index 2fb14a4..7e9e78f 100644 --- a/support/accelerator.go +++ b/support/accelerator.go @@ -13,6 +13,6 @@ type Accelerator struct { } // Method to check if the accelerator is a GPU -func (a Accelerator) isGpu() bool { +func (a Accelerator) IsGpu() bool { return a != CPU }