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
me: Can you explain in simple terms the concept of coalescence in the context of GPGPU workloads? | |
chatGPT: Coalescence in the context of GPGPU workloads refers to the process of combining multiple memory accesses into a single memory access. This is done to improve the performance of the GPU by reducing the number of memory accesses that need to be made. | |
In simple terms, coalescence is a technique used to make the GPU's memory accesses more efficient by grouping several small memory requests together into one larger request. This can help to reduce the amount of time the GPU spends waiting for data to be loaded from memory, resulting in better overall performance. | |
me: Does keeping coalescence in mind affect the way a programmer organizes their code’s flow? | |
chatGPT: Yes, keeping coalescence in mind can affect the way a programmer organizes their code's flow. | |
To achieve good coalescence, the programmer must ensure that the GPU's threads access memory in a way that allows for efficient memory accesses. This o |
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
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.Threading; | |
using System.Windows.Forms; | |
namespace ScreenCapture | |
{ | |
class Program | |
{ |
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 <ctime> | |
#include <functional> | |
#include <stdio.h> | |
// release: | |
// | |
//direct call : 0.063000 | |
//virtual call : 0.301000 | |
//lambda : 0.063000 | |
//fn ptr : 0.265000 |
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
@echo off | |
GetTiming -i >> results.txt | |
del input.txt | |
copy small.txt input.txt | |
echo Performing 51 executions on small file >> results.txt | |
GetTiming -h >> results.txt |
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
@echo off | |
del corr_results.txt | |
REM ===================================================================== | |
del input.txt | |
copy small.txt input.txt | |
echo testing DuskEntry.exe for correctness on small |
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
@title DOF stackmaker | |
rem original script at http://chdk.wikia.com/wiki/UBASIC/Scripts:_macro_DOFstacker | |
rem slightly modified in order to take a given amounts of shots on an A810 HD | |
@param a closeStart dist (mm) | |
@default a 0 | |
@param b closeStart dist (cm) | |
@default b 0 | |
@param c closeStart dist (m) | |
@default c 0 |