<commit_before><commit_msg>Adding CUDA code to repo<commit_after>
#include <cuda.h>
#include "cuda_runtime_api.h"
#include "device_functions.h"

#include <iostream>
#include <cmath>
#include <ostream>
#include <fstream>
#include <math.h>

using namespace std;

// Define Given Parameters
#define DIVISIONS  1024.
#define LENX       50.
#define TS         5.
#define TIMELIMIT  5000.
#define REAL       float
#define TH_DIFF    8.418e-5


int main()
{
	const int dv = int(DIVISIONS);
	REAL ds = LENX/(DIVISIONS-1);
	REAL FO = TS*TH_DIFF/(ds*ds);

	REAL x[dv], 
	REAL IC[dv];
	for (int k = 0; k<dv; k++)
	{
		x[k] = ds*k;
		IC[k] = 500.f*expf((-x[k])/LENX);
	}

	cout << FO << endl;
	return 1;

}








{'fraction_non_alphanumeric': 0.1581196581196581, 'fraction_numerical': 0.03133903133903134, 'mean_word_length': 3.312883435582822, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4763035', 'n_tokens_mistral': 330, 'n_tokens_neox': 295, 'n_words': 76}