Skip to content

Instantly share code, notes, and snippets.

@kazuki
kazuki / Radeon RX 560 ROCm 5.3.1 OpenCL.txt
Created November 12, 2022 12:24
ROCm 5.3.1 OpenCL clinfo
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP.dbg (3486.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
@kazuki
kazuki / memo.md
Created November 30, 2020 01:42
おやつの記録 (2014-2015)

2015年度

  • 幸水
  • 稲城
  • 秋麗
  • 豊水
  • かおり
  • 秋栄
@kazuki
kazuki / rnnoise.py
Created November 25, 2017 01:39
Python Bindings for RNNoise(https://github.com/xiph/rnnoise/)
from ctypes import byref, c_float, c_void_p, CDLL
class RNNoise(object):
def __init__(self):
self._native = CDLL('./librnnoise.so')
self._native.rnnoise_process_frame.restype = c_float
self._native.rnnoise_process_frame.argtypes = (
c_void_p, c_void_p, c_void_p)
self._native.rnnoise_create.restype = c_void_p
@kazuki
kazuki / clinfo-r9-nano.txt
Created December 23, 2018 15:58
ROCm 2.0.0 clinfo / hsainfo
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.0 AMD-APP.internal (2783.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_object_metadata cl_amd_event_callback
Platform Extensions function suffix AMD
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
@kazuki
kazuki / EPYC 7601.numactl.txt
Last active March 29, 2018 11:16
intel mlc EPYC 7601 Xeon E5-2699Av4 (2-socket)
$ numactl -H
available: 8 nodes (0-7)
node 0 cpus: 0 1 2 3 4 5 6 7 64 65 66 67 68 69 70 71
node 0 size: 64350 MB
node 0 free: 63414 MB
node 1 cpus: 8 9 10 11 12 13 14 15 72 73 74 75 76 77 78 79
node 1 size: 64508 MB
node 1 free: 62869 MB
node 2 cpus: 16 17 18 19 20 21 22 23 80 81 82 83 84 85 86 87
node 2 size: 64487 MB
@kazuki
kazuki / mlc-numa.txt
Created September 16, 2017 05:44
AMD Ryzen Threadripper 1950X Benchmark (ASRock X399 Taichi, Crucial ECC Unbuffered DDR4-2400 16GB x 4)
# NUMA-mode (Memory Interleaving: Channel)
Intel(R) Memory Latency Checker - v3.4
Measuring idle latencies (in ns)...
Numa node
Numa node 0 1
0 86.3 142.3
1 140.9 86.0
Measuring Peak Injection Memory Bandwidths for the system
@kazuki
kazuki / MEMO.txt
Last active June 21, 2017 14:44
Ryzen SEGV Battle
AGESA 1.0.0.4a
* default: SEGV and futex hangup
* disable ASLR: SEGV and futex hangup
* disable opcache: OK
AGESA 1.0.0.6
* default: SEGV and futex hangup
* disable ASLR: SEGV and futex hangup
* disable opcache: OK
@kazuki
kazuki / clinfo.txt
Last active May 16, 2017 15:00
hsainfo (ROCm 1.5 + Ryzen + R9 Nano)
Number of platforms 1 [23/1755]
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.0 AMD-APP.internal.dbg (2415.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_object_metadata cl_amd_event_callback cl_amd_offline_devices
Platform Extensions function suffix AMD
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
$ OMP_NUM_THREADS=6 ./fftw
3-D FFT: 128 x 128 x 128
On-board: 0.014684 msec, 14.995488 GFLOPS.
On-board: 0.009763 msec, 22.554633 GFLOPS.
3-D FFT: 256 x 256 x 256
On-board: 0.277897 msec, 7.244636 GFLOPS.
On-board: 0.268828 msec, 7.489059 GFLOPS.
$ OMP_NUM_THREADS=12 ./fftw
3-D FFT: 128 x 128 x 128
@kazuki
kazuki / anime.mp4
Last active December 16, 2016 10:10
jubatus k-means clustering