SlideShare a Scribd company logo
1 of 3
Download to read offline
Constructing Sierpinski Gasket Using GPUsArrays
Amira Sallow1
, Dhuha Abdullah2
1
Computer and I.T. College, Nawroz University
Duhok, Iraq
2
Computer Sciences and Mathematics College, Mosul University
Mosul, Iraq
Abstract
A fractal is a mathematical set that typically displays self-similar
patterns, which means it is "the same from near as from far".
Fractals may be exactly the same at every scale, they may be
nearly the same at different scales. The concept of fractal extends
beyond trivial self-similarity and includes the idea of a detailed
pattern repeating itself. The algorithms to constructing different
fractal shapes in many cases typically involve large amounts of
floating point computation, to which modern GPUs are well
suited. In this paper we will construct Sierpinski Gasket using
GPUs arrays.
Keywords: fractal, Sierpinski gasket, self-similar, GPU.
1. Introduction
1.1 Fractal
The formal mathematical definition of fractal is defined by
Benoit Mandelbrot [??]. It says that a fractal is a set for
which the Hausdorff Besicovich dimension strictly
exceeds the topological dimension. However, this is a very
abstract definition. Generally, we can define a fractal as a
rough or fragmented geometric shape that can be
subdivided in parts, each of which is (at least
approximately) a reduced-size copy of the whole. Fractals
are generally self-similar and independent of scale [5].
1.2 Properties of Fractal
A fractal is a geometric figure or natural object that
combines the following characteristics [3] :
a) Its parts have the same form or structure as the whole,
except that they are at a different scale and may be slightly
deformed;
b) Its form is extremely irregular or fragmented, and
remains so, whatever the scale of examination;
c) It contains "distinct elements" whose scales are very
varied and cover a large range;
d) Formation by iteration;
e) Fractional dimension.
1.3 Sierpinski Triangle
The Sierpinski's Triangle is named after the Polish
mathematician Waclaw Sierpinski who described some of
its interesting properties in 1916. It is one of the simplest
fractal shapes in existence It can be generated by infinitely
repeating a procedure of connecting the midpoints of each
side of the triangle to form four separate triangles, and
cuting out the triangle in the center.
1.4 Constructing Algorithm
Construct the Sierpinski Triangle Taking a equilateral
triangle as an Table (1) [2]:
Table 1: Constructing Sierpinski Triangle
1. Start with the equilateral
triangle.
4. Repeat the steps 1, 2 and 3 on the
three black triangle left behind. The
center triangle of each black triangle at
the corner was cut out as well.
. Connet the midpoints of each
side of the triangle to form
four separate triangles.
5. Further repetition with adequate
screen resolution will give the following
pattern.
3. Cut out the triangle in the
center.
IJCSI International Journal of Computer Science Issues, Volume 11, Issue 6, No 1, November 2014
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 131
2014 International Journal of Computer Science Issues
2. Graphics Processing Units
Graphics Processing Units (GPUs) used to be fixed
function processors that helped the CPU with displaying
images. This changed early 2001, when the first
programmable GPU was launched. With the GPU being
programmable, developers had much more opportunities to
control the graphics operations themselves.
Programming a GPU though, is very different from
programming a conventional CPU.There are programming
languages designed for programming a GPU that are easy
to learn,but taking full advantage of the computational
power of the GPU, requires knowledge about the GPU. To
fully exploit the power of the GPU, it is advisable to
understand its architecture and its capabilities. Also,
knowing how the data exactly passes through the GPU is
required in order to build efficient programs, [4].
3. GPU architecture
A graphics processing unit (GPU) is a specialized
processor that offloads 3D or 2D graphics rendering from
the microprocessor. It is used in embedded systems,
mobile phones, personal computers, workstations, and
game consoles. Modern GPUs are very efficient at
manipulating computer graphics, and their highly parallel
structure makes them more effective than general-purpose
CPUs for a range of complex algorithms. In a personal
computer, a GPU can be present on a video card, or it can
be on the motherboard [1].
The GPU is especially well-suited to address problems that
can be expressed as data parallel computations the same
program is executed on many data elements in parallel
with high arithmetic intensity the ratio of arithmetic
operations to memory operations. Because the same
program is executed for each data element, there is a lower
requirement for sophisticated flow control; and because it
is executed on many data elements and has high arithmetic
intensity, the memory access latency can be hidden with
calculations instead of big data caches. Data-parallel
processing maps data elements to parallel processing
threads. Many applications that process large data sets can
use a data-parallel programming model to speed up the
computations. In 3D rendering large sets of pixels and
vertices are mapped to parallel threads. Similarly, image
and media processing applications such as post-processing
of rendered images, video encoding and decoding, image
scaling, stereo vision, and pattern recognition can map
image blocks and pixels to parallel processing threads. In
fact, many algorithms outside the field of image rendering
and processing
are accelerated by data-parallel processing, from general
signal processing or physics simulation to computational
finance or computational biology. Unlike modern CPUs,
graphics chips are designed for parallel computations with
lots of arithmetic operations. Much more transistors in
GPUs work as they should they process data arrays instead
of flow control of several sequential computing threads.
Figure (1) shows how much room is occupied by various
circuits in CPUs and GPUs:
Figure 1: CPUs and GPUs
Therefore, lots of molecular modeling applications are
adapted perfectly for GPU computing, they require high
processing power, and they are convenient for parallel
computing. And using several GPUs gives even more
computing power for such tasks.
4. Conclusion
In this paper, Constructing Sierpinski Gasket Using GPUs
Arrays where considered. We conclude that Graphics
Processing Units are highly useful in parallel computing
and are designed for parallel computations with lots of
arithmetic operations. The objective of this project was to
show that GPUs were more effective than CPUs.
References
[1] Berillo, Alexey , "NVIDIA CUDA." iXBT Labs ,2010.
Available online
athttp://ixbtlabs.com/articles3/video/cuda-1-p1.html
[2] Jessica Brazelton, “Matrix Multiplication using Graphics
Processing Unit”, Tuskegee University, 2010.
[3] Matthias Book, “Parallel Fractal Image Generation A Study
of Generating Sequential data With Parallel Algorithms”,
The University of Montana, Missoula, USA. Available
online at http://matthiasbook.de/papers/parallelfractals/
[4] Peter Geldof, “Generic Computing on a Graphics Processing
Unit”, M.S. thesis, Universities van Amsterdam, Amsterdam,
Netherlands, 2007.
[5] Werner Hodlmayr, “FRACTAL ANTENNAS: Introduction
to fractal technology and presentation of a fractal antenna
adaptable to any transmitting frequency”, antenneX, Issue No.
81, 2004.
IJCSI International Journal of Computer Science Issues, Volume 11, Issue 6, No 1, November 2014
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 132
2014 International Journal of Computer Science Issues
1
Amira Sallow is Lecturer in the Department of computer science
in Computer and I.T. College at Nawroz University. She received
her PhD degree in computer sciences in 2013 in the speciality of
distributed real time system and operating system. She also leads
and teaches modules at both BSc and MSc levels in computer
science.
2
Dhuha Albazaz is the head of Computer Sciences Department,
College of Computers and Mathematics, University of Mosul. She
received her PhD degree in computer sciences in 2004 in the
speciality of computer architecture and operating system. She
supervised many Master degree students in operating system,
computer architecture, dataflow machines, mobile computing,
realtime, and distributed databases. She has three PhD students
in FPGA field, distributed real time systems, and Linux clustering.
She also leads and teaches modules at BSc, MSc, and PhD levels
in computer science. Also, she teaches many subjects for PhD
and master students.
IJCSI International Journal of Computer Science Issues, Volume 11, Issue 6, No 1, November 2014
ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784
www.IJCSI.org 133
2014 International Journal of Computer Science Issues

