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> | |
#define BLOCKSIZE 8 | |
#define UNROLL 8 | |
const char* dgemm_desc = "dgemm using cache blocking and unrolling"; // Aqui puedes dar una pequeña descripcion de tu programa | |
void do_block (int n, int si, int sj, int sk, | |
float *A, float *B, float *C) | |
{ |
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 | |
set -e | |
matrix=$1 | |
[ -z $matrix ] && exit 1 | |
perf_output_file=perf_output.tmp | |
events="branches,branch-misses,bus-cycles,cache-misses,cache-references,cpu-cycles,instructions,duration_time" |
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 | |
set -e | |
matrix=$1 | |
[ -z $matrix ] && exit 1 | |
perf_output_file=perf_output.tmp | |
events="L1-dcache-loads,L1-dcache-stores,L1-dcache-load-misses,LLC-loads,LLC-stores LLC-load-misses,LLC-store-misses,duration_time" |
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
#!/system/bin/sh | |
# | |
# ADDOND_VERSION=2 | |
# | |
# /system/addon.d/25-customprops.sh | |
# | |
. /postinstall/tmp/backuptool.functions | |
case "$1" in |
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 | |
set -e | |
KERNEL_TOOLS=/home/daniel/android/lineage-21.0/prebuilts/kernel-build-tools/linux-x86/bin/ | |
CLANG_PATH=/home/daniel/android/lineage-21.0/prebuilts/clang/host/linux-x86/clang-r487747c/bin/ | |
export PATH="$KERNEL_TOOLS:$CLANG_PATH:$PATH" | |
TARGET=$1 |
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 xml.etree.ElementTree as ET | |
import os | |
tree = ET.parse('ProFile.xml') | |
fastboot_cmds = ["fastboot set_active a"] | |
def AppendFastbootCmd(partition, image): | |
cmd = "fastboot flash %s %s" % (partition, image) | |
fastboot_cmds.append(cmd) |