4b0915db2571d721e4c9118ff4a324bd2e0867f2,scikits/cuda/misc.py,,cumsum,#Any#,534
Before Change
use_double = int(x_gpu.dtype in [np.float64, np.complex128])
use_complex = int(x_gpu.dtype in [np.complex64, np.complex128])
cumsum_mod = \
SourceModule(cumsum_template.substitute(use_double=use_double,
After Change
except KeyError:
func = scan.InclusiveScanKernel(x_gpu.dtype, "a+b")
cumsum.cache[x_gpu.dtype] = func
return func(x_gpu)
cumsum.cache = {}
diff_mod_template = Template(
//include <pycuda-complex.hpp>
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: lebedov/scikit-cuda
Commit Name: 4b0915db2571d721e4c9118ff4a324bd2e0867f2
Time: 2013-07-28
Author: lev@columbia.edu
File Name: scikits/cuda/misc.py
Class Name:
Method Name: cumsum
Project Name: lebedov/scikit-cuda
Commit Name: 6b05ce9b975fdcdb982e4f3b14099df0f9e341af
Time: 2013-07-28
Author: lev@columbia.edu
File Name: scikits/cuda/misc.py
Class Name:
Method Name: maxabs
Project Name: chainer/chainercv
Commit Name: e1ea402518d0a85d6f908a85725f7c4b780fb76b
Time: 2017-05-16
Author: yuyuniitani@gmail.com
File Name: chainercv/links/model/faster_rcnn/faster_rcnn_vgg.py
Class Name: VGG16FeatureExtractor
Method Name: __call__