Removed debugging prints
This commit is contained in:
parent
c15557d270
commit
cdb054b62c
6 changed files with 3 additions and 15 deletions
|
@ -159,7 +159,6 @@ impl Rng {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn seed(&mut self, seed: u64) {
|
pub fn seed(&mut self, seed: u64) {
|
||||||
println!("SEED {}", seed);
|
|
||||||
self.sm = SplitMix64::new(seed);
|
self.sm = SplitMix64::new(seed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -948,7 +948,6 @@ impl Matrix {
|
||||||
let mut prog = self.config.rebuild_node_ports();
|
let mut prog = self.config.rebuild_node_ports();
|
||||||
|
|
||||||
for node_id in ordered_nodes.iter() {
|
for node_id in ordered_nodes.iter() {
|
||||||
println!("PROG NODE ORD: {:?}", node_id);
|
|
||||||
self.config.add_prog_node(&mut prog, node_id);
|
self.config.add_prog_node(&mut prog, node_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -513,8 +513,6 @@ mod tests {
|
||||||
|
|
||||||
let sl = frontend.get_minmax_monitor_samples(0);
|
let sl = frontend.get_minmax_monitor_samples(0);
|
||||||
|
|
||||||
println!("{:?}", sl);
|
|
||||||
|
|
||||||
assert_eq!(sl[MONITOR_MINMAX_SAMPLES - 1], (-0.7, 0.6));
|
assert_eq!(sl[MONITOR_MINMAX_SAMPLES - 1], (-0.7, 0.6));
|
||||||
assert_eq!(sl[MONITOR_MINMAX_SAMPLES - 2], (-0.7, 0.8));
|
assert_eq!(sl[MONITOR_MINMAX_SAMPLES - 2], (-0.7, 0.8));
|
||||||
assert_eq!(sl[MONITOR_MINMAX_SAMPLES - 3], (-0.9, 0.8));
|
assert_eq!(sl[MONITOR_MINMAX_SAMPLES - 3], (-0.9, 0.8));
|
||||||
|
@ -614,7 +612,6 @@ mod tests {
|
||||||
backend.check_recycle();
|
backend.check_recycle();
|
||||||
|
|
||||||
let sl = frontend.get_minmax_monitor_samples(0);
|
let sl = frontend.get_minmax_monitor_samples(0);
|
||||||
println!("{:?}", sl);
|
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
(sl[MONITOR_MINMAX_SAMPLES - 1].1 * 10000.0).floor() as u32,
|
(sl[MONITOR_MINMAX_SAMPLES - 1].1 * 10000.0).floor() as u32,
|
||||||
|
|
|
@ -27,7 +27,7 @@ impl DropThread {
|
||||||
|
|
||||||
while let Some(_node) = graph_drop_con.pop() {
|
while let Some(_node) = graph_drop_con.pop() {
|
||||||
// drop it ...
|
// drop it ...
|
||||||
println!("Dropped some shit...");
|
//d// println!("Dropped some shit...");
|
||||||
}
|
}
|
||||||
|
|
||||||
std::thread::sleep(std::time::Duration::from_millis(250));
|
std::thread::sleep(std::time::Duration::from_millis(250));
|
||||||
|
|
|
@ -354,7 +354,6 @@ impl NodeConfigurator {
|
||||||
if let Some(modamt) = &mut nparam.modamt {
|
if let Some(modamt) = &mut nparam.modamt {
|
||||||
mod_idx = Some(modamt.0);
|
mod_idx = Some(modamt.0);
|
||||||
modamt.1 = v.unwrap_or(0.0);
|
modamt.1 = v.unwrap_or(0.0);
|
||||||
println!("SET NPARAM MOD AMT {:?} {:?} {}", param, mod_idx, modamt.1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -365,7 +364,6 @@ impl NodeConfigurator {
|
||||||
self.param_modamt.get(¶m).copied().flatten()
|
self.param_modamt.get(¶m).copied().flatten()
|
||||||
{
|
{
|
||||||
if v.is_none() {
|
if v.is_none() {
|
||||||
println!("SET NEW NONE MOD AMT {:?}", param);
|
|
||||||
self.param_modamt.insert(param, v);
|
self.param_modamt.insert(param, v);
|
||||||
true
|
true
|
||||||
|
|
||||||
|
@ -374,7 +372,6 @@ impl NodeConfigurator {
|
||||||
self.param_modamt.insert(param, v);
|
self.param_modamt.insert(param, v);
|
||||||
|
|
||||||
if let Some(mod_idx) = mod_idx {
|
if let Some(mod_idx) = mod_idx {
|
||||||
println!("SET UPD MOD AMT {:?} {:?} {:?}", param, mod_idx, modamt);
|
|
||||||
let _ =
|
let _ =
|
||||||
self.shared.quick_update_prod.push(
|
self.shared.quick_update_prod.push(
|
||||||
QuickMessage::ModamtUpdate { mod_idx, modamt });
|
QuickMessage::ModamtUpdate { mod_idx, modamt });
|
||||||
|
@ -692,8 +689,6 @@ impl NodeConfigurator {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn create_node(&mut self, ni: NodeId) -> Option<(&NodeInfo, u8)> {
|
pub fn create_node(&mut self, ni: NodeId) -> Option<(&NodeInfo, u8)> {
|
||||||
println!("create_node: {}", ni);
|
|
||||||
|
|
||||||
if let Some((mut node, info)) = node_factory(ni) {
|
if let Some((mut node, info)) = node_factory(ni) {
|
||||||
let mut index : Option<usize> = None;
|
let mut index : Option<usize> = None;
|
||||||
|
|
||||||
|
@ -826,8 +821,8 @@ impl NodeConfigurator {
|
||||||
// allocation in the output vector.
|
// allocation in the output vector.
|
||||||
*node_instance = Some(ni);
|
*node_instance = Some(ni);
|
||||||
|
|
||||||
println!("INSERT[{}]: {:?} outidx: {},{} inidx: {},{} atidx: {},{}",
|
//d// println!("INSERT[{}]: {:?} outidx: {},{} inidx: {},{} atidx: {},{}",
|
||||||
i, id, out_idx, out_len, in_idx, in_len, at_idx, at_len);
|
//d// i, id, out_idx, out_len, in_idx, in_len, at_idx, at_len);
|
||||||
|
|
||||||
// Create new parameters and initialize them if they did not
|
// Create new parameters and initialize them if they did not
|
||||||
// already exist previously
|
// already exist previously
|
||||||
|
|
|
@ -348,8 +348,6 @@ impl NodeProg {
|
||||||
|
|
||||||
pub fn assign_outputs(&mut self) {
|
pub fn assign_outputs(&mut self) {
|
||||||
for op in self.prog.iter() {
|
for op in self.prog.iter() {
|
||||||
|
|
||||||
println!("ASSIGN OUTPUTS: {}", op);
|
|
||||||
// First step is copying the ProcBufs to the `cur_inp` current
|
// First step is copying the ProcBufs to the `cur_inp` current
|
||||||
// input buffer vector. It holds the data for smoothed paramter
|
// input buffer vector. It holds the data for smoothed paramter
|
||||||
// inputs or just constant values since the last smoothing.
|
// inputs or just constant values since the last smoothing.
|
||||||
|
|
Loading…
Reference in a new issue