Skip to content

Instantly share code, notes, and snippets.

View andygrove's full-sized avatar

Andy Grove andygrove

View GitHub Profile
@andygrove
andygrove / libcudf-ninja.md
Last active August 25, 2020 16:13
Building libcudf with ninja

Building cuDF with ninja

Install CUDA 10.0

Follow the instructions here to install CUDA 10.2.

CUDA will be installed under usr/local and the /usr/local/cuda symlink should now be pointing to version 10.2.

Reboot and then try running one of the examples to confirm CUDA is correctly installed.

andy@freedom:~/apache/arrow/cpp$ mkdir build
andy@freedom:~/apache/arrow/cpp$ cd build
andy@freedom:~/apache/arrow/cpp/build$ cmake -G "Unix Makefiles" ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
@andygrove
andygrove / gist:8abfa027fa29fb9f31efeab90043682c
Created March 8, 2018 15:26
Trying to build Apache Arrow C++
andy@freedom:~/git/arrow/cpp/build$ env | grep -i boost
andy@freedom:~/git/arrow/cpp/build$ ls -l
total 0
andy@freedom:~/git/arrow/cpp/build$ cmake -DARROW_VERBOSE_THIRDPARTY_BUILD=ON -G "Unix Makefiles" ..
clang-tidy not found
clang-format not found
infer not found
INFOCompiler command: /usr/bin/c++
INFOCompiler version: Using built-in specs.
COLLECT_GCC=/usr/bin/c++

Keybase proof

I hereby claim:

  • I am andygrove on github.
  • I am andygrove (https://keybase.io/andygrove) on keybase.
  • I have a public key ASBjr4SAsgzlaoxfS4GY3rLs-vh77eQjV3SfHVY_anE3SQo

To claim this, I am signing this object:

Running on Nov 9, 2014 12:17:20 PM with config: PerfTestConfig{minThreads=1, maxThreads=10, threadIncrement=1, duration=100}
Threads: 1: Samples: 18,570,485; Duration: 100; Throughput: 185,704,832
Threads: 2: Samples: 38,927,344; Duration: 100; Throughput: 389,273,440
Threads: 3: Samples: 26,135,156; Duration: 100; Throughput: 261,351,568
Threads: 4: Samples: 24,567,651; Duration: 100; Throughput: 245,676,528
Threads: 5: Samples: 24,087,810; Duration: 100; Throughput: 240,878,096
Threads: 6: Samples: 17,565,874; Duration: 100; Throughput: 175,658,736
Threads: 7: Samples: 17,640,305; Duration: 100; Throughput: 176,403,040
Threads: 8: Samples: 29,013,418; Duration: 192; Throughput: 151,111,552
Threads: 9: Samples: 13,152,966; Duration: 100; Throughput: 131,529,656