Skip to content

Commit

Permalink
Add BOM to all text files
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Oct 23, 2023
1 parent bcbc35f commit b812ce0
Show file tree
Hide file tree
Showing 75 changed files with 74 additions and 82 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.pcu
*.pcu
*.pdb
*.exe
0.pas
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




[submodule "DataScraping/Reps/OpenCL-Docs"]
Expand Down
2 changes: 1 addition & 1 deletion DataScraping/XML/OpenCL/vendors.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




Khronos = KHR
Expand Down
2 changes: 1 addition & 1 deletion DataScraping/XML/OpenGL/vendors.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




KHR = KHR
Expand Down
2 changes: 1 addition & 1 deletion DeleteAllTemp.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




del /S *.pcu
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
Expand Down
2 changes: 1 addition & 1 deletion PackAll-0 Just First Pack.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@setlocal enableextensions
@setlocal enableextensions
@cd /d "%~dp0"


Expand Down
2 changes: 1 addition & 1 deletion PackAll-1 CL+GL.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@setlocal enableextensions
@setlocal enableextensions
@cd /d "%~dp0"


Expand Down
2 changes: 1 addition & 1 deletion PackAll-2 CLABC Full.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@setlocal enableextensions
@setlocal enableextensions
@cd /d "%~dp0"


Expand Down
2 changes: 1 addition & 1 deletion PackAll-2 GLABC Full.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@setlocal enableextensions
@setlocal enableextensions
@cd /d "%~dp0"


Expand Down
2 changes: 1 addition & 1 deletion PackAll-3 CLABC Only.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@setlocal enableextensions
@setlocal enableextensions
@cd /d "%~dp0"


Expand Down
2 changes: 1 addition & 1 deletion PackAll-3 GLABC Only.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@setlocal enableextensions
@setlocal enableextensions
@cd /d "%~dp0"


Expand Down
2 changes: 1 addition & 1 deletion PackAll-4 Release Only.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@setlocal enableextensions
@setlocal enableextensions
@cd /d "%~dp0"


Expand Down
2 changes: 1 addition & 1 deletion Packing/Descriptions/0Common/0.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# PlatformLoader
Expand Down
2 changes: 1 addition & 1 deletion Packing/Descriptions/Dummy/0.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# EnumBase
Expand Down
2 changes: 1 addition & 1 deletion Packing/Descriptions/OpenCL/0.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# OpenCLException
Expand Down
2 changes: 1 addition & 1 deletion Packing/Descriptions/OpenCL/IdClass.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# cl_accelerator
Expand Down
2 changes: 1 addition & 1 deletion Packing/Descriptions/OpenGL/0.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# PlWin
Expand Down
2 changes: 1 addition & 1 deletion Packing/Descriptions/OpenGL/IdClass.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# gl_buffer
Expand Down
1 change: 1 addition & 0 deletions Packing/Descriptions/OpenGLABC/EMPTY
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion Packing/Reference/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/Markdig.dll
/Markdig.dll
2 changes: 1 addition & 1 deletion Packing/Reference/0Release/Common/0.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




