Skip to content

Instantly share code, notes, and snippets.

@majosm
Last active February 16, 2021 17:01
Show Gist options
  • Save majosm/ca5258ef0ca272615e42cbe13abea57d to your computer and use it in GitHub Desktop.
Save majosm/ca5258ef0ca272615e42cbe13abea57d to your computer and use it in GitHub Desktop.
test_diffusion_tracemalloc_singlestep.py::test_diffusion_accuracy[<array context factory for <pyopencl.Device 'pthread-POWER9, altivec supported' on 'Portable Computing Language'>-problem0-500-5e-05-scales0-3] /path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/numpy/__init__.py:287: size=2556 B, count=50, average=51 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/numpy/__init__.py", line 287
warnings.warn(msg, DeprecationWarning, stacklevel=2)
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/warnings.py:405: size=1616 B, count=22, average=73 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/warnings.py", line 405
self.message = message
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/warnings.py:412: size=871 B, count=13, average=67 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/warnings.py", line 412
self._category_name = category.__name__ if category else None
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/warnings.py:112: size=576 B, count=1, average=576 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/warnings.py", line 112
_showwarnmsg_impl(msg)
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py:507: size=296 B, count=3, average=99 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py", line 507
self.queue = queue
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py:977: size=216 B, count=2, average=108 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py", line 977
return self.__class__(queue, self.shape, dtype,
<generated code>:34: size=184 B, count=1, average=184 B
File "<generated code>", line 34
/path/to/emirge/emirge-diffusion-memory-issue/meshmode/meshmode/dof_array.py:191: size=144 B, count=3, average=48 B
File "/path/to/emirge/emirge-diffusion-memory-issue/meshmode/meshmode/dof_array.py", line 191
return DOFArray(self.array_context, tuple(data))
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py:534: size=144 B, count=2, average=72 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py", line 534
self.base_data = cl.Buffer(
/path/to/emirge/emirge-diffusion-memory-issue/meshmode/meshmode/dof_array.py:142: size=104 B, count=2, average=52 B
File "/path/to/emirge/emirge-diffusion-memory-issue/meshmode/meshmode/dof_array.py", line 142
self.array_context = actx
<generated code>:29: size=104 B, count=1, average=104 B
File "<generated code>", line 29
<generated code>:33: size=88 B, count=1, average=88 B
File "<generated code>", line 33
<generated code>:35: size=80 B, count=1, average=80 B
File "<generated code>", line 35
<decorator-gen-11>:2: size=72 B, count=1, average=72 B
File "<decorator-gen-11>", line 2
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py:190: size=64 B, count=1, average=64 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py", line 190
return knl(queue, gs, ls, *args, wait_for=wait_for)
<generated code>:8: size=56 B, count=1, average=56 B
File "<generated code>", line 8
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py:1571: size=32 B, count=1, average=32 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py", line 1571
self.events.append(evt)
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py:517: size=28 B, count=1, average=28 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py", line 517
alloc_nbytes = self.nbytes = self.dtype.itemsize * self.size
/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py:461: size=28 B, count=1, average=28 B
File "/path/to/misc/tools/miniconda3/envs/emirge-diffusion-memory-issue/lib/python3.8/site-packages/pyopencl/array.py", line 461
size *= dim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment