CUDA Programming

I was invited to attend a CUDA workshop, this event was promoted by DIA PUCP. Thanks to the professor, Dr. Manuel Ujaldon, who trained us for about 12 hours using C. We use the cloud of NVIDIA to practice and we do exercises to optimise  vector functions. Concepts of register, blocks, kernel and algorithms like compute bound and memory bound, memory shared, tiling, GPU/CPU technology, CUDA software (v6 and v6.5), which are compatible with CUDA hardware: Tesla(2008 – v1,2,3 with 8 cores), Fermi (2010 – v1,2 with 32 cores), Kepler(2012 – v3 and 3.5 with 192 cores) and Maxwell(2014 – v5 with 128 cores) and Pascal architecture for future.

Screen Shot 2014-10-09 at 3.23.00 PM

We started with this device:

CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: “GRID K520″
  CUDA Driver Version / Runtime Version          6.0 / 6.0
  CUDA Capability Major/Minor version number:    3.0
  Total amount of global memory:                 4096 MBytes (4294770688 bytes)
  ( 8) Multiprocessors, (192) CUDA Cores/MP:     1536 CUDA Cores
  GPU Clock rate:                                797 MHz (0.80 GHz)
  Memory Clock rate:                             2500 Mhz
  Memory Bus Width:                              256-bit
  L2 Cache Size:                                 524288 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:                     No
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      Yes
  Device PCI Bus ID / PCI location ID:           0 / 3
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 6.0, CUDA Runtime Version = 6.0, NumDevs = 1, Device0 = GRID K520
Result = PASS

We must analyse if we use the strategy of fine-grain or coarse-grain. In our first example was so convenient because we do not need so much the use of memory. But, if we use coarse-grain, we sacrifice parallelism. Not so much blocks are available, then we do not have enough backups of blocks. E.g. 128×128 is equal to 2 elevated to 14, which is 16384 with 256 threads, with 64 blocks for each SMX. 16 blocks equivalent to 1 block for each SMX.

CUDA_PUCP

Thanks to Genghis Rios to organise this workshop. More pictures here>>>

IMG_5923 IMG_5956 IMG_5962 IMG_5914 IMG_5922

Posted in Education, GNOME, GNU/Linux/Open Source, τεχνολογια :: Technology, Programming | Leave a comment

Red Hat Certifications

More than two years had been passed since I have met Red Hat in the GNOME Documentation Hackfest 2012.  After the event, I came back to my Perú and doors were opened to work as a system administrator in GMD. There, I gained skills in handling files, working with the command line and using system documentation, along with managing systems (boot-up, identifying processes, starting/stoping virtual machines, controlling systems), configuring storage partitions and logical volumes, and more…

After almost a year, IBM Perú gave me the opportunity to manage Red Hat servers, and I now I am pleased to announce that I got the best Red Hat certifications on May, 31th 2014: RHCSA and today, the most expected: RHCE.

Julita_Inca_Chiroque_RHCE

I am still learning, unexpected situations can happens even if you have the best plan for servers maintenance.

Thanks to GOD, family, friends, GNOME, Fedora and everyone who supports my career and fun in the Linux world :)

Posted in Education, GNOME | Tagged , , , , , , , , | 4 Comments

Going to GUADEC 2014!

This year I am also go to the GUADEC thanks to the sponsorship of the GNOME Foundation. Every year GNOME members share their experiences about how they contribute with the project. I am so glad in being part of this event, because we are there for the same cause: improving GNOME. Expectation to see again GNOME friends, finishing the Evolution documentation I started in Norwich, UK., and  do my best to guide newbies in the community are my reasons to go. It is important that they can see personally how the community works, the face to face is a strong connection after long time of working remotely on IRC - GNOME channels. I will be again a volunteer this year!

Thanks GNOME!

sponsored-by-gnome-foundation

Posted in GNOME | Tagged , , , , , | Leave a comment

Ofimática para los alumnos BECA 18 [Comunidades Andinas]

En estos últimos años en Lima, Perú, la gente de clase media, media-alta y alta han adquirido la costumbre de pagar 49.9 soles para apoyar a organizaciones de la sociedad civil con diferentes objetivos sociales (cuidado de niños abandonados, con cáncer, quemados, etc); a través de las maratones. Esto además trae como beneficio una buena costumbre para muchos, ejercitarse con la consigna “mente sana en cuerpo sano”.

Quiero compartir que, por otro lado en estas tres últimos Domingos, he estado en la Universidad San Ignacio de Loyola a las 8:00 a.m. frente a un grupo de becados “Beca18″ de las comunidades andinas, para poder capacitarlos en herramientas de Ofimática, que les servirá desempeñar una satisfactoria carrera universitaria.

becados

Fuente:  www.andina.com.pe

Vivimos en una realidad capitalista por lo que la idea de Adam Smith y su teoría en la riqueza de las naciones viene a mi mente con una variable super poderosa en mi punto desde mi punto de vista, como lo es “la educación”, la misma que nos hará libres a nosotros mismos y a la nación en conjunto en diferentes campos algún día.

Agradezco a USIL por apoyar esta causa del gobierno y de darme la oportunidad de tener esta experiencia como su maestra. Curiosamente Smith y yo fuimos becados en educación.

El primer día de clases mis alumnos de las comunidades andinas expresaron que no tenían computadoras, que no tenían en muchos casos electricidad pero tenían muchas ganas de aprender, lo cómico de este primer día fue que les pregunte si tenían Facebook o si tenían idea de lo que era y me respondieron que sí.

