Skip to content

Commit

Permalink
Error if extra atom bits used with pop16 axons
Browse files Browse the repository at this point in the history
Not supported by NxSDK (currently 0.9.5.rc0).
  • Loading branch information
hunse committed Apr 14, 2020
1 parent 2401c99 commit 20c7d19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nengo_loihi/hardware/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,11 @@ def build_synapse(nxsdk_core, core, block, synapse, compartment_idxs): # noqa C
atom_bits = synapse.atom_bits()
axon_bits = synapse.axon_bits()
atom_bits_extra = synapse.atom_bits_extra()
if atom_bits_extra > 0:
raise NotImplementedError(
"Using more than 32 'populations' (e.g. convolutional filters) with "
"`pop_type=16` axons has not yet been implemented in NxSDK"
)

target_compartments = set()
synapse_map = {} # map weight_idx to (ptr, pop_size, len)
Expand Down

0 comments on commit 20c7d19

Please sign in to comment.