2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-27 18:52:15 +00:00

532 Commits

Author SHA1 Message Date
Kyle Lutz
f50e9c0110 Release v0.3 v0.3 2014-07-15 21:07:20 -07:00
Kyle Lutz
baa60dca39 Merge pull request #194 from kylelutz/opencl-1.2-mem-flags
Add OpenCL 1.2 memory flags to mem_flags enum
2014-07-12 14:51:55 -07:00
Kyle Lutz
132fc85270 Add OpenCL 1.2 memory flags to mem_flags enum 2014-07-12 14:44:03 -07:00
Kyle Lutz
89eee4b60e Merge pull request #193 from kylelutz/unify-seed-method-interface
Unify seed() method interface in the random number engines
2014-07-12 14:35:50 -07:00
Kyle Lutz
fa0541d84b Merge pull request #166 from kylelutz/perf-copy-if
Add perf_copy_if benchmark
2014-07-12 14:34:15 -07:00
Kyle Lutz
e8afaf1e7c Add perf_copy_if benchmark 2014-07-12 14:19:23 -07:00
Kyle Lutz
23c0a14244 Merge pull request #192 from kylelutz/perf-fill
Add perf_fill benchmark
2014-07-12 14:13:26 -07:00
Kyle Lutz
84b24fcacb Unify seed() method interface in the random number engines
This updates the random number engines to both use the same
interface for their seed() method.
2014-07-12 14:07:48 -07:00
Kyle Lutz
fb5c5442f7 Add perf_fill benchmark 2014-07-12 13:47:01 -07:00
Kyle Lutz
c9c5615b2f Merge pull request #191 from kylelutz/fix-popcount
Fix issues with popcount() on OpenCL 1.1 devices
2014-07-12 13:03:09 -07:00
Kyle Lutz
61645c41c3 Fix issues with popcount() on OpenCL 1.1 devices 2014-07-12 12:47:41 -07:00
Kyle Lutz
4bf8993f1b Merge pull request #190 from ddemidov/parallel-travis-build
Parallel build on Travis-CI
2014-07-12 12:39:37 -07:00
Kyle Lutz
465853233b Merge pull request #189 from ddemidov/skip-1.2-tests
Skip tests requiring OpenCL 1.2 on devices that do not support OpenCL 1.2
2014-07-12 12:25:54 -07:00
Denis Demidov
57a2ee0e39 Parallel build on Travis-CI 2014-07-12 23:15:57 +04:00
Denis Demidov
201f85a038 Skip tests requiring OpenCL 1.2 on usupported devices 2014-07-12 22:54:16 +04:00
Kyle Lutz
dfe9399c9f Check OpenCL version before calling enqueue_fill_buffer()
This adds a check for OpenCL version 1.2 before calling the
enqueue_fill_buffer() function in the fill() algorithm.
2014-07-12 11:22:01 -07:00
Kyle Lutz
2540895ebf Merge pull request #187 from kylelutz/fix-partition-by-counts-test
Fix partition_by_counts test for Intel CPUs
2014-07-12 09:48:52 -07:00
Kyle Lutz
86199873b7 Fix partition_by_counts test for Intel CPUs
This fixes a test failure in partition_by_counts for Intel CPU
devices. The clCreateSubDevices() function is not guaranteed to
return the sub-devices in the same order as they were specified
in the compute unit counts argument.

Now the test sorts the returned sub-devices by number of compute
units and checks that each specified count is present.

