Nova artikolo aldonita: How to sum the elements of an array with Pycuda.
27 Decembro 2019
Nova artikolo aldonita: How to sum the elements of an array with Pycuda.

You can install pycuda like this:

pip install pycuda
The code to calculate the sum:
import math

import numpy as np
import pycuda.autoinit
import pycuda.driver as cuda
from pycuda.compiler import SourceModule

if __name__ == "__main__":
    n = 400000000  # It  ...
            legi pli...
          

Nova artikolo aldonita: How to install CUDA on Ubuntu.
27 Decembro 2019
Nova artikolo aldonita: How to install CUDA on Ubuntu.

## 1. Installation of the driver for GPU (if it is not installed yet). Download the driver from NVIDIA official website: https://www.nvidia.ru/Download/index.aspx?lang=ru In my case the downloaded file is named: **NVIDIA-Linux-x86_64-440.44.run** In order to install it, we switch to the con ... legi pli...

Nova artikolo aldonita: How to work with metadata of audiofiles in Python (the use of eyeD3).
14 Decembro 2019
Nova artikolo aldonita: How to work with metadata of audiofiles in Python (the use of eyeD3).

As it is known, MP3 contains the audio track itself and some metadata such as the title of the track, album, band's name and some other information. And recently I got a necessity to fix the order of the tracks related to an audio book. In this case, the order of tracks matters. But originally, t ... legi pli...

Nova artikolo aldonita: How to estimate probability
25 Aprilo 2019
Nova artikolo aldonita: How to estimate probability

Available in Russian only yet. ... legi pli...

Nova artikolo aldonita: Author's forecast for the future of the humanity from 2019
01 Februaro 2019
Nova artikolo aldonita: Author's forecast for the future of the humanity from 2019

В жизни мы часто очень погружаемся в события, происходящие непосредственно сейчас и с нами, пренебрегая глобальным как с масштабной так и с временной точки зрения. Но если попробовать проанал ... legi pli...

Al ĉiuj novaĵoj