This file contains 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 <immintrin.h> | |
#define NR (8) // Number of rows. | |
#define MR (75) // Number of columns. | |
static const inline __m256d transform1a(__m256d a, __m256d b) | |
{ | |
const __m256d ret = _mm256_add_pd(a, b); | |
return ret; |
This file contains 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
#!/usr/bin/env bash | |
CURRENT_SINK_INDEX="$(pacmd list-sinks | grep '* index: ' | tr -dc '0-9')" | |
CARDS="$(pacmd list-sinks | grep "index: " | tr -dc '0-9\n' | sort)" | |
PICKNEXTCARD=1 | |
for card in $CARDS; do | |
if [ "$PICKNEXTCARD" == 1 ]; then | |
NEXT_SINK_INDEX="$card" | |
PICKNEXTCARD=0 |