Skip to content

Commit

Permalink
preparing things for first beta release
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanwerkhoven committed Jun 14, 2016
1 parent 75ca654 commit 9812012
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]


## [0.0.1] - 2016-06-14
### Added
- A function to type check the arguments to the kernel
- Example (convolution) that tunes the number of streams
- Device interface to C functions, for tuning host code
- Correctness checks for kernels during tuning
- Function for running a single kernel instance
Expand Down
1 change: 1 addition & 0 deletions kernel_tuner/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ def run_kernel(kernel_name, kernel_string, problem_size, arguments,
#move data to the GPU and compile the kernel
lang = _detect_language(lang, kernel_string)
dev = _get_device_interface(lang, device)
_check_argument_list(arguments)
gpu_args = dev.ready_argument_list(arguments)

#retrieve the run configuration, compile, and run the kernel
Expand Down
15 changes: 13 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,24 @@ def read(fname):
author_email = "b.vanwerkhoven@esciencecenter.nl",
description = ("A simple CUDA kernel tuner in Python"),
license = "Apache 2.0",
keywords = "auto-tuning pycuda cuda gpu",
keywords = "auto-tuning gpu pycuda cuda pyopencl opencl",
url = "http://benvanwerkhoven.github.io/kernel_tuner/",
packages=['kernel_tuner'],
long_description=read('README.md'),
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering',
'Topic :: Software Development',
'Topic :: System :: Distributed Computing',
'Development Status :: 2 - Pre-Alpha',
'Development Status :: 4 - Beta',
],
)

2 changes: 1 addition & 1 deletion test/test_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_check_argument_list1():
except TypeError as e:
print(str(e))
assert "at position 1" in str(e)
except:
except Exception:
print("Expected a TypeError to be raised")
assert False

Expand Down

0 comments on commit 9812012

Please sign in to comment.