File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -83,17 +83,17 @@ def test_numba(
8383):
8484 udf = textwrap .dedent (
8585 f"""
86- CREATE OR REPLACE { sample_slc .language_alias } SCALAR SCRIPT
87- test_gpu_available()
88- RETURNS VARCHAR(1000) AS
89- %perInstanceRequiredAcceleratorDevices GpuNvidia;
90- from numba import cuda
91- def run(ctx):
92- if cuda.is_available():
93- return "GPU Found"
94- else:
95- return "GPU Not Found"
96- /
86+ CREATE OR REPLACE { sample_slc .language_alias } SCALAR SCRIPT
87+ test_gpu_available()
88+ RETURNS VARCHAR(1000) AS
89+ %perInstanceRequiredAcceleratorDevices GpuNvidia;
90+ from numba import cuda
91+ def run(ctx):
92+ if cuda.is_available():
93+ return "GPU Found"
94+ else:
95+ return "GPU Not Found"
96+ /
9797 """
9898 )
9999 con = open_pyexasol_connection_with_lang_definitions (secrets_module )
You can’t perform that action at this time.
0 commit comments