Skip to content

Commit 1c124db

Browse files
use uppercase for method name
1 parent 51d8946 commit 1c124db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/accelerator.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ type Accelerator struct {
1313
}
1414

1515
// Method to check if the accelerator is a GPU
16-
func (a Accelerator) isGpu() bool {
16+
func (a Accelerator) IsGpu() bool {
1717
return a != CPU
1818
}

0 commit comments

Comments
 (0)