Package hedge :: Package cuda :: Module tools
[frames] | no frames]

Module tools

source code

Interface with Nvidia CUDA.


Copyright: Copyright (C) 2008 Andreas Kloeckner

License: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see U{http://www.gnu.org/licenses/}.

Classes
  DeviceData
  OccupancyRecord
Functions
 
exact_div(dividend, divisor) source code
 
int_ceiling(value, multiple_of=1)
Round value up to be a multiple_of something.
source code
 
int_floor(value, multiple_of=1)
Round value down to be a multiple_of something.
source code
 
vec_to_gpu(field) source code
 
pad(s, block_size) source code
 
pad_and_join(blocks, block_size) source code
 
make_blocks(devdata, data) source code
 
make_superblocks(devdata, struct_name, single_item, multi_item) source code