Commit Graph

120 Commits

Author SHA1 Message Date
Anton Myagkov
217f77aa20 fix variable shadowing 2018-12-27 12:25:16 +01:00
Jakub Szuppe
f14950fab3 Print platform name in hello_world.cpp example
It is useful for identifying which platform is the default
one, when the same device is on multiple platforms.
2017-05-08 18:49:18 +02:00
Jakub Szuppe
debbd92074 Fix Monte Carlo test for CI 2017-04-23 17:40:37 +02:00
Jakub Szuppe
c9a0aba172 Remove debug macro, fix names of event variables 2016-05-28 22:05:50 +02:00
Jakub Szuppe
2187821975 Make sure there's no macro redefinition 2016-05-24 21:37:29 +02:00
Jakub Szuppe
af7b197e68 Skip matrix transpose example on Apple CPU devices 2016-05-05 14:21:54 +02:00
Jakub Szuppe
5e28138a7a Update minimum required Boost version to 1.54 2016-05-03 14:32:22 +02:00
Jakub Szuppe
8caa9c2ac3 Fix bug in optical flow example
Image sampler should be a global constant in
OpenCL program.
2016-04-23 15:17:25 +02:00
Kyle Lutz
38ba1c5447 Merge pull request #566 from haahh/update-test-jamfilev2
Update tests compile options in Jamfile.v2
2016-03-10 13:04:02 -08:00
Jakub Szuppe
8bc763cd53 MSVC/WIN-related update of CMakeLists.txt files
This commit fixes misc. bugs in CMakeLists.txt files that
were causing various build errors and warnigns.
2016-03-09 18:56:16 +01:00
Jakub Szuppe
1653a06f90 Suppress OpenCL-related deprecated declarations warns
Suppress deprecated declarations warnings (for MSVC, GCC and Clang)
caused by deprecated OpenCL Runtime functions.
2016-03-09 17:08:45 +01:00
Jakub Szuppe
a1895728a1 Use custom FindOpenCL.cmake only for cmake older than 3.1 2016-03-09 15:30:02 +01:00
Jakub Szuppe
7e12f63a81 Add missing Boost license info and copyrights 2015-07-18 14:01:29 +02:00
Jakub Szuppe
dbf751e7fc Convert tabs to spaces 2015-07-16 21:18:12 +02:00
Jakub Szuppe
350f2c93a8 Fix violations of Boost min/max guidelines 2015-07-16 21:18:08 +02:00
Junaid Muzammil
a9c373f92c Merge remote-tracking branch 'newrepo/develop' into develop 2015-06-02 19:18:00 +05:00
Kyle Lutz
fda67a22d0 Update GitHub links 2015-05-17 20:32:09 -07:00
Junaid Muzammil
31342d7e53 Threefry generate signature modification 2015-04-05 21:27:31 +05:00
Muhammad Junaid Muzammil
61e16c8963 Overloaded Method for default Key Values 2015-04-02 00:26:06 +05:00
Junaid Muzammil
1c75d5752d Necessary Changes Made to Threefry Engine as recommended 2015-03-28 18:06:01 +05:00
Muhammad Junaid Muzammil
37e060d0ca Threefry Random 123 Support Added 2015-03-22 16:53:47 +05:00
Kyle Lutz
9a930e6ee3 Only call QWidget::windowHandle() for Qt >= 5.0 2015-02-28 22:35:59 -08:00
Kyle Lutz
d4adfc5feb Add support for OpenCL-OpenCL sharing on Mac OS X 2015-02-26 14:57:26 -07:00
Kyle Lutz
de76e66dd1 Merge pull request #426 from jmr1/msvc2013
MSVC 2013 build fixes
2015-02-22 19:02:45 -07:00
jmr1
453ca0afc9 Added expected results for MSVC random generator 2015-02-22 17:38:44 +01:00
Kyle Lutz
ca0bc4b7d3 Refactor image classes 2015-02-08 16:26:34 -08:00
Kyle Lutz
417cb03670 Fixes for Mac OS X 2014-12-24 09:25:55 -08:00
Kyle Lutz
c97c83a562 Rename types/builtin.hpp to types/fundamental.hpp 2014-12-20 13:39:50 -08:00
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