Comments (2)
Thank you for pointing it out. Much appreciated.
from sycl-bench.
You are accessing member variables captured by value [=]
in the kernel. C++ tries to access them through the this
pointer, which results in an illegal memory accesss.
To fix this, you can either:
- Explicitly capture the variable in the lambda (e.g.
[Ndim_ = Ndim, ...](...)
) - Declare your variables as
static constexpr
. This would make the optimizer propagate their value and avoid any memory accesses.
from sycl-bench.
Related Issues (17)
- Add references to original implementations of benchmarks
- Use ndrange of hierarchical parallel for in pattern_shared
- More special treatment for implementations in CMakeLists.txt
- Some thoughts on DRAM throughput benchmarking HOT 7
- Fix the run-suite brommy.bmp not found issue HOT 2
- Investigate nbody on ComputeCpp HOT 2
- Let run-suite read test profiles from yaml or json
- Questions about the single kernel set HOT 2
- use of undeclared identifier 'device_selector' HOT 2
- Race condition in scalar prod HOT 1
- Problem in compilation stage with. computecpp 2.0.0 HOT 3
- build procedure HOT 1
- Issue with --local command line parameter. HOT 6
- blocked_transform is broken due to SYCL 2020 offset semantics HOT 1
- `emitResults` has invalid memory accesses when used with `--warmup-run` & the first run fails HOT 1
- Decide on future of sycl2020 branch - make default branch or merge into main? HOT 2
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 sycl-bench.