Saturday, September 14, 2019

dictionary for a year

I started to prepare to new year with new words and phrases:

topic1


kindness доброта

concise локаничный

beside рядом с

serving порция

brewer пивовар

occasional случайный

hang out for требовать

reach out добиваться

leak out обнаруживать
topic2


entire цельный

entice соблазнять

considerably значительно

blueprint детельный план

lay out планировать

efficient результативный

deal сделка

consume расходовать

approach подход

apparent очевидный

challenging многообещающий
topic3


eliminate устронять

negligible незначительный

state констатировать

product результат

degree степень

intuetively по наитию

meaningless бессмысленный

lastly в заключение

imagine воображать

however однако
topic4


multiply умножать

eliminating исключение

avoid избегать

coerce заставлять

although хотя

factorization разложение на множетели

modulus остаток от деления

sign знак

remaining оставшийся

fraction дробь
topic5


esoteric тайный

rounding округление

precisely точно

hence отсюда

yield давать результат

luckily к счастью

Build-in встроенный

work around в обход

suppementary добавочный

floor право выступать на собрании
topic6


round круглый

ceil перекрывать

representative образец

whether ли

unlike в отлиции

inequality разница

involve привлекать

prime простое число

improve улучшать

pattern принцип
topic7


notice замечать

square root квадратный корень

wonder удивляться

recall возвращаться

decompose раскладывать на составные части

purpose намерение

explore исследовать

various различный

useful успешный

since после того
topic8


easy to look at симпатичный

as well as также как

matched подходящий

within внутри

turn менять направление

throungh на протяжении

regular правильный

set приводить в нужное положение

massive цельный
topic9


of its own accord сам по себе

bracket заключать в скобки

immensely весьма

concept понятие

supplementary добавлчный

denote отмечать

recap краткое повторение

reside быть свойственным

spread разброс
topic10


even уравновешенный

odd разрозненный

refer обращаться

reduce приводить к простому виду

jagged неровно оторванный

daunting обескураженный

keeping соблюдение

Tick-tak-toe крестики нолики

tie связка

entrance вход

nicely тщательно
topic11


maze лабиринт

degree градус

versatile многосторонний

similarly подобныйм способом

mimic подражать

come down уменьшаться

candy леденец

acknowledgment благодарность

thus таким образом

transpose менять порядок
topic12


rank ряд

soil почва

slice часть

space распологаться с промежжутками

equation уравнение

stem стебель

attitude отношение

consideration размышление

toil трудиться

apart from не говоря уже
topic13


tolerance переносимость

term определенный период

significant существенный

despite несмотря на

pitfall подвох

fall into place становиться ясным

key основной

discard ненужный

imaired ослабленный

even даже
topic14


properly должныйм образом

outline очертить

during во время

marble соблазнительный

nutrition пища

since так как

whenever вский раз когда

rather вернее

mindful внимательный к

albeit all through it
topic15


bloat раздуваться

reciprocal обратный

solidify застывать

get soaked through промокнуть до нитки

case прецидент

themselves себя

proper должный

desired желательный

outcome итог
topic16


exibit выражать

qonquer подчинять

countdown обратный отчет

tail заключительная часть

prone предрасположенный

thankfully к счастью

concept идея

evaluate оценивать

just as well пусть будет так

brlong to относиться
topic17


gain преобретать

permutation перестановка

swap менять местами

supersede заменять

halfway на пол пути

retrieval извлечение

Trade-off компромис

marginally минимально

pivot опорный

exhaust исчерпывать
topic18


resultant проистекающий

preserve сохранять

hash крошить

nutshell в двух словах

persistent постоянный

determinate определенный

most большинство

uniform единообразный

distribution распределение

Head-on лобовое
topic19


probing прощупывание

versatile многоцелевой

sceleton набросок

peek быстрый взгляд

evaluate оценивать

native исконно присущий

mutate видоизменять

recall свспоминать

mention упоминать

consequent споследовательный
topic20


alter менять

distinction отличие

cashier кассир

parenthesis вводное слово

afterwards в последствии

