blob: f5149ebd2fb729fa7ec1a66adba28b7dc21b4917 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "abstract_hardware_model.h"
void move_warp( warp_inst_t *&dst, warp_inst_t *&src )
{
assert( dst->empty() );
warp_inst_t* temp = dst;
dst = src;
src = temp;
src->clear();
}
|