This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INCLUDE_DIRS = -I./src -I/opt/intel/oneapi/vtune/2021.1.1/include | |
CXX_FLAGS += -g -std=c++11 -O3 -Wall $(INCLUDE_DIRS) | |
PAR_FLAG = -fopenmp | |
LDFLAGS = -L/opt/intel/oneapi/vtune/2021.1.1/lib64 -littnotify -ldl | |
# Changes for Makefile to work | |
# 1. -ldl flag added: Makefile:26: recipe for target 'bfs' failed | |
# ERROR that occured: make: *** [bfs] Error 1 | |
# make: *** Waiting for unfinished jobs.... | |
# /usr/bin/ld: /opt/intel/oneapi/vtune/2021.1.1/lib64/libittnotify.a(ittnotify_static.o): undefined reference to symbol 'dlerror@@GLIBC_2.2.5' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download links for datasets: | |
LiveJournal - http://snap.stanford.edu/data/soc-LiveJournal1.html | |
com-orkut - http://snap.stanford.edu/data/com-Orkut.html | |
twitter - http://an.kaist.ac.kr/~haewoon/release/twitter_social_graph/twitter_rv.tar.gz | |
pld_arc - http://data.dws.informatik.uni-mannheim.de/hyperlinkgraph/2012-08/pld-arc.gz | |
kron - Refer the issue on GAP benchmark for "Generation of kronecker graphs" (Also see the note below) | |
road - http://www.dis.uniroma1.it/challenge9/data/USA-road-d/USA-road-d.USA.gr.gz | |
urand - Refer bench.mk inside GAP benchmark original repo by Scott (Also see the note below) | |
soc-pokec - http://snap.stanford.edu/data/soc-pokec-relationshps.txt.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download links for datasets: | |
LiveJournal - http://snap.stanford.edu/data/soc-LiveJournal1.html | |
com-orkut - http://snap.stanford.edu/data/com-Orkut.html | |
twitter - http://an.kaist.ac.kr/~haewoon/release/twitter_social_graph/twitter_rv.tar.gz | |
pld_arc - http://data.dws.informatik.uni-mannheim.de/hyperlinkgraph/2012-08/pld-arc.gz | |
kron - Refer the issue on GAP benchmark for "Generation of kronecker graphs" (Also see the note below) | |
road - http://www.dis.uniroma1.it/challenge9/data/USA-road-d/USA-road-d.USA.gr.gz | |
urand - Refer bench.mk inside GAP benchmark original repo by Scott (Also see the note below) | |
soc-pokec - http://snap.stanford.edu/data/soc-pokec-relationshps.txt.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "cache_cntlr.h" | |
#include "log.h" | |
#include "memory_manager.h" | |
#include "core_manager.h" | |
#include "simulator.h" | |
#include "subsecond_time.h" | |
#include "config.hpp" | |
#include "fault_injection.h" | |
#include "hooks_manager.h" | |
#include "cache_atd.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HYPERTHREADING=1 | |
function toggleHyperThreading() { | |
for CPU in /sys/devices/system/cpu/cpu[0-9]*; do | |
CPUID=`basename $CPU | cut -b4-` | |
echo -en "CPU: $CPUID\t" | |
[ -e $CPU/online ] && echo "1" > $CPU/online | |
THREAD1=`cat $CPU/topology/thread_siblings_list | cut -f1 -d,` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
import random | |
import matplotlib | |
# Make sure that we are using QT5 | |
matplotlib.use('Qt5Agg') | |
from PyQt5 import QtCore, QtWidgets | |
import numpy as np | |
import matplotlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
cache_size=0 | |
cache_empty=True | |
def refer(addr,hint,dq,dictionary): | |
print('Want to access addr: ',addr,' with hint: ',hint) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
#ht width channels filter_nos : provided | |
#filter_nos channels h w : output | |
# file_open = open('mtcnn_layer_wise_wts.txt', 'w') | |
file_rnet_wts = open('mtcnn_rnet_wts.txt','w') | |
# file_onet_wts = open('mtcnn_onet_wts.txt','w') | |
def print4d(mat, file_open): | |
file_open.write("["+str(mat.shape[0])+"]"+"["+str(mat.shape[1])+"]"+"["+str(mat.shape[2])+"]"+"["+str(mat.shape[3])+"]"+" = "+"{") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include "platform.h" | |
#include "xil_printf.h" | |
#include "xil_io.h" | |
#include "xparameters.h" | |
int main() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define H 3 | |
float sum_arr(float* A) | |
{ | |
//interfaces | |
#pragma HLS INTERFACE m_axi depth=9 port=A offset=slave | |
#pragma HLS INTERFACE s_axilite port=return | |
int i,j; | |
static float Ain[H*H]; | |