google / google/xls

DSLX-test JIT does not JIT the test fn bodies, only invoked functions

Open
#120 1 comment 0 reactions 0 assignees View on GitHub
dslx jit
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

Closing this out, though going to create a derived issue for the (smaller task) remaining bits:

1. We don't translate the test function body itself (the one generally containing `assert_*` builtin calls), only function calls (via `Invocation` nodes) that are reached from the test function entrypoint.
2. We don't reuse JIT objects via our Python bindings; e.g. would be useful to amortize overhead in QuickCheck, we have to re-JIT every time at the moment I believe.

_Originally posted by @cdleary in https://github.com/google/xls/issues/10#issuecomment-682260404_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.