EP5以降のネタバレによる答え合わせ。
正解。紗音=嘉音=ベアトリーチェ。 これはEP6などの描写を見るに間違いない。
// gcc -lv4l2 -lv4lconvert v4l_sample.c | |
#include <inttypes.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <fcntl.h> | |
#include <errno.h> | |
#include <sys/ioctl.h> | |
#include <sys/types.h> |
Platform: AMD Accelerated Parallel Processing\0 | |
Device: gfx902\0 | |
Driver version : 2639.3 (PAL,HSAIL)\0 (Linux x64) | |
Compute units : 10 | |
Clock frequency : 1300 MHz | |
Global memory bandwidth (GBPS) | |
float : 31.79 | |
float2 : 33.02 | |
float4 : 33.92 |
import numpy as np | |
import time | |
from videocore.assembler import qpu | |
from videocore.driver import Driver | |
@qpu | |
def hello_world(asm): | |
mov(r0, uniform) | |
ldi(r2, 3000000) |
/* clang-6 -O1 -S -emit-llvm | |
extern int f(int); | |
int g(int in) | |
{ | |
int x = 0; | |
switch(in) | |
{ | |
case 0: | |
x += f(in); |
__global void hello(__global float * a, float b) | |
{ | |
int gid = get_global_id(0); | |
a[gid] = b; | |
} |
/* ラズパイ3で実験する(オーバークロックなし) | |
* gcc 6.3 -O2でコンパイル(キャッシュの効果を実感するためだけなので他のループ最適化オプションはなし) | |
* -DCHANGE つきで780 millisec | |
* -DCHANGE なしで21850 millisec | |
*/ | |
#include <iostream> | |
#include <vector> | |
#include <chrono> |
grammar Debug; | |
prog returns [v] | |
: additive {$v = additive.v}; | |
additive returns [v] : | |
l=additive s='+' r=primary {$v = $l.v + $r.v | |
print($v)} | |
| p=primary {$v = $p.v} | |
; |
escape ^Tt | |
defbce on | |
term xterm-256color | |
shell $SHELL | |
termcapinfo xterm* 'Co#256:pa#32767:AB=\E[48;5;%dm:AF=\E[38;5;%dm:' | |
hardstatus off | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W} %c %{g}]' | |
startup_message off |
#include <memory> | |
class A : public std::enable_shared_from_this<A> { | |
public: | |
int id; | |
A(int x) : id(x) {} | |
}; | |
class B : public A | |
{ |