Comments (5)
from raftlib.
I looked into some of the code that was there and wasn't sure what the intention was for some of that.
Are you thinking this should be a run-time parameter you can set on the FIFO -- something like setOverflowBehavior -- or as a separate implementation type entirely put in the const_map for port_info?
from raftlib.
from raftlib.
I checked out dev; seems like a lot is ifdef'ed out for the refactor so I couldn't trace through it while running.
It seems like overrun behavior should be settable on the port and not the kernel. So would the syntax look something like:
M += s["0"] >> raft::manip< raft::fifo::drop_overrun >::value >> l;
to set the fifo to drop overruns for s["0"]?
That seems to imply that this is a run-time settable attribute on the FIFO -- by the time any of the stream operators kick in, the ports are already made -- so would a PR where you can set the behavior directly on the FIFO be helpful until the refactor with more manip functionality is done?
from raftlib.
This one will be added into the improved parser over my current vacation :).
I'd rather not create yet another syntax option that would fragment the environment. The only problem with the runtime settable version is creating more than one way of doing things...which isn't a problem in and of itself, but does make it harder for people to learn.
from raftlib.
Related Issues (20)
- Make include guards unique HOT 2
- update qthreads version HOT 1
- fix cmake required version warnings
- namespace collision with common name in units.hpp header
- Debug detailed Info HOT 3
- Clarification around work generation of GPUs and CPUs
- Compiling on Windows HOT 9
- Can't get stream operators to work HOT 6
- Download all submodules with code zip download HOT 1
- rbzip2 with Qthreads hanging/crashing HOT 4
- Map having no data source (a kernel has input only) could trigger segfault when execution starts. HOT 1
- File not found error for "hh.hpp" during raftlib compilation using pkgconfig HOT 5
- No such file or directory error for "raftutility". (example1.cc:9:10: fatal error: raftutility: No such file or directory) HOT 3
- Leading _kset_ to _kset_ join operator fails to parse in DSL HOT 1
- The const_map inilization could be deferred to when map execution settings are available
- CPU Consumption in a dormant system HOT 3
- hh.hpp file not found while compiling poc.cpp example HOT 1
- Unable to build v2020.07.01 from source - missing include file HOT 6
- Set task execution to happen on the main thread
- How to limit maximum capacity of a port?
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 raftlib.