Commit Graph

1404 Commits

Author SHA1 Message Date
Jakub Szuppe
36c89134d4
Merge pull request #826 from jszuppe/fix-cacheline-rettype
Fix type for CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE
2019-02-16 10:40:51 +01:00
Jakub Szuppe
2904664177
Fix type for CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE
Fixes #825
2019-02-15 22:22:49 +01:00
Jakub Szuppe
0035290686
Merge pull request #824 from jszuppe/fix-ulong-type
Fix: unsigned long is not fundamental type on Win64
2019-02-11 15:30:38 +01:00
Jakub Szuppe
590c814bbe
Fix: unsigned long is not fundamental type on Win64
On Windows 64 unsigned long has 4 bytes like unsigned int, but it does not
seem to be a simple alias for unsigned int. Because of that unsigned long is
not OpenCL fundamental type.
2019-02-11 09:13:06 +01:00
Jakub Szuppe
a47ff938b7
Merge pull request #823 from jszuppe/accessors-reupload
Accessors reupload
2019-02-10 16:30:30 +01:00
Jakub Szuppe
c4d1a88b23
Merge pull request #797 from u-s/feature/copy-with-wait-list
Added wait_list parameter to "copy" functions
2019-02-10 16:29:49 +01:00
Jakub Szuppe
8c7412f19d
Merge pull request #748 from henryiii/add_test_mactypes
Support for set_arg on macOS
2019-02-10 16:29:25 +01:00
Henry Schreiner
4ab0939663 Adding types (would be included if including core) 2019-02-10 11:53:30 +01:00
Denis Demidov
f00732ee50 Include compute/types.hpp into compute/core.hpp 2019-02-10 11:53:30 +01:00
Denis Demidov
5adad8e248 kernel.hpp needs to include types.hpp 2019-02-10 11:53:30 +01:00
Henry Fredrick Schreiner
0ab199c834 Adding test (should fail on macOS) 2019-02-10 11:53:30 +01:00
Jakub Szuppe
827371af22
Merge pull request #772 from umar456/scan_fix
Fix out of bound access in local_scan kernel
2019-02-10 11:51:43 +01:00
Anton Myagkov
3de4bbaa0b Added wait_list parameter to copy functions 2019-02-10 11:49:36 +01:00
Jakub Szuppe
3eb11f1cde Zero-init new vector_type 2019-02-10 11:46:05 +01:00
Amir Shavit
6c6a10893d Added a static assert to assure there's no padding between the members 2019-02-10 11:45:40 +01:00
Amir Shavit
04f7d5867f Added accessors to vector types 2019-02-10 11:45:40 +01:00
Jakub Szuppe
924ed68562
Merge pull request #820 from friederbluemle/fix-typo
Fix typo
2019-02-07 11:11:14 +01:00
Frieder Bluemle
f171c6197e
Fix typo 2019-01-28 11:36:47 +08:00
Jakub Szuppe
5f283bfb56
Merge pull request #812 from rosenrodt/sort-failure-on-amd-vega
fixes radix sort error
2019-01-21 12:30:28 +01:00
Anthony C
81dc8c7352 insert memory fence to avoid AMD OpenCL compiler reordering the read/writes 2019-01-18 22:50:43 +08:00
Jakub Szuppe
2135633bc7
Merge pull request #807 from jszuppe/ci-fixes
Add Intel (1.2, 2.0, 2.1) and OpenCL 2.2 builds for Travis CI
2018-12-29 19:55:07 +01:00
Jakub Szuppe
facbfb2698 Fix test_kernel.cpp
Also minor fixes for CMake scripts.
2018-12-29 10:51:22 +01:00
Jakub Szuppe
6fbfa0f679 Disable warning about deprecated CL extension 2018-12-28 19:11:15 +01:00
Jakub Szuppe
38093e73e0 Minor Travis CI fixes 2018-12-28 19:11:15 +01:00
Jakub Szuppe
0f52d92e81
Merge pull request #806 from Zialus/appveyor-fix
Fix AppVeyor
2018-12-27 19:51:16 +01:00
Jakub Szuppe
030bc9f318 Build with OpenCL 2.2 headers 2018-12-27 19:06:08 +01:00
Raul Ferreira
dbd0c15155 Add OpenCL Intel Platform to Travis CI
Changes extracted from PR #804
2018-12-27 19:05:41 +01:00
Jakub Szuppe
61d18ce24e
Merge pull request #788 from u-s/bugfix/variable-shadowing-simple-moving-average
fix variable shadowing in check_results(simple moving average example)
2018-12-27 17:39:33 +01:00
Raul Ferreira
5e8d41dec2
Fix AppVeyor
Get OpenCL headers, libraries, and runtime from somewhere more reliable.
Added VS2017 configuration to the matrix.
2018-12-27 15:15:07 +00:00
Anton Myagkov
217f77aa20 fix variable shadowing 2018-12-27 12:25:16 +01:00
Jakub Szuppe
be85263cc1
Merge pull request #805 from jszuppe/fix_travis_ci
Update CL version selection, fix Travis CI
2018-12-27 11:55:40 +01:00
Jakub Szuppe
494acecfbb Fix Travis CI script
Keep only POCL builds, update POCL version to 1.2, update Ubuntu to Xenial, update
Boost version to 1.67.

