Skip to content

Files

Latest commit

Jul 8, 2018
0dcb848 · Jul 8, 2018

History

History
67 lines (57 loc) · 1.8 KB

05_barrier.md

File metadata and controls

67 lines (57 loc) · 1.8 KB

Home

About 05_barrier.py

Output

Win10 / Intel Core i5 7200U + HD Graphics 620

=== Test barrier() on GPU ===
... Python\Python37\lib\site-packages\pyopencl\cffi_cl.py:1521: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
  "to see more.", CompilerWarning)
* Run without barrier():
sum[0 ~ 100]=120
* Run with barrier():
sum[0 ~ 100]=4950
=== Test barrier() on CPU ===
* Run without barrier():
sum[0 ~ 100]=4950
* Run with barrier():
sum[0 ~ 100]=4950

Win10 / Intel Core i5 3470 + HD Graphics 2500

=== Test barrier() on GPU ===
... Python\Python36\lib\site-packages\pyopencl\cffi_cl.py:1521: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
  "to see more.", CompilerWarning)
* Run without barrier():
sum[0 ~ 100]=120
* Run with barrier():
sum[0 ~ 100]=4950
=== Test barrier() on CPU ===
* Run without barrier():
sum[0 ~ 100]=4950
* Run with barrier():
sum[0 ~ 100]=4950

macOS 10.13.3 / Intel Core i7-3667U + HD Graphics 4000

=== Test GPU ===
* Run without barrier:
sum[0..100]=496
* Run with barrier:
sum[0..100]=4950
=== Test CPU ===
* Run without barrier:
clEnqueueNDRangeKernel failed: INVALID_WORK_GROUP_SIZE
* Run with barrier:
clEnqueueNDRangeKernel failed: INVALID_WORK_GROUP_SIZE

macOS 10.13.3 / Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz + Intel(R) Iris(TM) Graphics 6100

=== Test barrier() on GPU ===
* Run without barrier():
sum[0 ~ 100]=4950
=== Test barrier() on CPU ===
* Run without barrier():
clEnqueueNDRangeKernel failed: INVALID_WORK_GROUP_SIZE
* Run with barrier():
clEnqueueNDRangeKernel failed: INVALID_WORK_GROUP_SIZE