shuffle перемешивать

fund out выяснять

inquiry запрос

futhermore к тому же

either любой из двух
topic21


temporal временный

spatial пространственный

obvious очевидный

least наименьший

exсeed превышать

susceptible восприимчивый

forced принудительный

agjusted отрегулированный

accordingly соответственно
topic22


bring приносить

evict выгонять

farthest самый дальний

approximate сходный

inferior частность

balancing уравновешивание

preordination предопределение

flatten выравнивать

otherwise иначе

named after назван в честь
topic23


achieve достигать

appropriate подходящий

traverse преодолевать

skew асиметрия

implied предпологаемый

ancestor предок

fairly должным образом

whether который из двух

percolation процеживание

remain оставаться
topic24


above больше чем

in place в наличии

likewise подобно

following нижеперечисленный

satisfied уверенный

straightforward простой

delve изучать

vertex вершина

edge грань

sparse редкий
topic24


consider рассматривать

fraction доля

dense черезмерный

mutual взаимный

acknowledge подтверждать

adjacency смекжность

so far до настоящего времени

exhausted потраченный

employ применять

regard касательно
topic25


chronological во временном порядке

thereof из этого

origin источник

overall полный

figure out разгадывать

moreover кроме того

trier делающий все что в его силах

brute force грубая сила

ahead будущий

mismatch не подходить
topic26


backtrack отказываться

fingerprint характерный признак

absence отсутствие

break down расщиплять

overlap частично покрывать

immense обширный

literally буквально

knapsack ранец

contigous соприкосающийся

bit of fat случайная удача

exosceleton панцырь
topic27


quit бровать

took out достал

lay класть

phone booth телефонная будка

mentally ill психически больной

stock market фондовый рынок

public debt государственный долг

pick fruits собирать фрукты

wild onion дикий лук

sell by date срок реализации товара
topic28


stranger посторонний человек

discarded выброшенный

rest of us остальные

deal with иметь дело с

tramp бродяга

refuse отказываться

although хотя

freight train грузовой поезд

hitchhike автостоп

mussel двухстворчатая ракушка

salmon лосось

declare обьявлять

reckon расчитывать

cruft хлам
topic29


peach персик

lamb ягненок

beetroot свекла

cabbage капуста

pear груша

aubergine баклажан

melon дыня

mussel мидия

beef говядина

prawn креветка
topic30


prawn придурок

coutgette мелкий кабачек

cucumber огурец

clue раскрывать секрет

pea горох

keen сообразительный

baker пекарь

vowel гласный звук

jar банка

sausage сосиска
topic31


squid кальмар

carton тетропак

tuna тунец

roast печь в духовке

baked испеченный

eat out питаться вне дома

be at grass пастись

streamed vegitables распаренные овощи

fried жаренный

grow выращивать
topic32


steak вифштекс

heading заглавие

advice совет

work out разобраться

cereals злаки

disease болезнь

fibre волокно

cabrohydrate углевод

cure лечение

oily маслянистый

Ready-made приготовленный

lasagne лазанья

plenty избыток

go ahead взять на себя решение

incredible маловероятный
topic33


cousin двоюродный брат

starter первое блюдо

lift подвестти

glass стакан

each other друг друга

shouting кричать

coach тренер

book заказывать

spoilt избалованный

jelaous ревнивый
topic34


reliable надежный

borrow занимать

Self-confident уверенный в чебе

hit ударять

sutubborn упрямый

generous великодушный

kind добрый

matured продуманный

talkative разговорчивый

tidy акуратный
topic35


bevy собрание

venue есто проведения

lebanese ливанский

go along with you так я тебе и поверил

piled ворсистый

pull up препарковаться

get out выходить из машины

lifeline жизненно важная комуникация

furniture мебель
topic36


hardly ever почти никогда

survive продолжать существовать

babysit няня

boarding school интернат

gathering заседание

rivalry соперничество

estranged раздельно проживающий

spouse супруг
topic37


waste растрата

afford иметь возможность

worth стоимость

raise увеличивать

owe быть должным

charge забота

lend одалживать

