Monday, February 24, 2020

FPU double precision : mathematical errors: Thoughts and questions

FPU double precision mathematical errors: Thoughts and questions  


https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=5317

Double precision maths is luckily the modern CPU core FPU feature..
Precision of 2 errors over 1000000 result will mean one or two errors per trillion calculations,
However feasible perfectly error free results are..
The net result is believably within the error factor posed by Intel guidelines.

Error free incites perfect pre-fetch and super class stability,
The facts remain the same on error count:

AVX float buffer overrun,
FPU Buffer overrun.
Rounded results.

Most plausibly a buffer over run.
Consistently very high precision numbers require a 180 bit buffer...
Around 16KB stack buffer should prevent overflow (per result)
Compressing the resultant into a compressed memory zip saves data space.

(c)Rupert S

perhaps this will help: http://science.n-helix.com/2018/01/integer-floats-with-remainder-theory.html

http://science.n-helix.com/2019/05/compiler-optimisation.html

http://science.n-helix.com/2018/06/compression-libraries-index-prime.html

http://science.n-helix.com/2020/01/float-hlsl-spir-v-compiler-role.html

"My priority is to publish "IEEE 754 as intended - or how to
obtain identical double precision floating-point results".

SixTrack LHC@home is running well but tasks are
still being taken rather slowly and I reckon we use,
at best, one third of your provided capacity. Still your
support is vital for the High Luminescent LHC studies.

Personally I have a couple of issues:
I need to access old migrated data to define SixTrack
performance and this is a problem right now.
While the Invalid result error rate is in general very low,
24 Invalid and over one million valid today, I need to
identify the genuine computational errors.

You can find my recent CERN Open Days presentation at
http://mcintosh.web.cern.ch/mcintosh/
along with the state of my research.
Eric Mcintosh"

Monday, January 27, 2020

Coronavirus

Examination of Corona virus :

Apparent symptoms "fever, coughing and muscle aches"

Possible sources of infection ..Sweat .. possibly if mixed with infected blood/puss
Breath? "possibly cough"
Infected meat ?
"Corona virus is complex and most probably has a low heat sensitivity"
"Possibly responds to cool air well & low humidity"
Rupert S

"Thailand has confirmed its fifth case of the new Corona virus.

"The patient is a 33-year-old woman from Wuhan on vacation," deputy public health minister Sathit Patucha told Reuters, adding she was under quarantine at Rajavithi hospital and her condition was improving.

The woman arrived in Bangkok on Tuesday with her daughter and visited a private hospital complaining of a fever, coughing and muscle aches before being transferred to a government hospital on Thursday.

Her daughter tested negative for the virus.
Samuel Osborne
24 January 2020 10:44"

https://www.independent.co.uk/news/world/asia/coronavirus-news-live-death-toll-latest-symptoms-wuhan-uk-china-us-sars-a9299716.html

Symptom statistics: 99 patients minority report

99 had Inflammation of lung tissue & high liquidity issues
82 had fever
81 had a cough
31 had shortness of breath
11 had muscle ache
nine had confusion
eight had a headache
five had a sore throat

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736%2820%2930211-7/fulltext

https://www.thelancet.com/action/showPdf?pii=S0140-6736%2820%2930211-7

Features of the disease Corona Virus China throughout the active phase:

Can include multiple organ failure & Auto-immune response/overload on rare cases.

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(20)30183-5/fulltext

https://www.thelancet.com/action/showPdf?pii=S0140-6736%2820%2930183-5

Further details : Corona:

Infection occurs before symptoms most probably & also during infection symptom display
Incubation period 5 days to 2 weeks, Infection rate probable around 3% per hour..
"Based on the first 425 confirmed cases in China, each infection led to 2.2 others on average"
"mortality rate potential 2% to 3%"

https://apnews.com/910032f504fd6931ec1750939c4e862d

We are the minority: China : UN : World

Solve data : https://is.gd/MicroAnonimaData

WHO OutBreak


WORLD Community Gains Nobel Prize for solving WORLD Raid Virus Event

https://apnews.com/b2810cebad305f66112a0c68be0f8c9a

https://apnews.com/VirusOutbreak

We are the minority: China : UN : World
Solve data : https://is.gd/MicroAnonimaData

Public awareness grows with new corona virus!:

https://www.bbc.com/news/world-51338899 - vaccine creation video & world statistics

Situation report WHO:

https://www.who.int/emergencies/diseases/novel-coronavirus-2019/situation-reports/

Technical guidance WHO:

https://www.who.int/emergencies/diseases/novel-coronavirus-2019/technical-guidance

Information corona:

https://www.bbc.com/news/health-51214864 - Symptoms

https://www.bbc.com/news/world-asia-china-51176409 - Recovery Illness

