Commit Graph

1404 Commits

Author SHA1 Message Date
Kyle Lutz
a4c11ddb5d Merge pull request #243 from kylelutz/address-space-enum
Address space enum
2014-09-06 12:04:50 -07:00
Kyle Lutz
d44af78be5 Use address_space enum for meta_kernel::add_arg() 2014-09-06 11:43:31 -07:00
Kyle Lutz
c5546c92a1 Add address_space enum to memory_object 2014-09-06 11:37:46 -07:00
Kyle Lutz
3b74365911 Merge pull request #258 from kylelutz/fix-nbody-warning
Fix '-Wreorder' warning in nbody example
2014-09-06 10:40:50 -07:00
Kyle Lutz
ecbe21b1dd Fix '-Wreorder' warning in nbody example
This fixes the following warning in the nbody example: "warning:
field 'm_dt' will be initialized after base 'QGLWidget'"
2014-09-06 10:29:54 -07:00
Kyle Lutz
ad0be32118 Merge pull request #257 from kylelutz/rearrange-allocators
Rearrange allocator headers
2014-09-06 10:21:05 -07:00
Kyle Lutz
94d182d47d Rearrange allocator headers
This moves the allocator headers from 'container' to a new
top-level 'allocator' directory.

Also renames allocator<T> to buffer_allocator<T>.
2014-09-06 09:51:46 -07:00
Kyle Lutz
d8704fd586 Merge pull request #256 from kylelutz/fix-reduce-empty-range
Fix bug when calling reduce() with empty ranges
2014-09-05 20:09:42 -07:00
Kyle Lutz
9ff5025cb8 Merge pull request #255 from kylelutz/opencl-test
Add opencl_test example
2014-09-05 20:09:30 -07:00
Kyle Lutz
891aff215d Fix bug when calling reduce() with empty ranges 2014-09-04 20:42:37 -07:00
Kyle Lutz
9d9dc49fb2 Add opencl_test example
This adds a new example which prints out the OpenCL platforms
and devices found on the system using the OpenCL API directly.
2014-09-04 19:23:33 -07:00
Kyle Lutz
367ac0e89c Merge pull request #254 from f-koehler/nbody
Nbody example improved
2014-09-03 19:07:05 -07:00
f-koehler
894b37aee9 using swizzling operators 2014-09-03 19:05:17 -07:00
f-koehler
8ebeda2972 new default step width 2014-09-03 19:05:17 -07:00
f-koehler
cb06083207 OpenGL uses homigenous coordinates 2014-09-03 19:04:53 -07:00
f-koehler
1796c73590 float4_ drawing problem 2014-09-03 19:04:53 -07:00
Kyle Lutz
c279fc112c Merge pull request #253 from edbaunton/compute-design-doc
Update design.qbk
2014-08-29 07:18:36 -07:00
Ed Baunton
4f826a64fc Update design.qbk
Correcting typo in sentence and adding in that OpenCL supports C as well as C++.
2014-08-28 20:13:32 +02:00
Kyle Lutz
68f2d8e8db Merge pull request #250 from kylelutz/fix-linear-congruential-engine
Remove usage of 'uint' in linear_congruential_engine
2014-08-26 19:25:40 -07:00
Kyle Lutz
0151195871 Remove usage of 'uint' in linear_congruential_engine 2014-08-25 23:35:17 -07:00
Kyle Lutz
ac0030f98c Merge pull request #249 from edbaunton/better-perf-fail-warning
Better perf fail warning
2014-08-25 18:38:48 -07:00
Ed Baunton
0be4019ef5 Style 2014-08-25 20:12:58 +02:00
Ed Baunton
0ced318a38 Improve the warning when perf test hasn't been compiled 2014-08-25 20:11:38 +02:00
Kyle Lutz
a2db6fe699 Merge pull request #248 from kylelutz/is-sorted-with-adjacent-find
Implement is_sorted() with adjacent_find()
2014-08-22 07:03:38 -07:00
Kyle Lutz
744359715f Implement is_sorted() with adjacent_find() 2014-08-21 22:43:46 -07:00
Kyle Lutz
849e487da1 Merge pull request #247 from kylelutz/remove-adjacent-transform-iterator
Remove adjacent transform iterator
2014-08-21 19:24:55 -07:00
Kyle Lutz
c69ea170fb Remove adjacent_transform_iterator class 2014-08-21 07:00:13 -07:00
Kyle Lutz
b3ea818248 Rewrite unique() algorithm 2014-08-21 07:00:10 -07:00
Kyle Lutz
b533df6a5c Rewrite adjacent_find() algorithm 2014-08-20 22:46:51 -07:00
Kyle Lutz
45c5ec3281 Rewrite adjacent_difference() algorithm 2014-08-20 22:43:27 -07:00
Kyle Lutz
406c38b0f1 Merge pull request #241 from f-koehler/nbody
Nbody example improved
2014-08-19 19:07:03 -07:00
Kyle Lutz
187e5cb305 Merge pull request #239 from roshanr95/set_algorithms
Enforce same tile_size for all three kernels
2014-08-19 18:59:53 -07:00
f-koehler
f91a56208d use float4 to align data 2014-08-19 23:29:37 +02:00
f-koehler
0dcbc97215 nbody example has command line arguments by now 2014-08-19 23:08:12 +02:00
roshanr
515e1b29ba Enforce same tile_size for all kernels 2014-08-18 16:55:20 +05:30
Kyle Lutz
417a50e3f3 Merge pull request #238 from roshanr95/templating
Modify templating
2014-08-15 19:30:34 -07:00
roshanr
d10d992f62 Move templating from kernel to its member function 2014-08-15 20:32:18 +05:30
Kyle Lutz
9f13c7e3b8 Merge pull request #236 from f-koehler/nbody
Nbody
2014-08-14 18:45:08 -07:00
Kyle Lutz
0a710ec2a0 Merge pull request #235 from kylelutz/fix-perf-merge
Fix perf_merge benchmark with odd-sized inputs
2014-08-14 18:44:09 -07:00
Kyle Lutz
06bc9af91b Merge pull request #234 from kylelutz/multi-device-context
Add support for multi-device contexts
2014-08-14 18:43:53 -07:00
Kyle Lutz
ade2ffa067 Fix perf_merge benchmark with odd-sized inputs 2014-08-13 20:53:30 -07:00
Kyle Lutz
8c7efd24fd Add support for multi-device contexts 2014-08-13 20:28:34 -07:00
f-koehler
8e37337eeb documented code widget is now closed using the escape key 2014-08-13 14:33:27 +02:00
f-koehler
18e0883016 first working nbody simulation 2014-08-13 14:33:27 +02:00
Kyle Lutz
bc360c4dd2 Merge pull request #232 from f-koehler/mandelbrot-esc
MandelbrotWidget can be closed pressing escape now
2014-08-12 07:38:28 -07:00
f-koehler
1c561814da MandelbrotWidget can be closed pressing escape now 2014-08-12 10:38:43 +02:00
Kyle Lutz
9f5cc79606 Merge pull request #228 from roshanr95/merge
Merge algorithm
2014-08-11 19:59:17 -07:00
roshanr
c48760fd90 Add a merge-path based merge algorithm and change merge to use it
Added a merge_path kernel and a merge algorithm based on it.
Also changed merge to use the new algorithm.
2014-08-10 07:29:08 +05:30
Kyle Lutz
bd427b8a1b Merge pull request #224 from kylelutz/capture-containers-with-closure
Capture containers with closure
2014-08-09 09:00:43 -07:00
Kyle Lutz
1c746a9c6e Merge pull request #227 from ddemidov/issue-218
The test_closure does not require any OpenCL 1.2 features
2014-08-09 08:58:05 -07:00