See issue #185.
2014-07-12 08:52:26 -07:00
Kyle Lutz
5cfda5412e Merge pull request #184 from kylelutz/improve-documentation
Improve documentation
2014-07-11 23:58:00 -07:00
Kyle Lutz
9dc87712e9 Improve documentation 2014-07-11 23:25:41 -07:00
Kyle Lutz
ca3d571e52 Merge pull request #183 from kylelutz/rename-mersenne-twister-header
Rename mersenne_twister_engine header
2014-07-11 23:07:58 -07:00
Kyle Lutz
a4ae254adc Rename mersenne_twister_engine header
This renames the mersenne_twister_engine header from
"mersenne_twister.hpp" to "mersenne_twister_engine.hpp".
2014-07-11 22:27:16 -07:00
Kyle Lutz
40d0166cb2 Merge pull request #182 from kylelutz/rename-create-with-builtin-kernels
Rename create_with_builtin_kernels() method
2014-07-10 20:02:51 -07:00
Kyle Lutz
94306ce2e8 Merge pull request #179 from kylelutz/deprecate-device-ptr
Move device_ptr to the detail namespace
2014-07-10 20:02:39 -07:00
Kyle Lutz
48cee2b619 Rename create_with_builtin_kernels() method 2014-07-10 19:27:17 -07:00
Kyle Lutz
9106222e61 Merge pull request #178 from kylelutz/equality-operators
Add equality operators for all wrapper classes
2014-07-09 22:10:36 -07:00
Kyle Lutz
b6ecb59ee9 Merge pull request #177 from kylelutz/fix-vector-assign
Fix resize bug with vector::assign()
2014-07-09 22:09:40 -07:00
Kyle Lutz
e0535d7233 Move device_ptr to the detail namespace
This deprecates the device_ptr class and moves it to the detail
namespace. The buffer_iterator class should be used instead of
device_ptr for referencing a memory location on the device.
2014-07-08 21:04:23 -07:00
Kyle Lutz
7d377989ee Add equality operators for all wrapper classes 2014-07-08 20:33:02 -07:00
Kyle Lutz
4a1b3edf48 Fix resize bug with vector::assign()
This fixes a bug in which vector::assign() would not resize
itself to accommodate the assigned values. Now the behavior
matches that of std::vector.
2014-07-07 21:56:39 -07:00
Kyle Lutz
89089576ab Merge pull request #176 from kylelutz/get-info-specializations
Add get_info<Info>() specializations
2014-07-07 21:30:07 -07:00
Kyle Lutz
cae813ec3c Add get_info<Info>() specializations 2014-07-07 19:14:14 -07:00
Kyle Lutz
bd164a24b2 Merge pull request #175 from kylelutz/fix-platform-empty-devices
Fix errors when using platforms with no devices
2014-07-07 18:57:16 -07:00
Kyle Lutz
5d6921f162 Merge pull request #170 from kylelutz/create-program-with-built-in-kernels
Add program::create_with_built_in_kernels() method
2014-07-07 08:04:12 -07:00
Kyle Lutz
c156ca7198 Merge pull request #169 from kylelutz/hash-function
Add hash() function
2014-07-07 08:02:09 -07:00
Kyle Lutz
8f952b3c5b Merge pull request #168 from kylelutz/struct-is-packed
Add check for packed structs in BOOST_COMPUTE_ADAPT_STRUCT()
2014-07-07 08:01:50 -07:00
Kyle Lutz
1975261a7d Merge pull request #164 from kylelutz/compile-link-program
Add compile() and link() methods to program
2014-07-07 08:01:36 -07:00
Kyle Lutz
73443e0111 Fix errors when using platforms with no devices
This fixes errors caused when handling OpenCL platforms with
no devices. Now the platform::devices() method will properly
return an empty vector without throwing an exception when such
a platform is encountered.

Previously, default_device() would throw an exception when
confronted with a platform with no devices even if devices
from other platforms on the system were available.

Thanks to Godeffroy Valet for reporting this issue.
2014-07-07 07:57:02 -07:00
Kyle Lutz
6103ff6cfb Add program::create_with_built_in_kernels() method 2014-07-02 23:45:35 -07:00
Kyle Lutz
6af32b3d8f Add hash() function 2014-07-02 23:24:18 -07:00
Kyle Lutz
235261a977 Add check for packed structs in BOOST_COMPUTE_ADAPT_STRUCT()
This adds a compile-time check for non-padded structs in the
BOOST_COMPUTE_ADAPT_STRUCT() macro. Also updates the macro to
add "__attribute__((packed))" to the OpenCL struct definition.
2014-07-02 22:53:48 -07:00
Kyle Lutz
90217d055b Add compile() and link() methods to program 2014-07-02 22:32:58 -07:00
Kyle Lutz
bfe2bdd7f7 Merge pull request #163 from roshanr95/distribution-benchmarks
Add benchmarks for the new disributions
2014-07-02 18:15:54 -07:00
roshanr
cd41289bbc Add benchmarks for the new disributions 2014-07-02 20:00:23 +05:30
Kyle Lutz
1a063e86cd Merge pull request #161 from roshanr95/lce
LCE
2014-06-30 21:07:11 -07:00
roshanr
acf4698af1 Add benchmark for lce
Added benchmark for lce and changed threads to 1024
2014-06-30 23:41:58 +05:30
roshanr
d81edfc387 Fix errors in lce
Remove unused parameter
Fix discard() to work for all sizes
2014-06-30 23:41:16 +05:30
Kyle Lutz
47e93c9679 Merge pull request #160 from roshanr95/permutation-algorithms
Add benchmarks for permutation algorithms
2014-06-27 19:15:29 -07:00
roshanr
be18866bca Add benchmarks for permutation algorithms 2014-06-27 08:22:32 +05:30
Kyle Lutz
2fa478a11f Merge pull request #158 from roshanr95/search-algorithms
Search algorithms
2014-06-25 18:37:56 -07:00