https://www.youtube.com/watch?v=OZcRD9fV7jo&feature=emb_logo

https://www.paho.org/hq/index.php?option=com_content&view=article&id=15696:coronavirus&Itemid=4206&lang=en

https://www.paho.org/hq/index.php?option=com_jem&view=event&id=349:who-s-public-consultation-on-human-genome-editing&lang=en

high priority : https://www.paho.org/hq/index.php?option=com_content&view=article&id=13708:migration-health-americas&Itemid=72502&lang=en

Science facts corona:

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736%2820%2930211-7/fulltext

https://www.thelancet.com/action/showPdf?pii=S0140-6736%2820%2930211-7

Identifying active damage to bio systems with active virus

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(20)30183-5/fulltext

https://www.thelancet.com/action/showPdf?pii=S0140-6736%2820%2930183-5

Rupert S https://science.n-helix.com 

Wednesday, January 15, 2020

Float, HLSL & SPIR-V Compiler Role

Float, HLSL & SPIR-V Compiler Role
(c)RS


Vulkan 1,1.2,1.3+ & DX10,11,12+ , HLSL & SPIR-V
Rule sets : Float,Vector,AVX,SiMD

General Instruction Optimisation Procedure  & Vulkan/DX Shader stack.

HLSL & SPIR-V Compilers jobs are to streamline code into efficient Float & SiMD,Vector,AVX Instruction sets that do the maths in the order most efficient for clock cycle use & Instruction load,store & set cycles.

HLSL & SPIR-V should be optimisation compiler sub-rules for valid Vector,AVX,SiMD instructions.
Complex maths is 90% going to be float & SiMD instruction are clock cycle optimiser's for uncomplicated maths with multiple vectors.

General Instruction Optimisation Procedure  & Vulkan/DX Shader stack.

Firstly the SiMD Shader base language is Assembler with script balanced scripting models

GPU: AMD,NVidia,STI,ARM,Intel ,RISC sets(IBM,Cisco,Del,HP,Fujitsu,Sun,Subset Micro-Processors,Thunder 2,CISC: AMD,Intel, IBM
(Others Exist.)

Basic instruction strategy of SiMD & Float adaptation of the main concerns for all programming models that funnel into SiMD/AVX/Vector & broadly Float..

HLSL,SPIR-V Code is a layer 2 abstraction over the code base Vectored Instruction Set,
Conceptually the baggage is imagining that there is a limitation to level 3 C Code..
Well as SiMD/Vector/AVX/Float is a Algebra maths formula, The basic solution is algebra.

Algebra is the super set within which Shader code exists as a subset of Float,
Understanding this fact is key to understanding the concept.

The role of the shader layer shall be divided into two parts:
Complex maths : (Integer, Float) & Simple Maths with multiple dataset values.

Firstly the Coder separates the two layers that solve the maths algebra.
(FLOAT)The complex maths Objects(Algebra) & (Vector,AVX,SiMD)the Vector rule set Objects.

Examples:
Polygon (float) Values = Result A,B,C & then Vector to tessellation
Preferably we have the polygons worked out and saved in ram & then we tessellate.

Vector Instruction: Memory Loaded Objects (A,B,C,D,Ecetera)
Instruction sets of bit swaps being common in Interpolation & Anti Aliasing for example.

Vector instruction sets : AVX are in principle to redice CPU Cycle count on multiple Object(A,B,C,D) Simple Maths without testing the rule sets.

The world of Vector involves Bit Swaps (More complex algebra)
& Simple Mul (Multiply) + - & Division /

Bit swapping data sets appears to be a key player in SiMD/AVX
So arguing about Float matters.. and the role of Vector instruction is clearly defined as increasing instruction count per clock cycle for a limited instruction set.

Understanding efficiency is the object of the compiler & we have to test the instruction speed & efficiency versus FLOAT..

Bit Swaps are 3 Float instruction cycles for example versus 1 in AVX; With series of Objects to swap,
Series of 4 for example.

Float &Integer maths Instructions:

Dimensional code such as 3D Polygons,Curves,Ellipses,FTT,Blast & Maths related to vectored noise reduction such as Analogue Vacuum Tube Maths; Indeed Ohms law for example.

So imagine a world where simple algebra is the law, So algebra is soon complicated & involves 3 roll loops.

For example:

For A = 3, C = EMC², D = Entropy, E = Energy

therfor A + B

B = ( G = ( F - ((D/C)+(E*C))))

Exumé Temré
Vector is to simplify cycle, Float is to explain the butterfly

https://science.n-helix.com/2019/05/compiler-optimisation.html

https://www.khronos.org/blog/hlsl-first-class-vulkan-shading-language

(c)Rupert Summerskill