git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13906 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2015-08-19 15:15:32 +00:00
parent c85a42ab6d
commit 21f8abda24
10 changed files with 122 additions and 15 deletions

View File

@ -132,7 +132,7 @@ class UCL_Program {
}
return UCL_SUCCESS;
}
}
/// Return the default command queue/stream associated with this data
inline command_queue & cq() { return _cq; }
@ -315,6 +315,10 @@ class UCL_Kernel {
/// Clear any arguments associated with the kernel
inline void clear_args() { _num_args=0; }
/// Return the default command queue/stream associated with this data
inline command_queue & cq() { return _cq; }
/// Change the default command queue associated with matrix
inline void cq(command_queue &cq_in) { _cq=cq_in; }
#include "ucl_arg_kludge.h"
private:
@ -370,7 +374,7 @@ inline int UCL_Kernel::set_function(UCL_Program &program, const char *function)
}
#endif
#endif
return UCL_SUCCESS;
}