borrow заимствовать

debd долг
topic38


pay back оплачивать

interest привлекательность

parking meter счетчик стоянки

take out занимать

shy застенчивый

outgoing платежи

everywhere повсюду

share доля

income доход

checkue платежное поручение
topic39


fortnight две недели

healther вериск

shelter приют

swing качать

hut хижина

lend a hand помочь

sight зрелище

so far, so good все идет нормально

straightforward простой

savvy здравый смысл
topic40


peal звон колоколов

adoring поклоняющийся

particular частность

catchy притяательный

tune мелодия

regard считаться

take into account принять во внимание

around повсюду

huge огромный

while в то время как
topic41


performance исполнение

venue место проведения

follow следить за речью

take up браться за что либо

taste пристрастие

deaf глухой

distinguish различать

origin происхождение

emerge выясняться

syncopate упрощать слово пропуская звук

fond нежный
topic42


caring внимательный

especially сособенно

soothing успокаивающий

hit ударять

simultaneously одновременно

tape магнитная лента

such and such такой то

suited подходящий

algae водоросли

significantly многозначительно

excited взволнованный

recital подробное изложение
topic43


induction стимулировать

conduct руководство

enrollment зачисление

awareness осознание

syringe пшприц

prosper процветать

assurance уверенность

rob разбойничать

gain усиление

breath отверстие
topic44


minset образ мышления

devuate отклоняться

mailformed плохо сформированный

bypass обходить

comply соблюдать

tenant арендатор

liability ответственность

mitigate смягчать

disclosure обнаружение

tighty плотно

least previlegie наименьшая превилегия
topic45


sloppy небрежный

accuracy точность

nuisance неприятность

trunk магистратьный

abdominal crunch качание пресса

maintain поддерживать

overtake догнать

emphasize придавать особое значение

mention упомянуть

groceries бакалея

household семейный

expenditure расходывание

triple тройной

habit привычка

thive процветать

Monday, August 26, 2019

Old but not rusty

I started to utilize my GTX970 as parallel processing device. A strategy to support such old device is to downgrade operation system to a version that CUDA 5.5 toolkit supports. I still have no good progress with Ubuntu 12.0.4 but already built toolkit as well on Windows 10 especially via Visual Studio 2012 that available in visual studio web site. Thank you again for support historical versions of Visual Studio and business products, it often required for old devices maintenance.

GTX970 device info:

 CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "GeForce GTX 970"
  CUDA Driver Version / Runtime Version          9.1 / 5.5
  CUDA Capability Major/Minor version number:    5.2
  Total amount of global memory:                 4096 MBytes (4294967296 bytes)
MapSMtoCores for SM 5.2 is undefined.  Default to use 192 Cores/SM
MapSMtoCores for SM 5.2 is undefined.  Default to use 192 Cores/SM
  (13) Multiprocessors, (192) CUDA Cores/MP:     2496 CUDA Cores
  GPU Clock rate:                                1329 MHz (1.33 GHz)
  Memory Clock rate:                             3505 Mhz
  Memory Bus Width:                              256-bit
  L2 Cache Size:                                 1835008 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096)
  Maximum Layered 1D Texture Size, (num) layers  1D=(16384), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(16384, 16384), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 65536
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  2048
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 2 copy engine(s)
  Run time limit on kernels:                     Yes
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  CUDA Device Driver Mode (TCC or WDDM):         WDDM (Windows Display Driver Model)
  Device supports Unified Addressing (UVA):      Yes
  Device PCI Bus ID / PCI location ID:           1 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.1, CUDA Runtime Version = 5.5, NumDevs = 1, Device0 = GeForce GTX 970
Result = PASS

Wednesday, August 21, 2019

Decorator is going to a platform

PostSharp with free 10 classes licenses is going to be in Ubuntu LTS soon.
A trivial announce with not trivial changes in IL code synthesis i think.  When you started to work with porting libraries and ASP.NET to a target then this instrument will help to understand a difference that hidden in linux.

Wednesday, July 3, 2019

Plastic free July

