Skip to content

Instantly share code, notes, and snippets.

Gtc JAPAN 2017

Volta Architecture Deep Drive

  • Volta はPascal に続くNVのGPU アーキテクチャであり、コア名としてはGV100。
    • 車載向けがXavier
    • GPUコンピューティング向けボードがTesla V100
@zonomasa
zonomasa / file0.txt
Created October 18, 2014 09:39
QEMU でARM エミュレータ環境を作成する ref: http://qiita.com/zonomasa/items/b33fba457503e166967a
$ sudo apt-get install qemu-user-static
@zonomasa
zonomasa / Vagrantfile_ubuntu1404_fluentd
Created August 3, 2014 03:21
Vagrantfile for Ubuntu14.04 with Fluentd
Vagrant.configure('2') do |config|
config.vm.hostname = 'ubuntu1404-fluentd'
config.vm.provider :digital_ocean do |provider, override|
provider.client_id = 'YOUR_CLIENT_ID'
provider.api_key = 'YOUR_API_KEY'
provider.ssh_key_name = 'YOUR_SSH_KEY_NAME'
provider.token = 'YOUR_TOKEN'
override.ssh.private_key_path = '~/.ssh/id_rsa'
override.vm.box = 'digital_ocean'
@zonomasa
zonomasa / how_to_make_msgpack-c-test_using_CMake
Created July 2, 2014 11:36
msgpack-c のtest をCMake でビルドする
$ cp -r ${ANYWHERE}/gtest-1.7.0 ./msgpack-c/test
$ cd msgpack-c
$ cmake . -DGTEST_BOTH_LIBRARIES=test/gtest-1.7.0 -DGTEST_INCLUDE_DIR=test/gtest-1.7.0/include -DMSGPACK_BUILD_TESTS=ON -DGTEST_LIBRARY=test/gtest-1.7.0/libgtest.a -DGTEST_MAIN_LIBRARY=test/gtest-1.7.0/libgtest_main.a
$ make
$ cd test
$ ./msgpack_test
@zonomasa
zonomasa / gist:a15b6fa41f1c6a98dccb
Last active August 29, 2015 14:03
How_to_install_ruby_on_Ubuntu14.04
$ sudo apt-get install libssl-dev
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv/
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ rbenv install 2.1.2
$ rbenv global 2.1.2
@zonomasa
zonomasa / jemalloc_build_option
Created May 31, 2014 10:22
jemalloc の有用なビルドオプション
--enable-debug 不正なインプットや動作についてアサート機能を有効にする。
--enable-prof ヒープ使用状況のプロファイリングとメモリリークの検出機能を有効にする。
--disable-fill メモリ領域をゼロ/もしくは不正な値で埋める機能を無効にする。
--enable-lazy-lock pthread_create() を検出し、アプリケーションがシングルスレッドのうちはロックを行わないようにする。
--with-jemalloc-prefix=<prefix> 標準関数にprefixをつける。malloc() が<prefix>_malloc() のようになる。
@zonomasa
zonomasa / how_to_inistall_fluentd_on_ubuntu14.04
Created May 31, 2014 07:56
Ubuntu14.04 にfluentd をインストールする
## インストール
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ rbenv install 2.1.2
$ gem install fluent
## 確認
@zonomasa
zonomasa / how_to_install_jemalloc_on_macosx
Last active June 14, 2021 22:57
Install jemalloc on Mac OSX
$ git clone git@github.com:jemalloc/jemalloc.git
$ autoconf
$ ./configure
$ make
$ make install