Skip to content

Instantly share code, notes, and snippets.

diff --git a/runtime/lib/include/transports/rdma_uverbs.h b/runtime/lib/include/transports/rdma_uverbs.h
index 336bbdd..02bff5d 100644
--- a/runtime/lib/include/transports/rdma_uverbs.h
+++ b/runtime/lib/include/transports/rdma_uverbs.h
@@ -8,8 +8,8 @@
#define RDMA_PROTOCOL_IB (0)
// if roce, run on host, use GID 3, else GID 0
-#define RDMA_NUM_DEVICES 2
-#define RDMA_DEVICE_NAME "mlx5_1"
6 148 72 35 0 33.6 0.627 50 1
1 85 66 29 0 26.6 0.351 31 0
8 183 64 0 0 23.3 0.672 32 1
1 89 66 23 94 28.1 0.167 21 0
0 137 40 35 168 43.1 2.288 33 1
5 116 74 0 0 25.6 0.201 30 0
3 78 50 32 88 31.0 0.248 26 1
10 115 0 0 0 35.3 0.134 29 0
2 197 70 45 543 30.5 0.158 53 1
8 125 96 0 0 0.0 0.232 54 1
@depctg
depctg / ac_flower.py
Created May 3, 2020 01:09
animal crossing flower proof assistant
# Flower caluctor for animal crossing
from cmd import Cmd
from itertools import product, combinations, chain
from operator import add
from collections import Counter
def representsInt(s):
try:
int(s)
@depctg
depctg / checkee_plot.js
Last active September 3, 2019 17:06 — forked from codetrick/checkee_plot.js
plot bars on checkee.info
// ==UserScript==
// @name checkee_plot
// @author DepctG <depctg@gmail.com>
// @version 1
// @grant none
// @require https://cdn.jsdelivr.net/npm/chart.js@2.8.0/dist/Chart.min.js
// @match *://www.checkee.info/main.php*
// ==/UserScript==
// Functional tools
@depctg
depctg / udacity-cs344-hw2.ipynb
Created March 10, 2019 13:28
udacity-cs344-hw2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.