Skip to content

Instantly share code, notes, and snippets.

View kmaehashi's full-sized avatar

Kenichi Maehashi kmaehashi

View GitHub Profile
// OK:
// gcc test_dlopen.c -ldl -lcuda -lcudart -L/usr/local/cuda-12.2.1/lib64 -I/usr/local/cuda-12.2.1/include -o test
// FAIL with "Error getting global symbol: 201" when compiled with "-DDLOPEN":
// gcc test_dlopen.c -ldl -lcuda -lcudart -L/usr/local/cuda-12.2.1/lib64 -I/usr/local/cuda-12.2.1/include -o test -DDLOPEN
#include <stdio.h>
#include <dlfcn.h>
#include <cuda.h>
#include <cuda_runtime_api.h>
diff -Naru generated_before/cupy.cuda.MemoryHook.rst generated/cupy.cuda.MemoryHook.rst
--- generated_before/cupy.cuda.MemoryHook.rst 2018-05-18 16:28:30.075413246 +0900
+++ generated/cupy.cuda.MemoryHook.rst 2018-05-18 16:31:06.047833627 +0900
@@ -18,6 +18,10 @@
+ .. automethod:: __enter__
+
+
=================================== FAILURES ===================================
___________________ TestEinSumError.test_irregular_ellipsis4 ___________________
cupy/testing/helper.py:490: in test_func
accept_error=accept_error)
cupy/testing/helper.py:51: in _check_cupy_numpy_error
self.fail('Only cupy raises error\n\n' + cupy_tb)
E AssertionError: Only cupy raises error
E
E Traceback (most recent call last):
E File "/home/kenichi/Development/cupy/cupy/testing/helper.py", line 469, in test_func
sphinx-build -b doctest -d build/doctrees source build/doctest
Running Sphinx v1.6.5
Initializing Spelling Checker
loading pickled environment... done
[autosummary] generating autosummary for: compatibility.rst, contribution.rst, index.rst, install.rst, license.rst, overview.rst, reference/binary.rst, reference/creation.rst, reference/cuda.rst, reference/difference.rst, ..., reference/random.rst, reference/routines.rst, reference/sorting.rst, reference/sparse.rst, reference/statistics.rst, reference/testing.rst, reference/ufunc.rst, tutorial/basic.rst, tutorial/index.rst, tutorial/kernel.rst
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 351 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
running tests...
=================================== FAILURES ===================================
______________ TestUnnamedVariableToString_param_1.test_repr_cpu _______________
self = <chainer.testing.parameterized.TestUnnamedVariableToString_param_1 testMethod=test_repr_cpu>
def test_repr_cpu(self):
> self.assertEqual(repr(self.x), self.repr)
E AssertionError: Parameterized test failed.
E
E Base test method: TestUnnamedVariableToString.test_repr_cpu
sphinx-build -b doctest -d build/doctrees source build/doctest
Running Sphinx v1.6.5
Initializing Spelling Checker
loading pickled environment... done
[autosummary] generating autosummary for: comparison.rst, compatibility.rst, contribution.rst, index.rst, install.rst, license.rst, reference/caffe.rst, reference/check.rst, reference/core.rst, reference/core/configuration.rst, ..., tutorial/ptb.rst, tutorial/recurrentnet.rst, tutorial/train.rst, tutorial/train_loop.rst, tutorial/trainer.rst, tutorial/type_check.rst, tutorial/various_tasks.rst, tutorial/word2vec.rst, tutorial/writenet.rst, upgrade.rst
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 437 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
running tests...
% pip install -e . -vvv --no-cache
Obtaining file:///home/kenichi/Development/cupy
Running setup.py (path:/home/kenichi/Development/cupy/setup.py) egg_info for package from file:///home/kenichi/Development/cupy
Running command python setup.py egg_info
Options: {'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
-------- Configuring Module: cuda --------
cc1plus: warning: command line option -Wstrict-prototypes is valid for C/ObjC but not for C++
cc1plus: warning: command line option -Wstrict-prototypes is valid for C/ObjC but not for C++
cc1plus: warning: command line option -Wstrict-prototypes is valid for C/ObjC but not for C++
@kmaehashi
kmaehashi / jubakit.rst
Last active August 28, 2017 01:31
jubatus 1.0.5 release note candidate

Release 0.6.0 (2017-08-28)

  • New Features
    • Add --transform option to jubamodel command (#75, #83)
  • Improvements
    • Fix library version for Python 2.6 (#88, #91)
@kmaehashi
kmaehashi / jubatus.rst
Last active June 26, 2017 01:20
jubatus 1.0.4 release note

Release 1.0.4 - 2017/06/26

  • Improvements
    • anomaly: imporve get_status to return additional metrics (#1194, #1203)
    • Remove workaround code in RPM package builder (#1195, #1202)
  • Bug fixes
    • Fix output of ORB plugin (#1196, #1201)