Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
...
fld dword ptr [ebp+8H]
fmul st(0), st(0)
fld dword ptr [ebp+0CH]
fld qword ptr [?_0812]
fmul st(0), st(1)
fld st(1)
fmul qword ptr [?_0811]
fst qword ptr [ebp-20H]
fld st(2)
fmul qword ptr [?_0810]
fst qword ptr [ebp-28H]
...
...
movaps xmm6, xmm0
mulss xmm6, dword ptr [?_0801]
movss dword ptr [ebp-4H], xmm6
movaps xmm2, xmm0
mulss xmm2, dword ptr [?_0800]
movaps xmm3, xmm0
mulss xmm3, dword ptr [?_0799]
movaps xmm4, xmm0
mulss xmm4, dword ptr [?_0798]
movaps xmm5, xmm0
mulss xmm5, dword ptr [?_0797]
...
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 0.1 * 1 + 0.1 * 2 + 0.1 * 3 + 0.1 * 4 + 0.1 * 5 + 0.1 * 6 + 0.1 * 7 + 0.1 * 8 + 0.1 * 9
>>> b = 0.1 * (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9)
>>> print (a, " ", b)
(4.500000000000001, ' ', 4.5)
>>> print (a == b)
False
>>>
#include "MathCode.cpp"
Первые шаги с OpenCL или сказ о том как одинаковый код на GPU и CPU запускать