Skip to content

Instantly share code, notes, and snippets.

View tonykero's full-sized avatar
🖖
Moving forward

Antoine Karcher tonykero

🖖
Moving forward
  • France
  • 02:13 (UTC +02:00)
View GitHub Profile
## Will successfully install amdgpu drivers and rocm,
## but pointless as there is no gpu device attached to WSL2 (only CUDA and DirectML is supported, not /dev/kfd or amd gpus)
## ROCM/HIP
sudo apt update
sudo apt dist-upgrade
sudo apt install libnuma-dev
wget -q -O - http://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list

Keybase proof

I hereby claim:

  • I am tonykero on github.
  • I am tony_kero (https://keybase.io/tony_kero) on keybase.
  • I have a public key ASDIEWpgzOgHTQbJoMtVowlpfEfrxktR9lj0Cmvc1Q9GtAo

To claim this, I am signing this object:

@tonykero
tonykero / Doxyfile
Created April 14, 2018 14:48
SFML Doc using moxygen
# Doxyfile 1.8.8
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
#
# All text after a double hash (##) is considered a comment and is placed in
# front of the TAG it is preceding.
#
# All text after a single hash (#) is considered a comment and will be ignored.
# The format is:
@tonykero
tonykero / appveyor.json
Created September 6, 2017 00:59
Sample Project Config
{
"coverage": true,
"platform": [
"x86",
"x64"
],
"configuration": [
"Debug",
"Release"
],
@tonykero
tonykero / main.cpp
Created July 29, 2017 16:56
cursos position playground
#include <iostream>
#include <thread>
#include <atomic>
#include <chrono>
#include <string>
#include <array>
#if defined _WIN32
#include <windows.h>
#elif defined __linux__
@tonykero
tonykero / main.cpp
Created July 27, 2017 22:41
parallel_for implementations
#include <cmath> // std::ceil
#include <ctime> // std::clock_t, std::clock()
#include <thread> // std::thread, std::async
#include <future> // std::future
#include <iostream> // std::cout
#include <string> // std::cout << std::string
#include <vector> // std::vector