From 139fcaba9e6a49dc1cc53f93079b5b8cab5a0516 Mon Sep 17 00:00:00 2001 From: Jeremy Felder Date: Wed, 6 Mar 2024 13:05:30 +0200 Subject: [PATCH] formatting --- wrappers/golang/cuda_runtime/device_context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrappers/golang/cuda_runtime/device_context.go b/wrappers/golang/cuda_runtime/device_context.go index bdcfbb1959..2910bda380 100644 --- a/wrappers/golang/cuda_runtime/device_context.go +++ b/wrappers/golang/cuda_runtime/device_context.go @@ -87,12 +87,12 @@ func GetDeviceFromPointer(ptr unsafe.Pointer) int { // size := 1 << power // // // This will always print "Inner goroutine device: 0" -// // go func () { +// // go func () { // // device, _ := cr.GetDevice() // // fmt.Println("Inner goroutine device: ", device) // // }() // // To force the above goroutine to same device as the wrapping function: -// // RunOnDevice(i, func(arg ...any) { +// // RunOnDevice(i, func(arg ...any) { // // device, _ := cr.GetDevice() // // fmt.Println("Inner goroutine device: ", device) // // })