Skip to content

Instantly share code, notes, and snippets.

View dashesy's full-sized avatar

Ehsan Azar dashesy

  • Microsoft
  • Redmond
View GitHub Profile
@dashesy
dashesy / test_nccl.c
Created May 16, 2018 17:30 — forked from alsrgv/test_nccl.c
Test NCCL
// Code from http://docs.nvidia.com/deeplearning/sdk/nccl-developer-guide/index.html#onedevprothrd
#define _BSD_SOURCE
#include <stdio.h>
#include "cuda_runtime.h"
#include "nccl.h"
#include "mpi.h"
#include <stdint.h>
#include <stdlib.h>
@dashesy
dashesy / ipython-notebook.service
Created October 8, 2015 20:25 — forked from amitsaha/ipython-notebook.service
Run IPython notebook under systemd
# README:
# Copy this file to /usr/lib/systemd/system/
# sudo systemctl daemon-reload
# systemctl enable ipython-notebook
# systemctl start ipython-notebook
# The WorkingDirectory and ipython-dir must exist
# If you don't want anything fancy, go to http://127.0.0.1:8888 to see your notebook
# wheneber you want it
[Unit]