Skip to content

Commit

Permalink
refs #2: Fix debug config to use generalized GPU ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed May 12, 2015
1 parent 588790d commit 566ea8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configs/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

for netdev in nba.get_netdevices():
print(netdev)
for coproc in nba.get_coprocessors():
coprocessors = nba.get_coprocessors()
for coproc in coprocessors:
print(coproc)
node_cpus = nba.get_cpu_node_mapping()
for node_id, cpus in enumerate(node_cpus):
Expand Down Expand Up @@ -33,7 +34,7 @@

coproc_threads = [
# core_id, device_id
nba.CoprocThread(core_id=node_cpus[0][7] + _ht_diff, device_id=0),
nba.CoprocThread(core_id=node_cpus[0][7] + _ht_diff, device_id=coprocessors[0].device_id),
]

queues = [
Expand Down

0 comments on commit 566ea8a

Please sign in to comment.