Skip to content

Commit 73b2e3a

Browse files
author
Quentin Berthet
committed
Don't fail on unkown parameters,
This ease the switch between Vitis and VitisAccelerator backends.
1 parent 6744a08 commit 73b2e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hls4ml/backends/vitis_accelerator/vitis_accelerator_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def create_initial_config(
4444
config['AcceleratorConfig']['Batchsize'] = batchsize
4545
return config
4646

47-
def build(self, model, reset=False, synth=True, vsynth=True):
47+
def build(self, model, reset=False, synth=True, vsynth=True, **kwargs):
4848
if 'linux' in sys.platform:
4949
if 'XILINX_VITIS' not in os.environ:
5050
raise Exception("XILINX_VITIS environmental variable missing. Please install XRT and Vitis, and run the setup scripts before building")

0 commit comments

Comments
 (0)