Here is my 2 month polyester deposit for the future of my city.


I am miser in the products and goods but i have 200g of polyester saved every month. And here is my new book I bought for a Plastic free July.


Monday, June 24, 2019

Doing everything in wrong manner



Here is a script to replace all sizes in template project to twice smaller. It is bad idea to use regular expressions for html and it is uncommon to change text on the fly in C# but it works.


public static void Main(string[] args)
        {
            string path = @"email\src";
            Regex sizeRegEx = new Regex("size=\".+\"");
            Regex valueRegEx = new Regex(@"\d+");
          
            foreach(string file in Directory.GetFiles(path, "*.html", SearchOption.AllDirectories))
            {
                string text = File.ReadAllText(file);
                var aStringBuilder = new StringBuilder(text);
              
                foreach(Match m in sizeRegEx.Matches(text))
                {
                    Console.WriteLine(m.Value);
                    Match valueMath = valueRegEx.Match(m.Value);
                    Console.WriteLine(valueMath.Value);
                    aStringBuilder.Remove(m.Index + valueMath.Index, valueMath.Value.Length);
                    int size = int.Parse(valueRegEx.Match(m.Value).Value);
                    string newValue = (size / 2).ToString();
                    aStringBuilder.Insert(m.Index + valueMath.Index, newValue);
                    if(valueMath.Value.Length == 2 && newValue.Length == 1)
                    {
                        aStringBuilder.Insert(m.Index + valueMath.Index + 1, " ");
                    }
                }
                File.WriteAllText(file, aStringBuilder.ToString());
            }
        }
      
        public static string DeleteLines(string input, int linesToSkip)
        {
            int startIndex = 0;
            for (int i = 0; i < linesToSkip; ++i)
                startIndex = input.IndexOf('\n', startIndex) + 1;
            return input.Substring(startIndex);
        }

Friday, April 5, 2019

OneNote as heap of theses

Within a year I collecting ideas and theses for my Post AI book in one great service I know for me. This service is a part of Microsoft Office 365 known as Microsoft Onenote. It is available for all my devices as same as Windows and Linux desktop. It is possible to add named notes that i can append on every day traffic jam. And this is free sync point within my devices so that I have one complete story as result.

Tuesday, February 12, 2019

OpenCL 2.1 NEO

Here my test of integrated OpenCL kernels. I compile CapsBasic-beignet and it shows me that I have new NEO driver that replace beignet.

Number of available platforms: 2
Platform names:
    [0] Intel(R) OpenCL HD Graphics [Selected]
    [1] Intel Gen OCL Driver
Number of devices available for each type:
    CL_DEVICE_TYPE_CPU: 0
    CL_DEVICE_TYPE_GPU: 1
    CL_DEVICE_TYPE_ACCELERATOR: 0

*** Detailed information for each device ***

CL_DEVICE_TYPE_GPU[0]
    CL_DEVICE_NAME: Intel(R) Gen9 HD Graphics NEO
    CL_DEVICE_AVAILABLE: 1
    CL_DEVICE_VENDOR: Intel(R) Corporation
    CL_DEVICE_PROFILE: FULL_PROFILE
    CL_DEVICE_VERSION: OpenCL 2.1 NEO
    CL_DRIVER_VERSION: 19.03.12192
    CL_DEVICE_OPENCL_C_VERSION: OpenCL C 2.0
    CL_DEVICE_MAX_COMPUTE_UNITS: 23
    CL_DEVICE_MAX_CLOCK_FREQUENCY: 1100
    CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
    CL_DEVICE_ADDRESS_BITS: 64
    CL_DEVICE_MEM_BASE_ADDR_ALIGN: 1024
    CL_DEVICE_MAX_MEM_ALLOC_SIZE: 1595310080
    CL_DEVICE_GLOBAL_MEM_SIZE: 3190620160
    CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: 1595310080
    CL_DEVICE_GLOBAL_MEM_CACHE_SIZE: 524288
    CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE: 64
    CL_DEVICE_LOCAL_MEM_SIZE: 65536
    CL_DEVICE_PROFILING_TIMER_RESOLUTION: 83
    CL_DEVICE_IMAGE_SUPPORT: 1
    CL_DEVICE_ERROR_CORRECTION_SUPPORT: 0
    CL_DEVICE_HOST_UNIFIED_MEMORY: 1
    CL_DEVICE_EXTENSIONS: cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_depth_images cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_media_block_io cl_intel_driver_diagnostics cl_intel_device_side_avc_motion_estimation cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_khr_fp64 cl_khr_subgroups cl_khr_il_program cl_intel_spirv_device_side_avc_motion_estimation cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_advanced_motion_estimation cl_intel_va_api_media_sharing
    CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT: 4
    CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG: 1
    CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT: 1
    CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE: 1
    CL_DEVICE_NATIVE_VECTOR_WIDTH_INT: 4
    CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG: 1
    CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT: 1
    CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE: 1

