Major data handling and kernel target refactoring

- gpu -> accelerator
- no distinction between and target and backend any more
8 jobs for target_dh_refactoring in 1 minute and 53 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Test
passed #326171
cuda docker
build-documentation

00:00:49

failed #326170
cuda docker
flake8-lint

00:00:15

failed #326167
docker
minimal-conda

00:00:29

failed #326168
docker allowed to fail
minimal-sympy-master

00:00:32

failed #326166
docker
minimal-ubuntu

00:00:13

failed #326165
win
minimal-windows

00:01:21

manual #326169
AVX cuda docker allowed to fail manual
pycodegen-integration
failed #326164
AVX cuda docker
tests-and-coverage

00:01:53

20.94%
 
Name Stage Failure
failed
tests-and-coverage Test
5.97s call     pystencils_tests/test_buffer.py::test_field_slice
4.23s call pystencils_tests/test_buffer_gpu.py::test_all_cell_values
4.14s call pystencils_tests/test_buffer.py::test_all_cell_values
======= 58 failed, 208 passed, 7 skipped, 486 warnings in 87.47 seconds ========
Uploading artifacts...
coverage_report: found 84 matching files
test-report: found 4 matching files

Uploading artifacts to coordinator... ok
id=326164 responseStatus=201 Created token=ye7p6wsX
ERROR: Job failed: exit code 1
failed
minimal-windows Test
    self._run_tests_in_module(test)
File "setup.py", line 41, in _run_tests_in_module
func()
File "C:\cygwin64\home\build\builds\pycodegen\pystencils\pystencils_tests\test_datahandling.py", line 195, in test_kernel
pytest.importorskip('pycuda')
File "C:\Users\build\Miniconda3\envs\pystencils_dev\lib\site-packages\_pytest\outcomes.py", line 137, in importorskip
raise Skipped("could not import %r" % (modname,), allow_module_level=True)
Skipped: could not import 'pycuda'
ERROR: Job failed: Process exited with: 1. Reason was: ()
failed
minimal-sympy-master Test
    func()
File "/builds/pycodegen/pystencils/pystencils_tests/test_datahandling.py", line 197, in test_kernel
kernel_execution_jacobi(dh)
File "/builds/pycodegen/pystencils/pystencils_tests/test_datahandling.py", line 100, in kernel_execution_jacobi
dh.add_array('f')
File "/builds/pycodegen/pystencils/pystencils/datahandling/serial_datahandling.py", line 144, in add_array
self.acc_arrays[name] = self.array_handler.to_acc(cpu_arr)
AttributeError: 'NoneType' object has no attribute 'to_acc'
ERROR: Job failed: exit code 1
failed
minimal-conda Test
    func()
File "/builds/pycodegen/pystencils/pystencils_tests/test_datahandling.py", line 197, in test_kernel
kernel_execution_jacobi(dh)
File "/builds/pycodegen/pystencils/pystencils_tests/test_datahandling.py", line 100, in kernel_execution_jacobi
dh.add_array('f')
File "/builds/pycodegen/pystencils/pystencils/datahandling/serial_datahandling.py", line 144, in add_array
self.acc_arrays[name] = self.array_handler.to_acc(cpu_arr)
AttributeError: 'NoneType' object has no attribute 'to_acc'
ERROR: Job failed: exit code 1
failed
flake8-lint Test
Checking out 33aa3bdd as target_dh_refactoring...

Skipping Git submodules setup
Authenticating with credentials from /root/.docker/config.json
$ flake8 pystencils
pystencils/boundaries/boundaryhandling.py:105:9: E731 do not assign a lambda expression, use a def
pystencils/boundaries/boundaryhandling.py:338:1: E302 expected 2 blank lines, found 1
pystencils/datahandling/parallel_datahandling.py:287:13: F841 local variable 'target' is assigned to but never used
ERROR: Job failed: exit code 1
failed
minimal-ubuntu Test
    self._run_tests_in_module(test)
File "setup.py", line 41, in _run_tests_in_module
func()
File "/builds/pycodegen/pystencils/pystencils_tests/test_datahandling.py", line 195, in test_kernel
pytest.importorskip('pycuda')
File "/usr/lib/python3/dist-packages/_pytest/outcomes.py", line 132, in importorskip
raise Skipped("could not import %r" % (modname,), allow_module_level=True)
Skipped: could not import 'pycuda'
ERROR: Job failed: exit code 1