/* ============================== *\
Expand Down
2 changes: 1 addition & 1 deletion Packing/Reference/split.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git subtree split --prefix="Packing/Reference/0Release" -b gh-pages
git subtree split --prefix="Packing/Reference/0Release" -b gh-pages
2 changes: 1 addition & 1 deletion Packing/Template/Common/LicenseHeader.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




{%%}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




```
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/Delegate/OpenCL/names.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# cl::EnqueueSvmFreeCallback
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/Delegate/OpenGL/names.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# gl::DEBUGPROC[%vendor:,+AMD,+ARB,+KHR%]
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/Delegate/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# Change types:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# cl::GetImageRequirementsInfo+EXT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# cl::CreateBuffer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# glx::GetContextID+EXT
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/Func/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# Change types:
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/Group/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# Change types:
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/IdClass/OpenCL/d3d.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# d3d::surface9
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/IdClass/OpenCL/va.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# va::surface_id
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/IdClass/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# Change types:
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


Genral syntax of `.dat` files:
```
# ItemName
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/Fixers/Struct/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# Change types:
Expand Down
2 changes: 1 addition & 1 deletion Packing/Template/LowLvl/OpenGL/MiscInput/TypeSizes.dat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# 1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




# POCGL
Expand Down
6 changes: 0 additions & 6 deletions Samples/.gitignore

This file was deleted.

5 changes: 1 addition & 4 deletions Samples/OpenCLABC/Игра жизнь/Игра жизнь.cl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




#define ValAt(B,X,Y) (B)[((X)+W)%W + ((Y)+W)%W * W]
Expand All @@ -19,9 +19,6 @@ __kernel void CalcStep(__global uchar* B, __global uchar* B_temp, int W)
c += ValAt(B, X+dx, Y+dy);
uchar prev_alive = ValAt(B, X, Y);

// Пока не смог заставить работать, поэтому нужен отдельный буфер B_temp...
//work_group_barrier(CLK_LOCAL_MEM_FENCE);

ValAt(B_temp, X, Y) = min_max_neighbours[prev_alive][0]<=c && c<=min_max_neighbours[prev_alive][1];

}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*.cache
*.cache
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 460
#version 460

in vec2 position;
in vec3 color;
Expand Down
2 changes: 1 addition & 1 deletion Samples/OpenGLABC/Точки на поле/Empty.vert
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 460 core
#version 460 core

// Ничего не делаем
// Какую точку передали - такую и вернёт
Expand Down
2 changes: 1 addition & 1 deletion Samples/OpenGLABC/Точки на поле/Mandelbrot.frag
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 460 core
#version 460 core

// Подсматривал сюда:
// https://stackoverflow.com/questions/44354589/optimizing-mandelbrot-fractal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 460 core
#version 460 core

layout(points) in;
layout(triangle_strip, max_vertices = 4) out;
Expand Down
2 changes: 1 addition & 1 deletion Samples/OpenGLABC/Точки на поле/Волны.frag
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 460 core
#version 460 core

noperspective in vec2 logic_pos;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 460 core
#version 460 core

noperspective in vec2 logic_pos;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 460 core
#version 460 core

noperspective in vec2 logic_pos;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 460 core
#version 460 core

noperspective in vec2 logic_pos;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#version 460 core
#version 460 core

noperspective in vec2 logic_pos;

Expand Down
2 changes: 1 addition & 1 deletion Tests/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/DebugPCU
/DebugPCU
2 changes: 1 addition & 1 deletion Tests/DeleteAllTD.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@




del /S *.td
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

var C := CQ(5);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

var P := new ParameterQueue<integer>('P');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uses OpenCLABC;
uses OpenCLABC;

type
MyQueueContainer = sealed class
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

var Q := HFQ(()->(1).Println+1, false).Multiusable;
CLContext.Default.SyncInvoke(CombineConvSyncQueue(a->a, |Q,Q|, false,true).Println).Println;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

var q: CLMemoryCCQ := CLMemory.Create(1).MakeCCQ.ThenProc(mem->Println(1), false);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

var q := CLMemory.Create(1).MakeCCQ
.ThenProc(mem->Println(1), false)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

CLContext.Default.SyncInvoke(
CLMemoryCCQ.Create(HFQ(()->new CLMemory(1))).ThenWriteArray1(HFQ(()->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

CLContext.Default.SyncInvoke(
CLMemory.Create(1).MakeCCQ.ThenWriteArray1(HFQ(()->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

var A := HPQ(()->raise new Exception('TestOK'));
var B := HPQ(()->begin end);
Expand Down
2 changes: 1 addition & 1 deletion Tests/Exec/CLABC/03#ToString/02#Parameter/1.pas
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

Write(new ParameterQueue<byte>('P1', 1));
Write(new ParameterQueue<object>('P2', 2));
2 changes: 1 addition & 1 deletion Tests/Exec/CLABC/03#ToString/03#Cast/typed nil.pas
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## uses OpenCLABC;
## uses OpenCLABC;

HPQ(()->begin end).Cast&<Exception>.Print;
2 changes: 1 addition & 1 deletion Tests/Exec/CLABC/03#ToString/11#Finally+Handle/1.pas
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## uses OpenCLABC;
## uses OpenCLABC;

var Q := HFQ(()->1);

Expand Down
Loading

0 comments on commit b812ce0

Please sign in to comment.