Notes/TODOs:
* Fix need: When using Boost >1.67 tests fails during runtime.
* Fix needed: When using g++ 6 or 7 compilation fails.
* Add tests on Intel OpenCL Platform.
2018-12-25 21:59:20 +01:00
Jakub Szuppe
78dd4315ae Adjust selecting CL version to new OpenCL headers
OpenCL 1.0/1.1/1.2/2.0/2.1/2.2 headers are now unified into single
sets of header files. CL version is selected by defining
CL_TARGET_OPENCL_VERSION macro.

See https://github.com/KhronosGroup/OpenCL-Headers
2018-12-25 09:54:30 +01:00
Jakub Szuppe
2a12dee5bf
Merge pull request #803 from rosenrodt/fix-dupe-with-custom-compare-bitonic-block-sort
Fix duplicates using custom compare with bitonic block sort
2018-12-20 09:32:31 +01:00
Anthony C
3cba294aed reduce local memory operations per suggestion from @jszuppe 2018-12-20 08:08:29 +08:00
Anthony C
bceb336c39 fix issue #774 by force swapping keys when they are identical 2018-12-19 21:25:20 +08:00
Anthony C
22e04ea5a8 reproduce the issue as appeared in #774. the issue arises when there's equal keys (values that are compared against) in the array 2018-12-19 20:48:45 +08:00
Jakub Szuppe
2c16bbc14d
Merge pull request #798 from keryell/add-xilinx
Add Xilinx FPGA OpenCL implementation
2018-10-23 21:34:03 -07:00
Ronan Keryell
b6c45e9939 Add Xilinx FPGA OpenCL implementation 2018-10-23 18:50:53 -07:00
Jakub Szuppe
9189a761b7
Merge pull request #783 from henryiii/patch-1
Fix Appveyor requesting missing OpenCL branch
2018-07-20 11:45:54 +02:00
Jakub Szuppe
bbf9d132a6
Merge pull request #790 from boostorg/fully-qualify-make-zip-iterator
Fully qualify make_zip_iterator() in transform()
2018-07-20 11:43:23 +02:00
Kyle Lutz
ffd3f2f9b9 Fully qualify make_zip_iterator() in transform() 2018-07-18 22:06:51 -07:00
Henry Schreiner
470d03524e
Fix Appveyor requesting missing OpenCL branch
Use CL_TARGET_OPENCL_VERSION to set a maximum version instead. See https://github.com/KhronosGroup/OpenCL-Headers. The master branch is now the only branch.
2018-05-18 17:39:34 +02:00
Jakub Szuppe
509ebe4a92
Merge pull request #780 from jszuppe/fix_memory_leak_746
Fix memory leak
2018-05-13 22:14:06 +02:00
Jakub Szuppe
58bf86692c Fix mem. leak in buffer_iterator_index_expr default copy ctor
OpenCL buffer reference counter was increased in default copy ctor (since
it called compute::buffer copy ctor), but was never decremented because
dtor sets buffer to null preventing that.
2018-05-12 12:29:44 +02:00
Jakub Szuppe
6e6bcf6bc8 Add buffer memory leak test case
See issue #746
2018-05-12 12:29:44 +02:00
Jakub Szuppe
b0f5bfc4ba
Merge pull request #776 from 9prady9/gcc8_fix
Fix compilation errors with GCC 8
2018-05-12 11:27:44 +02:00
pradeep
450a109c4a Fix device var access in tests macro calls 2018-05-08 14:55:41 +05:30
pradeep
fdbdb94db6 Fix return var qualifier in svm_ptr::get_context
Lack of `const` qualifier is throwing errors with GCC 8.1
2018-05-08 14:53:42 +05:30
Jakub Szuppe
520f9b35b1
Merge pull request #773 from sznaider/fix-cl-gl-extension-name
Use system-dependent CL<->GL sharing extension name instead of hardcoded string
2018-04-12 14:24:39 +02:00