A la fecha ya todos mis alumnos cuentan con correo electrónico en GMAIL, ya saben manejar su profile de GPlus, comparten sus tareas con GoogleDrive y les he comentado de las alternativas tecnológicas de Sistemas Operativos como Linux y Mac, y sus aplicaciones.

Durante mis años de cátedra me ha pasado que algunos alumnos aprenden más rápido que otros y como tengo que cumplir con el programa no puedo seguir sin que todos completen las experiencias. Por ello estoy aplicando con ellos la consigna de enseñar lo aprendido a los compañeros que tienen alguna dificultad. Aquí una foto de las clases:

beca18_2

Hoy califiqué a mi grupo y dos de mis alumnas sacaron 20, las mujercitas siempre son las más aplicadas en este grupo. Son las primeras que entregan las tareas y las que más comparten con buena actitud lo aprendido. Aquí una toma de “Katita” y “Elizabeth”:

beca18_1

Tengo que cumplir un año con este grupo y espero que aparte de completar el plan curricular, pueda ser de gran ayuda en cada una de las vidas de estos nuevos profesionales.

beca18_3

Posted in Education | Tagged , , , , , , | 2 Comments

#GNOMEPERUFEST2014 was celebrated in IBM Perú

I’m pleased to announce that the GNOME PERU FEST 2014 has been held in the IBM Perú campus according to the plan I presented to the GNOME Foundation at the beginning of this year. “Let’s use Linux” was the mark for this year. I want to thank to all the people who helped me to accomplished this project, my family and friends in Lima were so kind to support the job. The GNOME Foundation, IBM and INFOPUCP were the organisations that sponsored this year the event. Thanks also La Republica, a well-know newspaper in Lima, because they published a post of our event in their Webpage :D

10460854_10202920528586738_624538756299674314_o

This year we had a formal open, Sergio Sotelo (Chief of Technology and Innovation Officer of IBM Perú) presented WATSON which runs over Bluemix. He also announced the Limuna project that will be launch today on June, 30th.

During the talks we expressed the importance of Linux in different projects around the world, we posted that IBM is one of the power technology that use Linux and it is demanding more professionals with this profile. Aaron Castanon, architect of Technology in IBM said “Every engineer student has no know Linux as a second language.”

A quickly reviewed of our speakers this year:

- Maite Brignetti (Branding IBM) -> Applying to IBM Perú

- Richard Miguel (IT Specialist of IBM) -> High Availability in Linux

- Aaron Castanon (Architect of IT technologies IBM) -> Linux is the future

- Jonathan Campos (T Specialist – Software Services IBM) ->  Middleware Applications

- Alberto Guerrero Cardenas (IT Specialist Unix IBM) -> Raspberry PI with Fedora 20

- Marco Villegas (GNOME Peru and GSoC 2009) -> Participating in the GSoC program

- Workshop of Installation of Ubuntu and Fedora 20 -> Michael Garrido (Ubuntu Perú) and Rodolfo Pimentel (Red Hat training in Peru and IT Specialist of IT in IBM Perú)

- Valentin Barros Puertas (4 times GSoC, twice with GNOME) -> Experiences in the GSoC

- Fabian Orccón (Peruvian winner of GSoC with Pitivi – GNOME) -> Participating in GSoC

- José Antonio Rey (member of Ubuntu Perú) -> Cloud Services, he is 17 years old and he presented his project juju in Amazon EC2. It was a very impressive presentation.

We did not have any presentation of any women involved with a Linux project as we had last year with Giohanny. I hope next year we can present something.

* Because of the World Cup penalties, we shared pizza during the break watching the football game before starting the workshop of installation.  This was our cake of the event:

IMG_3137

I have shared all the pictures and I want to thank again to GOD, family, friends, coworkers, speakers, participants  and of course,  GNOME <3

Posted in GNOME | Tagged , , , , , , | 2 Comments

Almost ready for the #GNOMEPERUFEST2014 event

This year, the event called GNOME PERU FEST 2014 is going to be held in the IBM Peru campus. Thanks to the GNOME Foundation for the sponsorship, and I want to thank all the support that I received from my team leader Aaron, it is an effort of many months ago.

The event was posted in “EmpleosIBMlatam” social networks, like Facebook and Twitter. The post was very welcomed by many people. Workers and students were asking about the registration and fees (I did not imagine the quantity of  “likes” and “shares” in the post in an hour, you can see it in the image below :D )

The registration of previous editions of the GNOME PERU FEST event had no charges, neither this year. We are invited to any person who wants to know about GNU/Linux. The purpose is sharing, educating and spreading the GNOME word in the country.

GNOMEPERUFEST2014_fb

GNOMEPERUFEST_twit

This is the template we have for the banners, t-shirts, notebook and stickers this year! :)

GNOMEPERUFEST_banner

Posted in Events, GNOME | Tagged , , , , , , , , | Leave a comment

nous avons approuvé!

Aujourd’hui nous avons reçu nos grades des examens finaux

Après deux mois et je suis très content avec les leçons: le passé composé, le heur, le future.

C’est un photo de mon class du Français: Liz, Andrea, Benjamin, Julita et Violeta <3

french

J’ai découvert cette vidéo dans mon apprentissage: Learn French et Learn French with

J’aime ZAZ chansons: la pluie, les passants, je veux et dans ma rue

Merci beaucoup Alliance Française!!!

Posted in Education | Tagged , , , , , | Leave a comment