pi@raspberrypi:~/cache_test $ ./a.out
exec time normal: 42.615200sec
allsum = 134217728
exec time block: 25.836692sec
allsum = 134217728
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
https://github.com/ntfreak/openocd/blob/master/tcl/target/hi6220.cfg |
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 <stdint.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <time.h> | |
#define MAT_A_ROW 512 | |
#define MAT_A_COL 512 | |
#define MAT_B_ROW 512 | |
#define MAT_B_COL 512 |
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
FROM linaro/base-arm64-ubuntu:xenial | |
COPY sources.list /etc/apt/sources.list | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
build-essential \ | |
curl \ | |
libfreetype6-dev \ | |
libhdf5-dev \ |
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/sh | |
docker run --rm -v `pwd`/book:/work vvakame/review:2.5 /bin/sh -c "cd /work && review-pdfmaker config.yml" | |
sudo chown -R $USER. ./book |
tnishinaga@tx230> v4l2-ctl --list-formats-ext -d 2 ~
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
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
// Author Toshifumi NISHINAGA < tnishinaga.dev AT gmail DOT com > | |
// License: GPLv2 | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <ftdi.h> | |
static inline void ftdi_bitmode_fail(struct ftdi_context *ftdi, int f) |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm64 4.14.32 Kernel Configuration | |
# | |
CONFIG_ARM64=y | |
CONFIG_64BIT=y | |
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y | |
CONFIG_MMU=y | |
CONFIG_ARM64_PAGE_SHIFT=12 | |
CONFIG_ARM64_CONT_SHIFT=4 |
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
# for lldb build on arch linux | |
FROM base/archlinux | |
RUN pacman -Syu | |
RUN pacman -S --noconfirm git swig cmake doxygen graphviz llvm clang lldb python2 ninja lld cmake epydoc | |
# for debug | |
RUN pacman -S --noconfirm ltrace |