BasicLink.cc (8258:7c377f5162f8) | BasicLink.cc (11663:cf870cd20cfc) |
---|---|
1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 42 unchanged lines hidden (view full) --- 51BasicLinkParams::create() 52{ 53 return new BasicLink(this); 54} 55 56BasicExtLink::BasicExtLink(const Params *p) 57 : BasicLink(p) 58{ | 1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 42 unchanged lines hidden (view full) --- 51BasicLinkParams::create() 52{ 53 return new BasicLink(this); 54} 55 56BasicExtLink::BasicExtLink(const Params *p) 57 : BasicLink(p) 58{ |
59 m_int_node = p->int_node; 60 m_ext_node = p->ext_node; | |
61} 62 63BasicExtLink * 64BasicExtLinkParams::create() 65{ 66 return new BasicExtLink(this); 67} 68 69BasicIntLink::BasicIntLink(const Params *p) 70 : BasicLink(p) 71{ | 59} 60 61BasicExtLink * 62BasicExtLinkParams::create() 63{ 64 return new BasicExtLink(this); 65} 66 67BasicIntLink::BasicIntLink(const Params *p) 68 : BasicLink(p) 69{ |
72 m_node_a = p->node_a; 73 m_node_b = p->node_b; | |
74} 75 76BasicIntLink * 77BasicIntLinkParams::create() 78{ 79 return new BasicIntLink(this); 80} | 70} 71 72BasicIntLink * 73BasicIntLinkParams::create() 74{ 75 return new BasicIntLink(this); 76} |