Skip to content

Commit 9812012

Browse files
preparing things for first beta release
1 parent 75ca654 commit 9812012

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased]
6+
7+
8+
## [0.0.1] - 2016-06-14
69
### Added
10+
- A function to type check the arguments to the kernel
11+
- Example (convolution) that tunes the number of streams
712
- Device interface to C functions, for tuning host code
813
- Correctness checks for kernels during tuning
914
- Function for running a single kernel instance

kernel_tuner/interface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ def run_kernel(kernel_name, kernel_string, problem_size, arguments,
418418
#move data to the GPU and compile the kernel
419419
lang = _detect_language(lang, kernel_string)
420420
dev = _get_device_interface(lang, device)
421+
_check_argument_list(arguments)
421422
gpu_args = dev.ready_argument_list(arguments)
422423

423424
#retrieve the run configuration, compile, and run the kernel

setup.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,24 @@ def read(fname):
1111
author_email = "[email protected]",
1212
description = ("A simple CUDA kernel tuner in Python"),
1313
license = "Apache 2.0",
14-
keywords = "auto-tuning pycuda cuda gpu",
14+
keywords = "auto-tuning gpu pycuda cuda pyopencl opencl",
1515
url = "http://benvanwerkhoven.github.io/kernel_tuner/",
1616
packages=['kernel_tuner'],
1717
long_description=read('README.md'),
1818
classifiers=[
19+
'Environment :: Console',
20+
'Intended Audience :: Developers',
21+
'Intended Audience :: Science/Research',
22+
'Intended Audience :: Education',
23+
'License :: OSI Approved :: Apache Software License',
24+
'Natural Language :: English',
25+
'Operating System :: POSIX :: Linux',
26+
'Programming Language :: Python :: 2.7',
27+
'Programming Language :: Python :: 3.5',
28+
'Topic :: Scientific/Engineering',
29+
'Topic :: Software Development',
1930
'Topic :: System :: Distributed Computing',
20-
'Development Status :: 2 - Pre-Alpha',
31+
'Development Status :: 4 - Beta',
2132
],
2233
)
2334

test/test_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def test_check_argument_list1():
127127
except TypeError as e:
128128
print(str(e))
129129
assert "at position 1" in str(e)
130-
except:
130+
except Exception:
131131
print("Expected a TypeError to be raised")
132132
assert False
133133

0 commit comments

Comments
 (0)