summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-26Implement more OpenCL C built-insHEADmasterDenis Steckelmacher3-44/+161
exp2, exp10, expm1, fabs, fdim, floor, fma, fmin, trunc, fmod, fract, frexp, sqrt, hypot, ilogb and ldexp.
2011-10-24New exp() functionDenis Steckelmacher3-1/+28
exp2() is currently broken.
2011-10-24Make Clover compile with LLVM devDenis Steckelmacher2-2/+4
2011-10-19Implement some math built-ins.Denis Steckelmacher6-13/+211
acos, acosh, acospi, asin, asinh, asinpi, atan, atan2, atanh, atanpi, atan2pi, cbrt, ceil, copysign, cos, cosh and cospi. There is not yet tests for these function, except for copysign (the only one not simply using a STL or Boost math function).
2011-09-14Fix copyrightsDenis Steckelmacher68-68/+68
2011-09-14Implement a script to generate built-ins quickly, and implement cos().Denis Steckelmacher8-36/+523
2011-09-10Make Clover compile with LLVM SVNDenis Steckelmacher1-1/+1
2011-08-22Remove clcompiler.cpp, this file isn't used.Denis Steckelmacher2-77/+0
2011-08-22Document CPU files.Denis Steckelmacher7-19/+305
2011-08-20New logo and COPYING file, small modifications of the doc.Denis Steckelmacher5-2/+166
2011-08-20Natively re-implement image reading functions taking float arguments.maybe-after-gsoc-images-reworkDenis Steckelmacher5-303/+390
2011-08-20Use C++ templates to reduce code size and improve readability.Denis Steckelmacher2-145/+84
2011-08-20Natively re-implement image reading functions taking integer coordinates.Denis Steckelmacher6-395/+357
2011-08-20Reimplement read_image* in native C++ instead of OpenCL.Denis Steckelmacher6-276/+347
This new implementation is smaller and more readable. It is also architecure-independent and not tied to SSE.
2011-08-19Document the rest of the files in src/core.Denis Steckelmacher4-22/+286
2011-08-19Document some classes in src/core.Denis Steckelmacher6-141/+856
2011-08-19Apply a patch from Tom Stellard fixing a crash on GCC 4.6.Denis Steckelmacher1-6/+11
2011-08-19Document API files, .cpp files and deviceinterface.hDenis Steckelmacher30-4/+354
2011-08-18Add \c in front of functions.Denis Steckelmacher4-77/+77
2011-08-18Fix a typo in the licence.Denis Steckelmacher66-66/+66
2011-08-18Place Clover under the new BSD 3-clauses license.Denis Steckelmacher66-0/+1782
2011-08-18Say what version of OpenCL Clover implementsDenis Steckelmacher1-1/+1
2011-08-18Begin the documentationDenis Steckelmacher6-0/+2101
This commit adds a Doxyfile and some pages of documentation describing the main parts of Clover.
2011-08-17Fix compilation with GCC 4.6Denis Steckelmacher6-8/+7
2011-08-17Handle the case where clBuildProgram is called with num_devices=0Denis Steckelmacher1-1/+1
2011-08-17A kernel can be run multiple times with different args, handle that.Denis Steckelmacher5-183/+258
The stub functions becomes arg-independant, and the args are built for each KernelEvent.
2011-08-17Correctly define the OpenCL typesDenis Steckelmacher1-10/+24
2011-08-16Fix problems pointed out by J-P on Wordpress.Denis Steckelmacher2-5/+5
2011-08-15Implement tests for image reading.Denis Steckelmacher2-5/+41
The integer coords seem to be working, and also the floating one when using Nearest filtering, but Linear seems not to be correct.
2011-08-15Untested work: Implement read_image{f,i,ui} taking float4 coords.Denis Steckelmacher1-209/+214
2011-08-15WIP: Implement read_imagef taking float4 coords.Denis Steckelmacher2-11/+252
2011-08-12Don't forget to undef what we have used.Denis Steckelmacher1-0/+4
2011-08-12Implement untested read_image functions taking integer coordinates.Denis Steckelmacher2-9/+407
2011-08-12Fix a mistake when converting from float to int16.Denis Steckelmacher1-8/+8
2011-08-11Implement all image built-ins except read_image{f,i,ui}.Denis Steckelmacher12-27/+685
2011-08-09Also test that multiple barriers in a kernel work.Denis Steckelmacher1-1/+1
2011-08-09Implement barrier()Denis Steckelmacher8-114/+376
The most exciting built-in, needing to use obscure things like makecontext() and swapcontext(). I'll properly document all what I've just implemented during the last week of the Google Summer of Code project.
2011-08-08Test clEnqueueWaitForEvents, Barrier and Marker. Fix bugs.Denis Steckelmacher3-18/+159
2011-08-08Call CommandQueue::flush() when the spec asks to do so.Denis Steckelmacher3-5/+27
2011-08-08Implement clFlush and clFinish. Clover is now API complete !Denis Steckelmacher3-3/+63
2011-08-08Fix any warning found by gcc -Wall and clang -WallDenis Steckelmacher18-70/+81
2011-08-07Test infrastructure for built-in functions, test Samplers.Denis Steckelmacher10-7/+229
2011-08-07Implement samplers (currently untested).Denis Steckelmacher7-6/+342
The two previous commits were needed in order to be able to recognize a sampler, because they are simple uint32 in OpenCL, and LLVM only says that a kernel argument is of type "i32".
2011-08-07Use Object::isA to check arguments passed to API functions.Denis Steckelmacher12-74/+76
2011-08-07Add an object tree to CloverDenis Steckelmacher19-165/+176
This will allow me to implement the samplers and to add sanity checks in the API files.
2011-08-02Untested implementation of clEnqueueBarrier, clEnqueueMarker and ↵Denis Steckelmacher5-4/+172
clEnqueueWaitForEvents.
2011-08-02Implement clGetSupportedImageFormatsDenis Steckelmacher1-1/+139
This function currently returns all the possible formats per the OpenCL spec. CPUDevice will support all of them, but we'll need to find a solution when GPU devices will be available.
2011-08-01Implement clEnqueueMapImageDenis Steckelmacher7-15/+252
2011-08-01Implement clEnqueueCopyImageToBuffer and clEnqueueCopyBufferToImageDenis Steckelmacher7-35/+366
Plus bug fixes regarding Image2D slice_pitch.
2011-07-30Implement clCopyImageDenis Steckelmacher5-5/+143