<commit_before>/** Erosion of src image by mask. Result is stored in dst image.

  */

// ARRAY convolution_window [window_size_x*window_size_y]
// SCALAR window_size_x
// SCALAR window_size_y

__kernel void vglClFuzzyGeoErode(__read_only image2d_t img_input,
                                __write_only image2d_t img_output,
                                __constant float* convolution_window, 
                                int window_size_x, 
                                int window_size_y)
{
<<<<<<< HEAD
	int2 coords = (int2)(get_global_id(0), get_global_id(1));
	const sampler_t smp = CLK_NORMALIZED_COORDS_FALSE | //Natural coordinates
                              CLK_ADDRESS_CLAMP_TO_EDGE |   //Clamp to next edge
                              CLK_FILTER_NEAREST;           //Don't interpolate
	
	int factorx = floor((float)window_size_x / 2.0f);
	int factory = floor((float)window_size_y / 2.0f);
	int conv_controller = 0;
	float4 pmin = (1.0,1.0,1.0,1.0);
  for(int j = -factory; j <= factory; j++)
	{
		for(int i = -factorx; i <= factorx; i++)
		{
			float4 a = read_imagef(img_input, smp, (int2)(coords.x + i,coords.y + j));<commit_msg>Fixed header marker left by mistake<commit_after>/** Erosion of src image by mask. Result is stored in dst image.

  */

// ARRAY convolution_window [window_size_x*window_size_y]
// SCALAR window_size_x
// SCALAR window_size_y

__kernel void vglClFuzzyGeoErode(__read_only image2d_t img_input,
                                __write_only image2d_t img_output,
                                __constant float* convolution_window, 
                                int window_size_x, 
                                int window_size_y)
{
	int2 coords = (int2)(get_global_id(0), get_global_id(1));
	const sampler_t smp = CLK_NORMALIZED_COORDS_FALSE | //Natural coordinates
                              CLK_ADDRESS_CLAMP_TO_EDGE |   //Clamp to next edge
                              CLK_FILTER_NEAREST;           //Don't interpolate
	
	int factorx = floor((float)window_size_x / 2.0f);
	int factory = floor((float)window_size_y / 2.0f);
	int conv_controller = 0;
	float4 pmin = (1.0,1.0,1.0,1.0);
  for(int j = -factory; j <= factory; j++)
	{
		for(int i = -factorx; i <= factorx; i++)
		{
			float4 a = read_imagef(img_input, smp, (int2)(coords.x + i,coords.y + j));
{'fraction_non_alphanumeric': 0.10202324580284115, 'fraction_numerical': 0.018941024537236333, 'mean_word_length': 2.1748633879781423, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1533020', 'n_tokens_mistral': 838, 'n_tokens_neox': 789, 'n_words': 177}