Merge lp://staging/~schnetter/pocl/main into lp://staging/~pocl/pocl/trunk
Proposed by
Erik Schnetter
Status: | Merged |
---|---|
Merge reported by: | Pekka Jääskeläinen |
Merged at revision: | not available |
Proposed branch: | lp://staging/~schnetter/pocl/main |
Merge into: | lp://staging/~pocl/pocl/trunk |
Diff against target: |
3735 lines (+2544/-357) 56 files modified
.bzrignore (+4/-0) README (+10/-5) configure.ac (+2/-0) examples/Makefile.am (+1/-1) examples/barriers/barriers.c (+1/-1) examples/example1/example1.c (+3/-1) examples/example1/example1_exec.c (+1/-1) examples/example2/example2.c (+1/-1) examples/example2a/example2a.c (+1/-1) examples/forloops/forloops.c (+1/-1) examples/kernel/Makefile.am (+31/-0) examples/kernel/kernel.c (+93/-0) examples/kernel/test_bitselect.cl (+1176/-0) examples/kernel/test_fabs.cl (+178/-0) examples/kernel/test_rotate.cl (+204/-0) examples/loopbarriers/loopbarriers.c (+1/-1) examples/run_all.sh (+1/-1) examples/scalarwave/Makefile.am (+31/-0) examples/scalarwave/scalarwave.c (+233/-0) examples/scalarwave/scalarwave.cl (+94/-0) examples/trig/trig_exec.c (+1/-1) include/_kernel.h (+11/-10) lib/CL/Makefile.am (+1/-0) lib/CL/clCreateBuffer.c (+7/-2) lib/CL/clCreateKernel.c (+10/-8) lib/CL/clEnqueueNDRangeKernel.c (+29/-1) lib/CL/clFinish.c (+31/-0) lib/CL/clGetDeviceIDs.c (+4/-5) lib/CL/clReleaseKernel.c (+6/-1) lib/CL/clReleaseMemObject.c (+1/-1) lib/CL/clSetKernelArg.c (+7/-1) lib/CL/devices/native/native.c (+6/-43) lib/CL/devices/native/native.h (+3/-3) lib/CL/devices/pthread/pthread.c (+27/-54) lib/CL/devices/pthread/pthread.h (+7/-7) lib/CL/pocl_cl.h (+3/-3) lib/kernel/Makefile.am (+5/-3) lib/kernel/arm/Makefile.am (+5/-3) lib/kernel/clz.cl (+1/-1) lib/kernel/get_global_id.c (+8/-4) lib/kernel/get_global_offset.c (+39/-0) lib/kernel/get_global_size.c (+1/-1) lib/kernel/get_group_id.c (+1/-1) lib/kernel/get_local_id.c (+4/-4) lib/kernel/get_local_size.c (+39/-0) lib/kernel/get_num_groups.c (+4/-4) lib/kernel/get_work_dim.c (+31/-0) lib/kernel/popcount.cl (+35/-0) lib/kernel/signbit.cl (+34/-3) lib/kernel/sources.mk (+4/-0) lib/kernel/tce/Makefile.am (+5/-3) lib/kernel/templates.h (+1/-2) lib/kernel/x86_64/Makefile.am (+5/-3) lib/kernel/x86_64/copysign.cl (+0/-169) lib/llvmopencl/Workgroup.cc (+70/-2) tests/testsuite.at (+31/-0) |
To merge this branch: | bzr merge lp://staging/~schnetter/pocl/main |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pekka Jääskeläinen | Approve | ||
Erik Schnetter | Needs Resubmitting | ||
Review via email: mp+84682@code.staging.launchpad.net |
Description of the change
This branch passes the same test cases as the trunk: all on Ubuntu, and four failures on Mac OSX.
This branch also introduces a new test case scalarwave, which fails everywhere because of a real problem (that I have not debugged yet). If you want, I can deactivate this new test case, to not introduce a failing test case into the trunk.
To post a comment you must log in.
get_global_offset() implementation seems wrong. I think it needs the separate values from clEnqueueNDRang eKernel( ) which are not stored yet in the context struct, IIRC.
In my opinion having failing tests in the test suite that reproduce (reported) bugs is fine but they should be marked with XFAIL (with a bug id maybe?) or similar until they are fixed so we won't get confused what is a regression and what a known bug reproduction (or if you are into TDD, just unimplemented features).
Other than these, seems good to merge for me.