~ubuntu-branches/ubuntu/utopic/fftw3/utopic

« back to all changes in this revision

Viewing changes to rdft/hc2hc-direct.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-12-14 13:21:22 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20111214132122-l4avyl2kkr7vq5aj
Tags: 3.3-1ubuntu1
* Merge with Debian; remaining changes:
  - Revert the ARM workaround.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2003, 2007-8 Matteo Frigo
3
 
 * Copyright (c) 2003, 2007-8 Massachusetts Institute of Technology
 
2
 * Copyright (c) 2003, 2007-11 Matteo Frigo
 
3
 * Copyright (c) 2003, 2007-11 Massachusetts Institute of Technology
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or modify
6
6
 * it under the terms of the GNU General Public License as published by
100
100
     INT mb = ego->mb, me = ego->me, ms = ego->ms;
101
101
     INT batchsz = compute_batchsize(r);
102
102
     R *buf;
 
103
     size_t bufsz = r * batchsz * 2 * sizeof(R);
103
104
 
104
 
     STACK_MALLOC(R *, buf, r * batchsz * 2 * sizeof(R));
 
105
     BUF_ALLOC(R *, buf, bufsz);
105
106
 
106
107
     for (i = 0; i < v; ++i, IO += ego->vs) {
107
108
          R *IOp = IO;
117
118
          cldm->apply((plan *) cldm, IO + ms * (m/2), IO + ms * (m/2));
118
119
     }
119
120
 
120
 
     STACK_FREE(buf);
 
121
     BUF_FREE(buf, bufsz);
121
122
}
122
123
 
123
124
static void awake(plan *ego_, enum wakefulness wakefulness)