More Related Content

What's hot

Type of image
Type of imageType of image
Type of imagevinitha96
 
A PREDICTION METHOD OF GESTURE TRAJECTORY BASED ON LEAST SQUARES FITTING MODEL
A PREDICTION METHOD OF GESTURE TRAJECTORY BASED ON LEAST SQUARES FITTING MODELA PREDICTION METHOD OF GESTURE TRAJECTORY BASED ON LEAST SQUARES FITTING MODEL
A PREDICTION METHOD OF GESTURE TRAJECTORY BASED ON LEAST SQUARES FITTING MODELVLSICS Design
 
Parallel algorithms for multi-source graph traversal and its applications
Parallel algorithms for multi-source graph traversal and its applicationsParallel algorithms for multi-source graph traversal and its applications
Parallel algorithms for multi-source graph traversal and its applicationsSubhajit Sahu
 
Multimedia_image recognition steps
Multimedia_image recognition stepsMultimedia_image recognition steps
Multimedia_image recognition stepsNimisha T
 
00463517b1e90c1e63000000
00463517b1e90c1e6300000000463517b1e90c1e63000000
00463517b1e90c1e63000000Ivonne Liu
 
The fourier transform for satellite image compression
The fourier transform for satellite image compressionThe fourier transform for satellite image compression
The fourier transform for satellite image compressioncsandit
 
