Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .basedpyright/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -24179,6 +24179,22 @@
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 12,
"endColumn": 22,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
"startColumn": 44,
"endColumn": 53,
"lineCount": 1
}
},
{
"code": "reportAny",
"range": {
Expand All @@ -24204,7 +24220,7 @@
}
},
{
"code": "reportUnknownMemberType",
"code": "reportAny",
"range": {
"startColumn": 8,
"endColumn": 28,
Expand Down
2 changes: 1 addition & 1 deletion sumpy/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@
app, backend = fft_app

if backend == FFTBackend.loopy:
evt, output_vec = app(actx.queue, y=input_vec, wait_for=wait_for)

Check warning on line 1040 in sumpy/tools.py

View workflow job for this annotation

GitHub Actions / Conda Pytest Symengine with Loopy FFT

TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.

Check warning on line 1040 in sumpy/tools.py

View workflow job for this annotation

GitHub Actions / Conda Pytest Symengine with Loopy FFT

TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.

Check warning on line 1040 in sumpy/tools.py

View workflow job for this annotation

GitHub Actions / Conda Pytest Symengine with Loopy FFT

TranslationUnit.__call__ is uncached as of 2025, meaning it will incur possibly substantial compilation cost with every invocation. Use TranslationUnit.executor to obtain an object that holds longer-lived caches.
return (evt, output_vec["x"])
elif backend == FFTBackend.pyvkfft:
if wait_for is None:
Expand All @@ -1062,7 +1062,7 @@
raise RuntimeError("inplace fft is not supported")
else:
# FIXME: All very imperative. FFT functionality should move into the actx?
output_vec = actx.np.empty_like(input_vec) # pyright: ignore[reportUnknownMemberType, reportAttributeAccessIssue]
output_vec = actx.np.zeros_like(input_vec)

meth = app.ifft if inverse else app.fft

Expand Down
Loading