Skip to content

Commit 1f9a23c

Browse files
committed
updates
1 parent f8ceabc commit 1f9a23c

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

ext/SHTnsKitGPUExt.jl

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,11 +1210,9 @@ function multi_gpu_analysis(mgpu_config::MultiGPUConfig, spatial_data; real_outp
12101210
lat_start = lat_end + 1
12111211
end
12121212

1213-
if real_output && eltype(spatial_data) <: Real
1214-
return real(final_coeffs)
1215-
else
1216-
return final_coeffs
1217-
end
1213+
# Spectral coefficients are always complex (even for real-valued fields),
1214+
# so real_output is accepted for API compatibility but has no effect.
1215+
return final_coeffs
12181216
end
12191217

12201218
"""
@@ -1310,11 +1308,9 @@ function multi_gpu_analysis_streaming(mgpu_config::MultiGPUConfig, spatial_data;
13101308
gpu_clear_cache!()
13111309
end
13121310

1313-
if real_output && eltype(spatial_data) <: Real
1314-
return real(final_coeffs)
1315-
else
1316-
return final_coeffs
1317-
end
1311+
# Spectral coefficients are always complex (even for real-valued fields),
1312+
# so real_output is accepted for API compatibility but has no effect.
1313+
return final_coeffs
13181314
end
13191315

13201316
"""

test/test_aqua.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ using SHTnsKit
1818
stale_deps=(ignore=[:BenchmarkTools, :SparseArrays, :MPI, :PencilArrays, :PencilFFTs],),
1919
# Disable deps_compat check entirely - stdlib packages don't need compat entries
2020
deps_compat=false,
21-
piracies=false # Disable piracy tests for packages with many extensions
21+
piracies=false, # Disable piracy tests for packages with many extensions
22+
persistent_tasks=false # FFTW.jl creates background timer tasks for wisdom management
2223
)
2324
end

0 commit comments

Comments
 (0)