Self Organizing Feature Map(SOM), Topographic Product, Cascade 2 Algorithm
Self Organizing Feature Map(SOM), Topographic Product, Cascade 2 AlgorithmSelf Organizing Feature Map(SOM), Topographic Product, Cascade 2 Algorithm
Self Organizing Feature Map(SOM), Topographic Product, Cascade 2 AlgorithmChenghao Jin
 
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATIONU-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATIONdannyijwest
 
Deep learning for 3 d point clouds presentation
Deep learning for 3 d point clouds presentationDeep learning for 3 d point clouds presentation
Deep learning for 3 d point clouds presentationVijaylaxmiNagurkar
 
Simulating the triba noc architecture
Simulating the triba noc architectureSimulating the triba noc architecture
Simulating the triba noc architectureijmnct
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsVARUN KUMAR
 
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHMPIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHMijcsit
 
Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...
Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...
Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...AM Publications,India
 
Van hulle springer:som
Van hulle springer:somVan hulle springer:som
Van hulle springer:somArchiLab 7
 
Accelerating Real Time Applications on Heterogeneous Platforms
Accelerating Real Time Applications on Heterogeneous PlatformsAccelerating Real Time Applications on Heterogeneous Platforms
Accelerating Real Time Applications on Heterogeneous PlatformsIJMER
 

What's hot (17)

Type of image
Type of imageType of image
Type of image
 
A PREDICTION METHOD OF GESTURE TRAJECTORY BASED ON LEAST SQUARES FITTING MODEL
A PREDICTION METHOD OF GESTURE TRAJECTORY BASED ON LEAST SQUARES FITTING MODELA PREDICTION METHOD OF GESTURE TRAJECTORY BASED ON LEAST SQUARES FITTING MODEL
A PREDICTION METHOD OF GESTURE TRAJECTORY BASED ON LEAST SQUARES FITTING MODEL
 
Kk3517971799
Kk3517971799Kk3517971799
Kk3517971799
 
Parallel algorithms for multi-source graph traversal and its applications
Parallel algorithms for multi-source graph traversal and its applicationsParallel algorithms for multi-source graph traversal and its applications
Parallel algorithms for multi-source graph traversal and its applications
 
Multimedia_image recognition steps
Multimedia_image recognition stepsMultimedia_image recognition steps
Multimedia_image recognition steps
 
00463517b1e90c1e63000000
00463517b1e90c1e6300000000463517b1e90c1e63000000
00463517b1e90c1e63000000
 
The fourier transform for satellite image compression
The fourier transform for satellite image compressionThe fourier transform for satellite image compression
The fourier transform for satellite image compression
 
