diff --git a/docs/coverage.out b/docs/coverage.out index 686f293..2ede3de 100644 --- a/docs/coverage.out +++ b/docs/coverage.out @@ -11,13 +11,13 @@ github.com/gomlx/gopjrt/pjrt/buffers.go:221: Done 82.2% github.com/gomlx/gopjrt/pjrt/buffers.go:294: FromFlatDataWithDimensions 62.5% github.com/gomlx/gopjrt/pjrt/buffers.go:335: ScalarToRaw 0.0% github.com/gomlx/gopjrt/pjrt/buffers.go:342: Size 0.0% -github.com/gomlx/gopjrt/pjrt/buffers.go:364: ToHost 89.2% -github.com/gomlx/gopjrt/pjrt/buffers.go:426: BufferToScalar 100.0% -github.com/gomlx/gopjrt/pjrt/buffers.go:441: ScalarToBuffer 100.0% -github.com/gomlx/gopjrt/pjrt/buffers.go:456: ScalarToBufferOnDeviceNum 0.0% -github.com/gomlx/gopjrt/pjrt/buffers.go:472: ArrayToBuffer 100.0% -github.com/gomlx/gopjrt/pjrt/buffers.go:477: BufferToArray 76.9% -github.com/gomlx/gopjrt/pjrt/buffers.go:520: ToFlatDataAndDimensions 0.0% +github.com/gomlx/gopjrt/pjrt/buffers.go:365: ToHost 89.5% +github.com/gomlx/gopjrt/pjrt/buffers.go:428: BufferToScalar 100.0% +github.com/gomlx/gopjrt/pjrt/buffers.go:443: ScalarToBuffer 100.0% +github.com/gomlx/gopjrt/pjrt/buffers.go:458: ScalarToBufferOnDeviceNum 0.0% +github.com/gomlx/gopjrt/pjrt/buffers.go:474: ArrayToBuffer 100.0% +github.com/gomlx/gopjrt/pjrt/buffers.go:479: BufferToArray 76.9% +github.com/gomlx/gopjrt/pjrt/buffers.go:522: ToFlatDataAndDimensions 0.0% github.com/gomlx/gopjrt/pjrt/clients.go:17: pjrtClientPlatformName 85.7% github.com/gomlx/gopjrt/pjrt/clients.go:28: pjrtClientPlatformVersion 85.7% github.com/gomlx/gopjrt/pjrt/clients.go:39: pjrtClientProcessIndex 85.7% @@ -39,10 +39,10 @@ github.com/gomlx/gopjrt/pjrt/clients.go:266: Compile 100.0% github.com/gomlx/gopjrt/pjrt/clients.go:275: BufferFromHost 100.0% github.com/gomlx/gopjrt/pjrt/common.go:6: keys 0.0% github.com/gomlx/gopjrt/pjrt/compile.go:47: newCompileConfig 100.0% -github.com/gomlx/gopjrt/pjrt/compile.go:64: Done 75.0% -github.com/gomlx/gopjrt/pjrt/compile.go:123: WithHLO 62.5% -github.com/gomlx/gopjrt/pjrt/compile.go:144: WithStableHLO 0.0% -github.com/gomlx/gopjrt/pjrt/compile.go:183: WithComputation 40.0% +github.com/gomlx/gopjrt/pjrt/compile.go:73: Done 75.9% +github.com/gomlx/gopjrt/pjrt/compile.go:133: WithHLO 62.5% +github.com/gomlx/gopjrt/pjrt/compile.go:154: WithStableHLO 0.0% +github.com/gomlx/gopjrt/pjrt/compile.go:193: WithComputation 40.0% github.com/gomlx/gopjrt/pjrt/cuda.go:14: isCuda 100.0% github.com/gomlx/gopjrt/pjrt/cuda.go:22: hasNvidiaGPU 0.0% github.com/gomlx/gopjrt/pjrt/cuda.go:43: cudaPluginCheckDrivers 30.8% @@ -60,7 +60,7 @@ github.com/gomlx/gopjrt/pjrt/dynamiclib.go:89: loadNamedPlugin 74.2% github.com/gomlx/gopjrt/pjrt/dynamiclib.go:149: pathToPluginName 80.0% github.com/gomlx/gopjrt/pjrt/dynamiclib.go:168: AvailablePlugins 0.0% github.com/gomlx/gopjrt/pjrt/dynamiclib.go:172: searchPlugin 100.0% -github.com/gomlx/gopjrt/pjrt/dynamiclib.go:177: searchPlugins 78.9% +github.com/gomlx/gopjrt/pjrt/dynamiclib.go:177: searchPlugins 84.2% github.com/gomlx/gopjrt/pjrt/dynamiclib.go:213: checkPlugin 60.9% github.com/gomlx/gopjrt/pjrt/dynamiclib.go:262: SuppressAbseilLoggingHack 0.0% github.com/gomlx/gopjrt/pjrt/dynamiclib.go:279: suppressLogging 0.0% @@ -70,10 +70,10 @@ github.com/gomlx/gopjrt/pjrt/dynamiclib_dlopen.go:118: loadPlugin 51.7% github.com/gomlx/gopjrt/pjrt/dynamiclib_dlopen.go:168: GetPJRTApiFn 100.0% github.com/gomlx/gopjrt/pjrt/dynamiclib_dlopen.go:173: GetSymbolPointer 87.5% github.com/gomlx/gopjrt/pjrt/dynamiclib_dlopen.go:188: Close 83.3% -github.com/gomlx/gopjrt/pjrt/error.go:16: pjrtErrorDestroy 0.0% -github.com/gomlx/gopjrt/pjrt/error.go:24: pjrtErrorMessage 0.0% -github.com/gomlx/gopjrt/pjrt/error.go:34: pjrtErrorGetCode 0.0% -github.com/gomlx/gopjrt/pjrt/error.go:46: toError 33.3% +github.com/gomlx/gopjrt/pjrt/error.go:17: pjrtErrorDestroy 0.0% +github.com/gomlx/gopjrt/pjrt/error.go:25: pjrtErrorMessage 0.0% +github.com/gomlx/gopjrt/pjrt/error.go:37: pjrtErrorGetCode 0.0% +github.com/gomlx/gopjrt/pjrt/error.go:49: toError 33.3% github.com/gomlx/gopjrt/pjrt/events.go:25: newEvent 50.0% github.com/gomlx/gopjrt/pjrt/events.go:41: Destroy 90.0% github.com/gomlx/gopjrt/pjrt/events.go:57: Await 85.7% @@ -114,11 +114,12 @@ github.com/gomlx/gopjrt/pjrt/pjrt.go:17: panicf 0.0% github.com/gomlx/gopjrt/pjrt/plugins.go:45: pjrtPluginInitialize 100.0% github.com/gomlx/gopjrt/pjrt/plugins.go:53: pjrtPluginAttributes 87.5% github.com/gomlx/gopjrt/pjrt/plugins.go:67: newPlugin 75.0% -github.com/gomlx/gopjrt/pjrt/plugins.go:95: GetPlugin 100.0% -github.com/gomlx/gopjrt/pjrt/plugins.go:100: Name 100.0% -github.com/gomlx/gopjrt/pjrt/plugins.go:105: Path 100.0% -github.com/gomlx/gopjrt/pjrt/plugins.go:110: Version 100.0% -github.com/gomlx/gopjrt/pjrt/plugins.go:115: Attributes 100.0% -github.com/gomlx/gopjrt/pjrt/plugins.go:120: String 75.0% -github.com/gomlx/gopjrt/pjrt/plugins.go:130: NewClient 100.0% -total: (statements) 53.2% +github.com/gomlx/gopjrt/pjrt/plugins.go:93: RegisterPreloadedPlugin 0.0% +github.com/gomlx/gopjrt/pjrt/plugins.go:111: GetPlugin 100.0% +github.com/gomlx/gopjrt/pjrt/plugins.go:116: Name 100.0% +github.com/gomlx/gopjrt/pjrt/plugins.go:121: Path 100.0% +github.com/gomlx/gopjrt/pjrt/plugins.go:126: Version 100.0% +github.com/gomlx/gopjrt/pjrt/plugins.go:131: Attributes 100.0% +github.com/gomlx/gopjrt/pjrt/plugins.go:136: String 75.0% +github.com/gomlx/gopjrt/pjrt/plugins.go:146: NewClient 100.0% +total: (statements) 53.0%