Then I tested Intel(R) OpenCL HD Graphics with fractal-gen-opencl but results for existing implementation is not optimistic because it cannot perform
10000000 iterations to use on each pixel to determine its set membership of mandelbrot fractal. I was waiting a day but it still calculate pixels. 1000000 iterations works very fast ~8sec to create 768x786 fractal.

mandelbrot

 
burning-ship


Wednesday, January 30, 2019

OpenCL runtime on my computer

A year as I installed New Inlel CPU to my computer. It's quite cheap unit from 8th generation with GPU on chip and with opencl cores to perform parallel calculations. I have an idea to try wrapper to opencllib in .net core and start learning opencl with my CUDA background. I just found Ubuntu 18.04 already has runtime. Here is my clinfo. As you can see Beignet is us used for check device, but Neo is going to replace it soon.

clinfo

beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
Number of platforms                               2
  Platform Name                                   Intel(R) OpenCL HD Graphics
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 2.1
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_depth_images cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_media_block_io cl_intel_driver_diagnostics cl_intel_device_side_avc_motion_estimation cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_khr_fp64 cl_khr_subgroups cl_khr_il_program cl_intel_spirv_device_side_avc_motion_estimation cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_advanced_motion_estimation cl_intel_va_api_media_sharing
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             INTEL

  Platform Name                                   Intel Gen OCL Driver
  Platform Vendor                                 Intel
  Platform Version                                OpenCL 2.0 beignet 1.3
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing
  Platform Extensions function suffix             Intel
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)

  Platform Name                                   Intel(R) OpenCL HD Graphics