Self Organizing Feature Map(SOM), Topographic Product, Cascade 2 Algorithm
Self Organizing Feature Map(SOM), Topographic Product, Cascade 2 AlgorithmSelf Organizing Feature Map(SOM), Topographic Product, Cascade 2 Algorithm
Self Organizing Feature Map(SOM), Topographic Product, Cascade 2 Algorithm
 
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATIONU-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
U-MENTALISMPATENT:THE BEGINNING OF CINEMATIC SUPERCOMPUTATION
 
Deep learning for 3 d point clouds presentation
Deep learning for 3 d point clouds presentationDeep learning for 3 d point clouds presentation
Deep learning for 3 d point clouds presentation
 
Simulating the triba noc architecture
Simulating the triba noc architectureSimulating the triba noc architecture
Simulating the triba noc architecture
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixels
 
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHMPIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
PIXEL SIZE REDUCTION LOSS-LESS IMAGE COMPRESSION ALGORITHM
 
Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...
Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...
Quality Measurements of Lossy Image Steganography Based on H-AMBTC Technique ...
 
20120140504016
2012014050401620120140504016
20120140504016
 
Van hulle springer:som
Van hulle springer:somVan hulle springer:som
Van hulle springer:som
 
Accelerating Real Time Applications on Heterogeneous Platforms
Accelerating Real Time Applications on Heterogeneous PlatformsAccelerating Real Time Applications on Heterogeneous Platforms
Accelerating Real Time Applications on Heterogeneous Platforms
 

Similar to Constructing Sierpinski Gasket Using GPU Arrays

Image Processing Application on Graphics processors
Image Processing Application on Graphics processorsImage Processing Application on Graphics processors
Image Processing Application on Graphics processorsCSCJournals
 
Development of 3D convolutional neural network to recognize human activities ...
Development of 3D convolutional neural network to recognize human activities ...Development of 3D convolutional neural network to recognize human activities ...
Development of 3D convolutional neural network to recognize human activities ...journalBEEI
 
Head_Movement_Visualization
Head_Movement_VisualizationHead_Movement_Visualization
Head_Movement_VisualizationHongfu Huang
 
High Performance Computing for Satellite Image Processing and Analyzing – A ...
High Performance Computing for Satellite Image  Processing and Analyzing – A ...High Performance Computing for Satellite Image  Processing and Analyzing – A ...
High Performance Computing for Satellite Image Processing and Analyzing – A ...Editor IJCATR
 
Region wise processing of an image using multithreading in multi core environ
Region wise processing of an image using multithreading in multi core environRegion wise processing of an image using multithreading in multi core environ
Region wise processing of an image using multithreading in multi core environIAEME Publication
 
Region wise processing of an image using multithreading in multi core environ
Region wise processing of an image using multithreading in multi core environRegion wise processing of an image using multithreading in multi core environ
Region wise processing of an image using multithreading in multi core environIAEME Publication
 
IRJET- Latin Square Computation of Order-3 using Open CL
IRJET- Latin Square Computation of Order-3 using Open CLIRJET- Latin Square Computation of Order-3 using Open CL
IRJET- Latin Square Computation of Order-3 using Open CLIRJET Journal
 
Improving of artifical neural networks performance by using gpu's a survey
Improving of artifical neural networks performance by using gpu's  a surveyImproving of artifical neural networks performance by using gpu's  a survey
Improving of artifical neural networks performance by using gpu's a surveycsandit
 
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEYIMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEYcsandit
 
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEYIMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEYcscpconf
 
Concurrency and Parallelism, Asynchronous Programming, Network Programming
Concurrency and Parallelism, Asynchronous Programming, Network ProgrammingConcurrency and Parallelism, Asynchronous Programming, Network Programming
Concurrency and Parallelism, Asynchronous Programming, Network ProgrammingPrabu U
 
Applications of Fuzzy Logic in Image Processing – A Brief Study
Applications of Fuzzy Logic in Image Processing – A Brief StudyApplications of Fuzzy Logic in Image Processing – A Brief Study
Applications of Fuzzy Logic in Image Processing – A Brief StudyComputer Science Journals
 
