This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // gcc avx.c -mavx -std=c99 -O2 | |
| // while true; do ./a.out; done > log | |
| // analyze via np.genfromtxt, e.g. min, 10th percentile, median | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <x86intrin.h> | |
| #include <avxintrin.h> | |
| #define N 3000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| reading sources... [100%] user/vectorize | |
| /home/antoine/numba/docs/source/cuda-reference/host.rst:107: WARNING: autodoc: failed to import function 'profile_start' from module 'numba.cuda'; the following exception was raised: | |
| Traceback (most recent call last): | |
| File "/home/antoine/34/lib/python3.4/site-packages/sphinx/util/inspect.py", line 108, in safe_getattr | |
| return getattr(obj, name, *defargs) | |
| AttributeError: 'module' object has no attribute 'profile_start' | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ====================================================================== | |
| FAIL: test_extint128.test_to_128 | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/pitrou/np/build/testenv/lib/python3.4/site-packages/numpy/core/tests/test_extint128.py", line 61, in exc_iter | |
| yield iterate() | |
| File "/home/pitrou/np/build/testenv/lib/python3.4/site-packages/numpy/core/tests/test_extint128.py", line 97, in test_to_128 | |
| assert_equal(b, a) | |
| File "/home/pitrou/np/build/testenv/lib/python3.4/site-packages/numpy/testing/utils.py", line 354, in assert_equal | |
| raise AssertionError(msg) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| LTO_CFLAGS="-g -flto -fuse-linker-plugin -ffat-lto-objects -O3" | |
| ./configure --enable-ipv6 --with-ensurepip=upgrade \ | |
| CFLAGS="$LTO_CFLAGS" LDFLAGS="$LTO_CFLAGS" | |
| # The following is basically "make profile-opt", but with additional | |
| # flexibility if you want to add e.g. "-j4" when building |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/numba/cuda/tests/cudapy/test_record_dtype.py b/numba/cuda/tests/cudapy/test_record_dtype.py | |
| index cbe44c1..a457b04 100644 | |
| --- a/numba/cuda/tests/cudapy/test_record_dtype.py | |
| +++ b/numba/cuda/tests/cudapy/test_record_dtype.py | |
| @@ -127,8 +127,11 @@ class TestRecordDtype(unittest.TestCase): | |
| for i in range(self.sample1d.size): | |
| got = self.sample1d.copy() | |
| - expect = np.recarray(got.shape, got.dtype) | |
| - expect[:] = got |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ nm --defined-only mode.cpython-34m.so | |
| 0000000000206b10 B __bss_start | |
| 0000000000003250 t closure_dealloc | |
| 0000000000002df0 t closure_traverse | |
| 0000000000206600 d ClosureType | |
| 0000000000206b40 b completed.7291 | |
| 00000000000043d0 r .const.Fatal_error:_missing__dynfunc.Closure | |
| 0000000000004400 r .const.missing_Environment | |
| 0000000000004465 r .const.mode | |
| 0000000000205d18 d .const.picklebuf.140270556335688 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # tests for numba-0.21.0-np17py27_363 (this is a generated file) | |
| from __future__ import absolute_import, division, print_function | |
| import sys | |
| import subprocess | |
| from distutils.spawn import find_executable | |
| import shlex | |
| def call_args(string): | |
| args = shlex.split(string) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ====================================================================== | |
| ERROR: test_set_a (__main__.TestRecordDtypeWithStructArrays) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 144, in test_set_a | |
| self._test_set_equal(set_a, 3.1415, types.float64) | |
| File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 138, in _test_set_equal | |
| pyfunc(expect, i, value) | |
| File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 12, in set_a | |
| ary[i].a = v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ====================================================================== | |
| ERROR: test_set_a (numba.cuda.tests.cudapy.test_record_dtype.TestRecordDtypeWithStructArrays) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 144, in test_set_a | |
| self._test_set_equal(set_a, 3.1415, types.float64) | |
| File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 138, in _test_set_equal | |
| pyfunc(expect, i, value) | |
| File "/home/antoine/numba/numba/cuda/tests/cudapy/test_record_dtype.py", line 12, in set_a | |
| ary[i].a = v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - disable automatic updates | |
| - disable swapfile | |
| - disable snapshots | |
| - disable hibernation ("powercfg -h off") | |
| - disable periodic defragmentation | |
| Useful tools: | |
| - dexpot | |
| - firefox | |
| - notepad++ |