Comments (6)
For compyte, I recommend cloning with --recursive
as it is a submodule!
from loopy.
Related to this, it would be useful if the test dependencies (seemingly compyte) were listed somewhere and/or on pypi :)
from loopy.
ahhh, that explains it!
from loopy.
I still get several errors of the form:
E ImportError: No module named compyte.dtypes
when running python test/test_target.py
.
I assume this from my incorrect calling of the tests?
from loopy.
Is there any method to run all the test_whatever.py in the top test/ directory?
loopy/test$ python -m pytest
(runs all tests on all available CL implementations)
or
loopy/test$ PYOPENCL_TEST=int python -m pytest
(runs all tests on all CL implementations whose name includes the case-insensitive substring int
, e.g. "Intel
")
Related to this, it would be useful if the test dependencies (seemingly compyte) were listed somewhere and/or on pypi :)
As @dokempf points out, it's a git submodule. As for pypi, the compyte bits are included in the tarball, so there's no reason to have a separate download.
I still get several errors of the form:
E ImportError: No module named compyte.dtypes
Did you reinstall after grabbing the compyte
sources?
I see that in auto_test.py the function:
_enumerate_cl_devices_for_ref_test
seems to exclude Intel as a target for being buggy.
What auto_test
does is run your code twice: untransformed (ref_knl
) on a CPU and transformed (knl
) wherever you said it should be run, and then it compares the results of both runs. The code that you saw only determines what CPU implementations are eligible for the "reference" run. The non-reference run takes place wherever you specified above ("everywhere" or a specific implementation).
Intel has gotten good enough that (at least newer versions of it) should probably no longer be on the blacklist. AMD CPU on the other hand has gotten bad enough that it probably should be blacklisted.
I hope this resolves your concern. If not, please reopen this bug.
from loopy.
Yup, all fixed thanks!
from loopy.
Related Issues (20)
- lp.make_einsum fails parsing subscript expressions with spaces in them
- Poor scaling with many calls to add_prefetch HOT 3
- CInstructions break get_op_map HOT 2
- Private variables not supported with ISPC / Exception needs explanations HOT 1
- LOCAL memory access starts at an inefficient point relative to access pattern HOT 2
- Back out the implemented-domains cache hackery
- check_implemented_domains still fails HOT 1
- Allow vec tagging of odd sizes for local temporaries HOT 1
- Support pragma unroll HOT 3
- ASV sumpy benchmarks are broken
- Math callables not registered inside pymbolic LogicalNot HOT 2
- Replace `_lpy_even_div` with `//` in unchecked mode
- `memoize_on_disk` can produce filenames that are too long HOT 1
- matmul.floopy doesn't seem to work HOT 2
- Unsigned array bounds break in CUDA HOT 2
- Loss of length-1 inames HOT 2
- Pinning dependencies HOT 2
- Enable `check_untyped_defs` in mypy
- `np.bool8` is deprecated HOT 2
- Loopy does not generate valid C code with numpy 2.0 (release candidate) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loopy.