Deep Convolutional Neural Network acceleration on the Intel Xeon Phi
Deep Convolutional Neural Network acceleration on the Intel Xeon PhiDeep Convolutional Neural Network acceleration on the Intel Xeon Phi
Deep Convolutional Neural Network acceleration on the Intel Xeon PhiGaurav Raina
 
Deep Convolutional Network evaluation on the Intel Xeon Phi
Deep Convolutional Network evaluation on the Intel Xeon PhiDeep Convolutional Network evaluation on the Intel Xeon Phi
Deep Convolutional Network evaluation on the Intel Xeon PhiGaurav Raina
 
Thesis Report - Gaurav Raina MSc ES - v2
Thesis Report - Gaurav Raina MSc ES - v2Thesis Report - Gaurav Raina MSc ES - v2
Thesis Report - Gaurav Raina MSc ES - v2Gaurav Raina
 
Computational steering Interactive Design-through-Analysis for Simulation Sci...
Computational steering Interactive Design-through-Analysis for Simulation Sci...Computational steering Interactive Design-through-Analysis for Simulation Sci...
Computational steering Interactive Design-through-Analysis for Simulation Sci...SURFevents
 
Image transformation using grid(synopsis)
Image transformation using grid(synopsis)Image transformation using grid(synopsis)
Image transformation using grid(synopsis)Mumbai Academisc
 

Similar to Constructing Sierpinski Gasket Using GPU Arrays (20)

Image Processing Application on Graphics processors
Image Processing Application on Graphics processorsImage Processing Application on Graphics processors
Image Processing Application on Graphics processors
 
50120140503017 2
50120140503017 250120140503017 2
50120140503017 2
 
Isometric Making Essay
Isometric Making EssayIsometric Making Essay
Isometric Making Essay
 
Development of 3D convolutional neural network to recognize human activities ...
Development of 3D convolutional neural network to recognize human activities ...Development of 3D convolutional neural network to recognize human activities ...
Development of 3D convolutional neural network to recognize human activities ...
 
Head_Movement_Visualization
Head_Movement_VisualizationHead_Movement_Visualization
Head_Movement_Visualization
 
High Performance Computing for Satellite Image Processing and Analyzing – A ...
High Performance Computing for Satellite Image  Processing and Analyzing – A ...High Performance Computing for Satellite Image  Processing and Analyzing – A ...
High Performance Computing for Satellite Image Processing and Analyzing – A ...
 
Region wise processing of an image using multithreading in multi core environ
Region wise processing of an image using multithreading in multi core environRegion wise processing of an image using multithreading in multi core environ
Region wise processing of an image using multithreading in multi core environ
 
Region wise processing of an image using multithreading in multi core environ
Region wise processing of an image using multithreading in multi core environRegion wise processing of an image using multithreading in multi core environ
Region wise processing of an image using multithreading in multi core environ
 
IRJET- Latin Square Computation of Order-3 using Open CL
IRJET- Latin Square Computation of Order-3 using Open CLIRJET- Latin Square Computation of Order-3 using Open CL
IRJET- Latin Square Computation of Order-3 using Open CL
 
Improving of artifical neural networks performance by using gpu's a survey
Improving of artifical neural networks performance by using gpu's  a surveyImproving of artifical neural networks performance by using gpu's  a survey
Improving of artifical neural networks performance by using gpu's a survey
 
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEYIMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
 
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEYIMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
IMPROVING OF ARTIFICIAL NEURAL NETWORKS PERFORMANCE BY USING GPU’S: A SURVEY
 
Concurrency and Parallelism, Asynchronous Programming, Network Programming
Concurrency and Parallelism, Asynchronous Programming, Network ProgrammingConcurrency and Parallelism, Asynchronous Programming, Network Programming
Concurrency and Parallelism, Asynchronous Programming, Network Programming
 
