Skip to content

Instantly share code, notes, and snippets.

Rushi Agrawal rushiagr

Block or report user

Report or block rushiagr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5f80234090cf0dd6a68296e81785e441
diff --git a/include/contrib/moderngpu/include/device/intrinsics.cuh b/include/contrib/moderngpu/include/device/intrinsics.cuh
index a601443..c212a38 100644
--- a/include/contrib/moderngpu/include/device/intrinsics.cuh
+++ b/include/contrib/moderngpu/include/device/intrinsics.cuh
@@ -112,7 +112,7 @@ __device__ __forceinline__ float shfl_up(float var,
unsigned int delta, int width = 32) {
#if __CUDA_ARCH__ >= 300
- var = __shfl_up(var, delta, width);
+ var = __shfl_up_sync(0xFFFFFFFF, var, delta, width);

Keybase proof

I hereby claim:

  • I am rushiagr on github.
  • I am rushiagr ( on keybase.
  • I have a public key ASDVDX-7yqG_P_JxA3_k5IuSelKLg3X8Fxkx8N7RI1lHIgo

To claim this, I am signing this object:

rushiagr / local.conf
Last active Aug 29, 2015
My DevStack local.conf
View local.conf
# MagnetoDB
rushiagr /
Last active Aug 29, 2015
DevStack+MagnetoDB on a clean VM
sudo apt-get install --assume-yes git
git clone
git clone
cp magnetodb/contrib/devstack/lib/magnetodb devstack/lib
cp magnetodb/contrib/devstack/extras.d/ devstack/extras.d
cat > devstack/local.conf <<EOF
View micro-ceph.txt
# Copyright (C) 2013 Loic Dachary <>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
rushiagr / gist:8573862
Created Jan 23, 2014
Things to be done in AWS API of OpenStack, with respect to Cinder (block storage)
View gist:8573862
List of work to be done
CreateVolume - None
CreateSnapshot - None
DeleteVolume - None
DeleteSnapshot - None
AttachVolume None
DetachVolume - None
# Use those functions to enumerate all interfaces available on the system using Python.
# found on <>
# Works with Python 2.7
# Python 3.3's 'socket' module takes care of many of the functionalities coded here
import socket
import fcntl
import struct
import array
You can’t perform that action at this time.