New genome format to support flockutil

This commit is contained in:
Steven Robertson
2011-12-15 11:11:05 -05:00
parent 12655b8611
commit b43481e374
5 changed files with 303 additions and 275 deletions

View File

@ -226,8 +226,11 @@ class GenomePacker(HunkOCode):
_defs = Template(r"""
__global__
void interp_{{tname}}({{tname}}* out, float *times, float *knots,
float tstart, float tstep, mwc_st *rctxes, int maxid) {
void interp_{{tname}}(
{{tname}}* out, mwc_st *rctxes,
const float *times, const float *knots,
float tstart, float tstep, int maxid
) {
int id = gtid();
if (id >= maxid) return;
out = &out[id];