Applications of Fuzzy Logic in Image Processing – A Brief Study
Applications of Fuzzy Logic in Image Processing – A Brief StudyApplications of Fuzzy Logic in Image Processing – A Brief Study
Applications of Fuzzy Logic in Image Processing – A Brief Study
 
Deep Convolutional Neural Network acceleration on the Intel Xeon Phi
Deep Convolutional Neural Network acceleration on the Intel Xeon PhiDeep Convolutional Neural Network acceleration on the Intel Xeon Phi
Deep Convolutional Neural Network acceleration on the Intel Xeon Phi
 
Deep Convolutional Network evaluation on the Intel Xeon Phi
Deep Convolutional Network evaluation on the Intel Xeon PhiDeep Convolutional Network evaluation on the Intel Xeon Phi
Deep Convolutional Network evaluation on the Intel Xeon Phi
 
Thesis Report - Gaurav Raina MSc ES - v2
Thesis Report - Gaurav Raina MSc ES - v2Thesis Report - Gaurav Raina MSc ES - v2
Thesis Report - Gaurav Raina MSc ES - v2
 
Computational steering Interactive Design-through-Analysis for Simulation Sci...
Computational steering Interactive Design-through-Analysis for Simulation Sci...Computational steering Interactive Design-through-Analysis for Simulation Sci...
Computational steering Interactive Design-through-Analysis for Simulation Sci...
 
Image transformation using grid(synopsis)
Image transformation using grid(synopsis)Image transformation using grid(synopsis)
Image transformation using grid(synopsis)
 
Chap10.ppt
Chap10.pptChap10.ppt
Chap10.ppt
 

More from Dr Amira Bibo

Steganography methods using network protocols
Steganography methods using network protocolsSteganography methods using network protocols
Steganography methods using network protocolsDr Amira Bibo
 
An investigation for steganography using different color system
An investigation for steganography using different color systemAn investigation for steganography using different color system
An investigation for steganography using different color systemDr Amira Bibo
 
Supervised classification and improved filtering method for shoreline detection.
Supervised classification and improved filtering method for shoreline detection.Supervised classification and improved filtering method for shoreline detection.
Supervised classification and improved filtering method for shoreline detection.Dr Amira Bibo
 
Mobile cloud computing
Mobile cloud computingMobile cloud computing
Mobile cloud computingDr Amira Bibo
 
EOE-DRTSA: end-to-end distributed real-time system scheduling algorithm
EOE-DRTSA: end-to-end distributed real-time system scheduling algorithmEOE-DRTSA: end-to-end distributed real-time system scheduling algorithm
EOE-DRTSA: end-to-end distributed real-time system scheduling algorithmDr Amira Bibo
 
Developing fault tolerance integrity protocol for distributed real time systems
Developing fault tolerance integrity protocol for distributed real time systemsDeveloping fault tolerance integrity protocol for distributed real time systems
Developing fault tolerance integrity protocol for distributed real time systemsDr Amira Bibo
 

More from Dr Amira Bibo (8)

Steganography methods using network protocols
Steganography methods using network protocolsSteganography methods using network protocols
Steganography methods using network protocols
 
An investigation for steganography using different color system
An investigation for steganography using different color systemAn investigation for steganography using different color system
An investigation for steganography using different color system
 
Android security
Android securityAndroid security
Android security
 
Supervised classification and improved filtering method for shoreline detection.
Supervised classification and improved filtering method for shoreline detection.Supervised classification and improved filtering method for shoreline detection.
Supervised classification and improved filtering method for shoreline detection.
 
Mobile cloud computing
Mobile cloud computingMobile cloud computing
Mobile cloud computing
 
EOE-DRTSA: end-to-end distributed real-time system scheduling algorithm
EOE-DRTSA: end-to-end distributed real-time system scheduling algorithmEOE-DRTSA: end-to-end distributed real-time system scheduling algorithm
EOE-DRTSA: end-to-end distributed real-time system scheduling algorithm
 
