inducer / inducer/pycuda

cache elementwise kernels

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
298
Avg merge
4m
Merged PRs (30d)
1

Description

reference:
http://lists.tiker.net/pipermail/pycuda/2011-September/003416.html
http://article.gmane.org/gmane.comp.python.cuda/2424

I am also trying to deploy pycuda on non-admin machines.
I am able to use SourceModule based kernels using the cache_dir option to it.
However, elementwise kernels seem to use #includes and unconditionally runs external compilers.

what do you think of having two compiler cache options: 1. based on preprocessed source, 2. based on postprocessed source.
if one is messing with headers, they could just use the postprocessed cache option.
For deployment, we could use preprocessed cache option, and ship the preprocessed cache dir.

if you are ok with this, i can go ahead and implement my suggestion and send a pull request.
Thanks for making pycuda and pyopencl.
Naveen

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.