Comments (3)
Works fine here on Pipistrello. Here is the code converted to the new device API:
from artiq import *
class Test(EnvExperiment):
def build(self):
self.attr_device("core")
@kernel
def run(self):
L = 10000
buf = [int64(0) for _ in range(L)]
count = 0
for i in range(L):
if buf[i] > 0:
count += 1
print(count)
Do you still have problems with it?
from artiq.
As I remember, this was not a compiler optimization problem, but an instability problem. Might have been solved with the concurrent memory access correction.
from artiq.
Just tested OK on KC705 as well. Reopen if you still have problems.
from artiq.
Related Issues (20)
- editable installation bug for pip 23.1.2 HOT 4
- Remote debugging support on artiq_master
- Kasli-SoC runs last `except` handler if no others match
- SU Servo initialisation problems together with stand-alone Urukul HOT 3
- SED: Lane exhaustion even with clearing RTIO via core.reset(), when too many events were scheduled to the future HOT 4
- Import: Inconsistencies, when relatively importing modules inside an experiment's method
- Panic at runtime/rtio_mgt.rs after repeated DMA usage HOT 2
- Grabber+SUServo gateware build fails HOT 1
- ExplicitScan not compatible with numpy array
- Compiling kernel functions with closures fails to use cell contents HOT 1
- Cannot move Applets GUI Window in WSL2 HOT 7
- Urukul sync + DRTIO EEPROM access issue
- Sporadic "close socket: Interrupted" panic on master
- Placer fails when implementing artiq on Kasli v2 with Fastino log2_width=5 HOT 2
- dashboard.datasets.CreateEditDialog misrepresents dataset types HOT 4
- fix almazny doc formatting
- dashboard dataset float64 bug
- argument of random.shuffle() removed in python 3.11
- Sync applets across dashboards with master-running AppletDB class HOT 2
- lit tests fail with python 3.11
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 artiq.