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 <thread> | |
| #include <vector> | |
| #include <chrono> | |
| //#include <cuda.h> | |
| //#pragma once | |
| typedef int CUdevice; | |
| typedef struct CUctx_st* CUcontext; |
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
| ------------------------------------------------------------------------------- | |
| -- | |
| -- A VGA line-doubler for an Apple ][ | |
| -- | |
| -- Stephen A. Edwards, sedwards@cs.columbia.edu | |
| -- | |
| -- | |
| -- FIXME: This is all wrong | |
| -- | |
| -- The Apple ][ uses a 14.31818 MHz master clock. It outputs a new |
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 <stdio.h> | |
| #define ITER 1024*1024*1024 | |
| #define SSZ 512 | |
| #define BSZ 7*16 | |
| #include <time.h> | |
| #include <sys/time.h> |
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 <stdio.h> | |
| #define ITER 1024 | |
| #define SSZ 512 | |
| #define BSZ 512 | |
| #include <time.h> | |
| #include <sys/time.h> |
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
| #!/usr/bin/env ruby | |
| # coding: utf-8 | |
| #RS = "\r\n" | |
| RS = "\n" | |
| File.open(ARGV[0], "r:ASCII-8BIT") do |f| | |
| # header | |
| magic = f.read(5) | |
| if magic != '*mbx*' |