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

92 Commits

Author SHA1 Message Date
Kyle Lutz
2bab2c5ee7 Add device::platform() method 2014-12-13 11:25:11 -08:00
Kyle Lutz
8883a85fec Merge pull request #330 from Mageswaran1989/histogram_example
added histogram example based on opencv
2014-12-10 20:12:11 -08:00
Mageswaran.D
010753db26 added histogram example based on opencv 2014-12-10 22:43:23 +05:30
Kyle Lutz
425a9c006f Add utility directory
This adds a new utility directory and moves some of the utility
functions and classes (e.g. dim(), extents, wait_list) there.
2014-12-06 12:51:25 -08:00
Kyle Lutz
4185694366 Add extents<N> class
This adds an extents<N> class which stores an array of n-dimensional
extent values. This can be used to represent an ND-range for launching
an OpenCL kernel or for storing the size/shape of a 2D/3D image.

Also adds a variadic dim() function which provides a concise syntax
for creating extents<N> objects.
2014-12-02 22:42:24 -08:00
Kyle Lutz
8ae2b4ec23 Fix compilation error in dispatch_copy() with Boost 1.57 2014-11-25 23:16:10 -08:00
Kyle Lutz
ca92f095b8 Increase the error tolerance for the black_scholes example 2014-11-04 20:02:07 -08:00
Kyle Lutz
b84b9d925d Test examples with CTest 2014-10-23 19:58:00 -07:00
Kyle Lutz
d734fb53bc Declare cnd() function static in black_scholes example
This fixes an issue (#276) when compiling the black_scholes
program on Mac OS X.
2014-10-22 20:00:09 -07:00
Chester Kuo
e7a6479a92 update amd_cpp_kernel test to get platform vendor info 2014-10-08 23:29:03 +08:00
Chester Kuo
7d772f35d7 update amd_kernel test program to use platform info structure instead of using device info structure 2014-10-08 15:55:26 +08:00
Kyle Lutz
05afa5f707 Use thread-local storage for global program cache 2014-09-28 12:37:48 -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
9ff5025cb8 Merge pull request #255 from kylelutz/opencl-test
Add opencl_test example
2014-09-05 20:09:30 -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
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
406c38b0f1 Merge pull request #241 from f-koehler/nbody
Nbody example improved
2014-08-19 19:07:03 -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
Kyle Lutz
9f13c7e3b8 Merge pull request #236 from f-koehler/nbody
Nbody
2014-08-14 18:45:08 -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
f-koehler
15f9793bd8 choose qt4 or qt5 2014-08-05 16:36:46 +02:00
fkoehler
b70df00ce4 explicitly look for Qt4 and not for Qt in general 2014-07-29 13:23:43 +02:00
Kyle Lutz
9dc87712e9 Improve documentation 2014-07-11 23:25:41 -07:00
Kyle Lutz
9f74b5290e Enable OpenCV on Travis-CI 2014-06-24 20:54:02 -07:00
Kyle Lutz
b011138c1f Merge pull request #151 from Mageswaran1989/adding-opencv_sobel_filter-example
added opencv sobel filter

Conflicts:
	example/CMakeLists.txt
2014-06-20 18:51:32 -07:00
Kyle Lutz
0fa15ea706 Merge pull request #150 from Mageswaran1989/adding-opencv_convolution.cpp-example
added example/opencv_convolution.cpp
added return in catch block

Conflicts:
	example/CMakeLists.txt
2014-06-20 18:46:04 -07:00
Mageswaran
01bf3abe30 added return in catch block 2014-06-20 21:24:56 +05:30
Kyle Lutz
dceaa72c11 Merge pull request #148 from Mageswaran1989/renaming-opencv_filter-to-opencv_flip
renamed example/opencv_filter.cpp to example/opencv_flip.cpp
2014-06-20 08:34:29 -07:00
Mageswaran
aae0f777a3 added opencv sobel filter 2014-06-20 18:35:20 +05:30
Mageswaran
3210ee0c1f added example/opencv_convolution.cpp 2014-06-20 17:26:02 +05:30
Mageswaran
2f6dda41d9 renamed example/opencv_filter.cpp to example/opencv_flip.cpp 2014-06-20 11:27:05 +05:30
Kyle Lutz
c82bcfddd6 Merge pull request #138 from Mageswaran1989/merging-optical-flow-examples
merged opencv optical examples with command line options
2014-06-16 18:37:18 -07:00
Mageswaran
f6c46f665f merged opencv optical examples with command line options 2014-06-16 11:26:12 +05:30
Kyle Lutz
c1d867ba48 Use program_options for matrix_transpose example 2014-06-12 20:26:34 -07:00
Kyle Lutz
01eed2c702 Cleanup matrix_transpose example 2014-06-12 19:46:46 -07:00
vaa-msu
2feec50926 Update matrix_transpose.cpp
Changed 'uint's to 'uint_'s and defined uint64_t for Win32
2014-06-12 18:56:38 -07:00
Kyle Lutz
5f406314ae Use program_options for resize_image example 2014-06-10 19:22:40 -07:00
Kyle Lutz
fc9f014526 Add core.hpp header 2014-06-07 11:57:11 -07:00
vaa-msu
fb6c3528d3 Changed tpb and workSize to 'uint_'s 2014-06-03 09:51:38 +04:00
Kyle Lutz
8cfaf793f6 Add memory_limits example 2014-05-24 23:25:57 -07:00
Kyle Lutz
f119d6f9d6 Merge pull request #118 from Mageswaran1989/master
added opencv optical flow example
2014-05-23 22:55:30 -07:00
Mageswaran
b7f2f43e0f added opencv optical flow example 2014-05-23 12:02:02 +05:30
Kyle Lutz
dcefed4ed4 Add resize_image example 2014-05-17 17:52:23 -07:00