Skip to content

Instantly share code, notes, and snippets.

@msharmavikram
msharmavikram / oprofile_install.sh
Created June 22, 2018 22:54
Oprofile Installation instruction for Ubuntu 16.04
sudo apt install binutils-dev libpopt-dev libiberty-dev
wget https://astuteinternet.dl.sourceforge.net/project/oprofile/oprofile/oprofile-1.2.0/oprofile-1.2.0.tar.gz
tar -xvf oprofile-1.2.0.tar.gz
cd oprofile-*
./configure
make -j 4
sudo make install
echo "Running application with below command"
echo "sudo operf <your application>"
@msharmavikram
msharmavikram / dragon_test.cu
Last active September 9, 2020 03:02
dragon_test - failed case
/**
* Copyright 1993-2015 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and related documentation outside the terms of the EULA
* is strictly prohibited.
*
*/
@msharmavikram
msharmavikram / config_5.3.1
Created September 9, 2020 18:09
Config used for dragon kernel compile
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.3.1 Kernel Configuration
#
#
# Compiler: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=80301