Number of devices                                 1
  Device Name                                     Intel(R) Gen9 HD Graphics NEO
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 2.1
  Driver Version                                  19.03.12192
  Device OpenCL C Version                         OpenCL C 2.0
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               23
  Max clock frequency                             1100MHz
  Device Partition                                (core)
    Max number of sub-devices                     0
    Supported partition types                     None
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
  Preferred work group size multiple              32
  Max sub-groups per work group                   32
  Sub-group sizes (Intel)                         8, 16, 32
  Preferred / native vector sizes                
    char                                                16 / 16     
    short                                                8 / 8      
    int                                                  4 / 4      
    long                                                 1 / 1      
    half                                                 8 / 8        (cl_khr_fp16)
    float                                                1 / 1      
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              3190620160 (2.971GiB)
  Error Correction support                        No
  Max memory allocation                           1595310080 (1.486GiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   No
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics                
    SVM                                           64 bytes
    Global                                        64 bytes
    Local                                         64 bytes
  Max size for global variable                    65536 (64KiB)
  Preferred total size of global vars             1595310080 (1.486GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        524288 (512KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            99706880 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   4 bytes
    Pitch alignment for 2D image buffers          4 pixels
    Max 2D image size                             16384x16384 pixels
    Max planar YUV image size                     16384x16352 pixels
    Max 3D image size                             16384x16384x2048 pixels
    Max number of read image args                 128
    Max number of write image args                128
    Max number of read/write image args           128
  Max number of pipe args                         16
  Max active pipe reservations                    1
  Max pipe packet size                            1024
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     8
  Max constant buffer size                        1595310080 (1.486GiB)
  Max size of kernel argument                     1024
  Queue properties (on host)                     
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Queue properties (on device)                   
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Preferred size                                131072 (128KiB)
    Max size                                      67108864 (64MiB)
  Max queues on device                            1
  Max events on device                            1024
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      83ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Sub-group independent forward progress        Yes
    IL version                                    SPIR-V_1.0
    SPIR versions                                 1.2
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                block_motion_estimate_intel;block_advanced_motion_estimate_check_intel;block_advanced_motion_estimate_bidirectional_check_intel;
  Motion Estimation accelerator version (Intel)   2
    Device-side AVC Motion Estimation version     1
      Supports texture sampler use                Yes
      Supports preemption                         No
  Device Extensions                               cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_depth_images cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_media_block_io cl_intel_driver_diagnostics cl_intel_device_side_avc_motion_estimation cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_khr_fp64 cl_khr_subgroups cl_khr_il_program cl_intel_spirv_device_side_avc_motion_estimation cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_advanced_motion_estimation cl_intel_va_api_media_sharing

  Platform Name                                   Intel Gen OCL Driver
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel(R) OpenCL HD Graphics
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [INTEL]
  clCreateContext(NULL, ...) [default]            Success [INTEL]
  clCreateContext(NULL, ...) [other]              <error: no devices in non-default plaforms>
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Intel(R) OpenCL HD Graphics
    Device Name                                   Intel(R) Gen9 HD Graphics NEO
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Intel(R) OpenCL HD Graphics
    Device Name                                   Intel(R) Gen9 HD Graphics NEO
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Intel(R) OpenCL HD Graphics
    Device Name                                   Intel(R) Gen9 HD Graphics NEO

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1Ni

Tuesday, January 29, 2019

It's path to Zen

I want to tell about simple strategy to use multiple code editors alongside to maintain huge code open source code. For example, you need to maintain code that can be debugged only in certain remote environment and then, you have to develop new module for big plugin architecture.
 It is better to study code on the fly with tiny editor without code completion and refactoring. This editor also will be connected to remote host with rsync. I prefer Zed Code editor available as chrome plugin.

Zed Code Editor

Zen is lightweight to work with small projects from chromebook and you can start with cheap environment. But in case you work with new plugins, then you need to learn architecture and decisions contains in solution code. It is better to use code analysis tools and smart navigation in solution. Alongside with Zen i have used Visual Code for me.

Visual Code

Stage and production environment have no advantages to rapid development, but it allow to test real word responses.

Slow remote

Monday, January 7, 2019

I grow reading books

React.Js быстрый старт. Стоян Стефанов. Издательство "Питер"

Scalability rules. 50 principles for scaling web sites.Martin L. Abbot, Michael T. Fishero

A book to make complete web solutions really robust and stable for work with huge amount customers or consumers. I can recommend it for maintenance as same to make leap in quality after acquire code base. Tips is not based on any framework so it might be architect challenge to apply book recommendations to modern infrastructure.


The Open CL specification. Khronos Open CL workging group.

this book have not included kernel language i could looked for. This is a reference to functions provided with open cl library. I was found it similar to CUDA library I studied before. it's also describes how to manage device context with c# and java wrappers. This is low level access but it's the fastest.

Introducing Bootstrap 4. Jorg Krause

Entity Framework 6 recipes. Barin Driscoll. Nitin Gupta, Robert Vettor, Zeeshman Hirani, and Latty Tenny
This excellent book for those who really want to know all aspects of ORM and database. It covers multiple non trivial examples and advanced designs. You can ask yourself about ESQL using or complex tapes in case of maintainability of your code. Then you will do the choice to add this complexity to solution or not.

97 things every software architect should know

CL via C# 4th edition

Deploying Chromebooks in the classroom, Guy Hart-Davis

Fireworks algorithm. Ying Tan.

The CUDA handbook, Nicholas Wilt

Twitter Bootstrap succinctly, by Peter  Shaw

Wednesday, October 31, 2018

Selected theoretical publications on GA clustering and source code isomorphism.

Data Clustering using Genetic Algorithm. Zheyung Feng.

Работа написана в 2012 и обладает максимально возможной , полнотой описания операторов
генетического алгоритма и их воздействие на производительность и определение глобального
минимума. Показывается добавление шагов k-mean к каждой итерации генетического алгоритма,
что приводит к заметному уменьшению шагов решения. Так же определено, что предварительная
сортировка данных приводит к увеличению вероятности нахождения локального минимума, но
операторы генетического алгоритма могут быть подобраны так, что исправляют эту возможную
ситуацию. Так же затронут вопрос неевклидовых кластеров вытянутой или серповидной формы, за
их нахождение отвечают операторы селекции, объединяющие и удаляющие кластера. Статья
является наглядным пособием по созданию инструментов классификации на основе GA.

Implementation and Analysis of Graph Algorithm Used for Software Plagiatism Identification. Dr. Carlos Rivero

То , что среди статей об классификации данных освещаю и статьи по поиску плагиата в
программах, говорит о моей цели объединить два механизма определения схожести.
Классификатор и анализ изоморфизма связаны между собой в том , что классификация кода не
может быть представлена евклидовом пространством, вместо этого определением разницы в коде
может заниматься изоморфный анализ графов активности, полученных ANTLR.
В статье не только рассматривается способ сохранения AST ,  в базе данных графов Neo4j , но и
алгоритм нахождения подобных поддеревьев в полученной базе данных. К сожалению, средства
нахождения изоморфизма в работе не указан, но они ссылаются на  GraphQL и Nema.

Parallel programing with Inductive Synthesis. Shaon Barman, Rastislav Bodik, Sagar Jain, Yewen Pu, Saurabh Srivastava, and Nicholas Tung.

Эта работа может показаться сугубо математической, так как в ней обсуждается нахождение
коэффициентов факторизованного представления полинома, но в целом она рассказывает более
общий принцип адаптации выбранного алгоритма к необходимому математическому решению с
помощью gpu. Если представить, что генетический алгоритм действительно найдет подходящий
для решения проблем программный код, то параметры взаимодействия с этим кодом, как и
внутренние коэффициенты нужно будет вычислить. При этом можно применять индуктивный
подход. Такая операция перебора и определения коэффициентов возможна с помощью gpu.

Abstract Syntax Tree Generation using Modified Grammar for Source Code Plagiatism Detection. Resmi N. G. Soman K. P.

 В статье от Resmi и Soman обсуждается каким образом пробовать делать грамматику для ANTLR ,
инвариантной к стилю написания кода. Затрагивается проблема вариаций в синтаксисе и
адаптация к комментариям и другим не связанным с синтаксисом элементам. Но к сожалению , не
решена инвариантность синтаксического сахара. Метод фильтрации кода  на уровне грамматики ,

в принципе можно использовать как базовый при внесении AST в базу данных ArangoDB, но
парсинг полноценной грамматики и вычисление разницы между графами может пополнить
метаданные вершин графа, оставленными автором комментариями.

Genetic Algorithm for Clustering with an Ordered Representation. Jay Bhuyan

Работа представлена в 1991 году и отражает использование генетического алгоритма в
кластеризации данных, как нового метода, позволяющего обходить локальные минимумы в
решении. В примере рассматривается евклидово пространство и два вида жадных алгоритмов.
Алгоритм называется жадным , если он принимает во внимание оптимальное решение на каждом
шаге алгоритма.
Если данные заранее отсортированы , с применением эвристического сравнения данных между
собой, то генетический алгоритм получает схожесть.
Автор показывает , что применение эвристических правил в генетическом алгоритме позволяет
балансировать между производительностью и точностью. Также в эвристике автор предлагает
использовать противоположные суждения, для того чтобы найти глобальный оптимум. И главной
идеей является утверждение в том , что подготовленные данные лучше поддаются
классификации, и в этом могут помочь сортировки больших данных, которые я описал в  блоге .

debug magazine archive

  71 jounals still available on issuu with great story of netlabels time.  debug_mag Publisher Publications - Issuu