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
int main() | |
{ | |
auto t = make_scoped( | |
task( | |
[] (auto x) { | |
}, token, | |
then( | |
[] (auto x) { |
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 <array> | |
#include <functional> | |
#include <iostream> | |
#include <new> | |
#include <type_traits> | |
#include <vector> | |
#define M 2 | |
#define N 4 | |
#define P 2 |
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 <forward_list> | |
template <typename Type, typename Allocator = std::allocator <Type>, typename SizeType = std::size_t> | |
class | |
stack | |
{ | |
public: | |
using value_type = Type; | |
using allocator_type = Allocator; | |
using reference = value_type &; |
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 | |
# include this boilerplate | |
function jumpto | |
{ | |
label=$1 | |
cmd=$(sed -n "/#$label:/{:a;n;p;ba};" $0) | |
eval "$cmd" | |
exit | |
} | |
start=${1:-"start"} |
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 <iostream> | |
#include <array> | |
#include <algorithm> | |
#include <numeric> | |
typedef unsigned long long ULL; | |
// Delcare the litparser | |
template<ULL Sum, char... Chars> struct litparser; |
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 | |
echo "Regenerating README Table" | |
if [ -a .commit ] | |
then | |
rm -f .commit | |
cat<<'EOF' > .process.awk | |
#!/usr/bin/env gawk | |
BEGIN{ | |
FS = "[| \t]+"; |
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
/* | |
$ /opt/cuda/bin/nvcc --keep iterDeductionSmokeTest.cpp -m64 -DRAJA_ENABLE_NESTED -O2 -restrict -arch compute_35 -std c++11 --expt-extended-lambda -x cu -ccbin /opt/cuda/bin/g++ -Xcompiler -fopenmp -DNVCC -I/opt/cuda/include -I/opt/cuda/include -I/home/wkillian/RAJA_build/tpl/src/googletest/include -I/home/wkillian/RAJA_build/include/RAJA -I/home/wkillian/RAJA_build/include -I/home/wkillian/RAJA/include -I/home/wkillian/RAJA/test/include | |
*/ | |
#include <iostream> | |
#include <iterator> | |
#include <type_traits> | |
#include <algorithm> | |
#include <RAJA/RAJA.hxx> |
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 <algorithm> | |
#include <iostream> | |
#include <vector> | |
#include <chrono> | |
int main() { | |
int index{-1}; | |
int sum{0}; | |
std::string line; | |
auto timeStart = std::chrono::high_resolution_clock::now(); |
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
.file "Day06.c" | |
.text | |
.p2align 4,,15 | |
.globl file_size | |
.type file_size, @function | |
file_size: | |
.LFB4874: | |
.cfi_startproc | |
subq $152, %rsp | |
.cfi_def_cfa_offset 160 |
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 <iostream> | |
#include <map> | |
#include <sstream> | |
#include <string> | |
std::string from_pattern(std::string pattern) { | |
int i{0}; | |
std::map<char, int> m; | |
std::ostringstream s; | |
for (char c : pattern) { |
OlderNewer