Developing fault tolerance integrity protocol for distributed real time systems
Developing fault tolerance integrity protocol for distributed real time systemsDeveloping fault tolerance integrity protocol for distributed real time systems
Developing fault tolerance integrity protocol for distributed real time systems
 
Android security
Android securityAndroid security
Android security
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Recently uploaded (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 

Constructing Sierpinski Gasket Using GPU Arrays

  • 1. Constructing Sierpinski Gasket Using GPUsArrays Amira Sallow1 , Dhuha Abdullah2 1 Computer and I.T. College, Nawroz University Duhok, Iraq 2 Computer Sciences and Mathematics College, Mosul University Mosul, Iraq Abstract A fractal is a mathematical set that typically displays self-similar patterns, which means it is "the same from near as from far". Fractals may be exactly the same at every scale, they may be nearly the same at different scales. The concept of fractal extends beyond trivial self-similarity and includes the idea of a detailed pattern repeating itself. The algorithms to constructing different fractal shapes in many cases typically involve large amounts of floating point computation, to which modern GPUs are well suited. In this paper we will construct Sierpinski Gasket using GPUs arrays. Keywords: fractal, Sierpinski gasket, self-similar, GPU. 1. Introduction 1.1 Fractal The formal mathematical definition of fractal is defined by Benoit Mandelbrot [??]. It says that a fractal is a set for which the Hausdorff Besicovich dimension strictly exceeds the topological dimension. However, this is a very abstract definition. Generally, we can define a fractal as a rough or fragmented geometric shape that can be subdivided in parts, each of which is (at least approximately) a reduced-size copy of the whole. Fractals are generally self-similar and independent of scale [5]. 1.2 Properties of Fractal A fractal is a geometric figure or natural object that combines the following characteristics [3] : a) Its parts have the same form or structure as the whole, except that they are at a different scale and may be slightly deformed; b) Its form is extremely irregular or fragmented, and remains so, whatever the scale of examination; c) It contains "distinct elements" whose scales are very varied and cover a large range; d) Formation by iteration; e) Fractional dimension. 1.3 Sierpinski Triangle The Sierpinski's Triangle is named after the Polish mathematician Waclaw Sierpinski who described some of its interesting properties in 1916. It is one of the simplest fractal shapes in existence It can be generated by infinitely repeating a procedure of connecting the midpoints of each side of the triangle to form four separate triangles, and cuting out the triangle in the center. 1.4 Constructing Algorithm Construct the Sierpinski Triangle Taking a equilateral triangle as an Table (1) [2]: Table 1: Constructing Sierpinski Triangle 1. Start with the equilateral triangle. 4. Repeat the steps 1, 2 and 3 on the three black triangle left behind. The center triangle of each black triangle at the corner was cut out as well. . Connet the midpoints of each side of the triangle to form four separate triangles. 5. Further repetition with adequate screen resolution will give the following pattern. 3. Cut out the triangle in the center. IJCSI International Journal of Computer Science Issues, Volume 11, Issue 6, No 1, November 2014 ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784 www.IJCSI.org 131 2014 International Journal of Computer Science Issues
  • 2. 2. Graphics Processing Units Graphics Processing Units (GPUs) used to be fixed function processors that helped the CPU with displaying images. This changed early 2001, when the first programmable GPU was launched. With the GPU being programmable, developers had much more opportunities to control the graphics operations themselves. Programming a GPU though, is very different from programming a conventional CPU.There are programming languages designed for programming a GPU that are easy to learn,but taking full advantage of the computational power of the GPU, requires knowledge about the GPU. To fully exploit the power of the GPU, it is advisable to understand its architecture and its capabilities. Also, knowing how the data exactly passes through the GPU is required in order to build efficient programs, [4]. 3. GPU architecture A graphics processing unit (GPU) is a specialized processor that offloads 3D or 2D graphics rendering from the microprocessor. It is used in embedded systems, mobile phones, personal computers, workstations, and game consoles. Modern GPUs are very efficient at manipulating computer graphics, and their highly parallel structure makes them more effective than general-purpose CPUs for a range of complex algorithms. In a personal computer, a GPU can be present on a video card, or it can be on the motherboard [1]. The GPU is especially well-suited to address problems that can be expressed as data parallel computations the same program is executed on many data elements in parallel with high arithmetic intensity the ratio of arithmetic operations to memory operations. Because the same program is executed for each data element, there is a lower requirement for sophisticated flow control; and because it is executed on many data elements and has high arithmetic intensity, the memory access latency can be hidden with calculations instead of big data caches. Data-parallel processing maps data elements to parallel processing threads. Many applications that process large data sets can use a data-parallel programming model to speed up the computations. In 3D rendering large sets of pixels and vertices are mapped to parallel threads. Similarly, image and media processing applications such as post-processing of rendered images, video encoding and decoding, image scaling, stereo vision, and pattern recognition can map image blocks and pixels to parallel processing threads. In fact, many algorithms outside the field of image rendering and processing are accelerated by data-parallel processing, from general signal processing or physics simulation to computational finance or computational biology. Unlike modern CPUs, graphics chips are designed for parallel computations with lots of arithmetic operations. Much more transistors in GPUs work as they should they process data arrays instead of flow control of several sequential computing threads. Figure (1) shows how much room is occupied by various circuits in CPUs and GPUs: Figure 1: CPUs and GPUs Therefore, lots of molecular modeling applications are adapted perfectly for GPU computing, they require high processing power, and they are convenient for parallel computing. And using several GPUs gives even more computing power for such tasks. 4. Conclusion In this paper, Constructing Sierpinski Gasket Using GPUs Arrays where considered. We conclude that Graphics Processing Units are highly useful in parallel computing and are designed for parallel computations with lots of arithmetic operations. The objective of this project was to show that GPUs were more effective than CPUs. References [1] Berillo, Alexey , "NVIDIA CUDA." iXBT Labs ,2010. Available online athttp://ixbtlabs.com/articles3/video/cuda-1-p1.html [2] Jessica Brazelton, “Matrix Multiplication using Graphics Processing Unit”, Tuskegee University, 2010. [3] Matthias Book, “Parallel Fractal Image Generation A Study of Generating Sequential data With Parallel Algorithms”, The University of Montana, Missoula, USA. Available online at http://matthiasbook.de/papers/parallelfractals/ [4] Peter Geldof, “Generic Computing on a Graphics Processing Unit”, M.S. thesis, Universities van Amsterdam, Amsterdam, Netherlands, 2007. [5] Werner Hodlmayr, “FRACTAL ANTENNAS: Introduction to fractal technology and presentation of a fractal antenna adaptable to any transmitting frequency”, antenneX, Issue No. 81, 2004. IJCSI International Journal of Computer Science Issues, Volume 11, Issue 6, No 1, November 2014 ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784 www.IJCSI.org 132 2014 International Journal of Computer Science Issues
  • 3. 1 Amira Sallow is Lecturer in the Department of computer science in Computer and I.T. College at Nawroz University. She received her PhD degree in computer sciences in 2013 in the speciality of distributed real time system and operating system. She also leads and teaches modules at both BSc and MSc levels in computer science. 2 Dhuha Albazaz is the head of Computer Sciences Department, College of Computers and Mathematics, University of Mosul. She received her PhD degree in computer sciences in 2004 in the speciality of computer architecture and operating system. She supervised many Master degree students in operating system, computer architecture, dataflow machines, mobile computing, realtime, and distributed databases. She has three PhD students in FPGA field, distributed real time systems, and Linux clustering. She also leads and teaches modules at BSc, MSc, and PhD levels in computer science. Also, she teaches many subjects for PhD and master students. IJCSI International Journal of Computer Science Issues, Volume 11, Issue 6, No 1, November 2014 ISSN (Print): 1694-0814 | ISSN (Online): 1694-0784 www.IJCSI.org 133 2014 International Journal of Computer Science Issues