Skip to content

Instantly share code, notes, and snippets.

View AlexeySachkov's full-sized avatar
⚙️
The factory must grow!

Alexey Sachkov AlexeySachkov

⚙️
The factory must grow!
  • Munich, Germany
  • 13:40 (UTC +01:00)
View GitHub Profile
@AlexeySachkov
AlexeySachkov / README.md
Created August 25, 2021 13:58
Micro-benchmark which allows to demonstrate the benefit of SYCL 2020 specialization constants functionality

Convolution micro-benchmark using SYCL 2020 specialization constants

The micro-benchmark demonstrates the benefit of using SYCL 2020 specialization constants in such task, as convolution, which is widely used in image processing and neural networks.

To compile the benchmark:

clang++ -fsycl -O3 -ffast-math becnhmark.cpp -o bench.out
@AlexeySachkov
AlexeySachkov / markdown.js
Created August 31, 2018 20:08
Homebrewery flavored markdown
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../xml/xml"), require("../meta"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror", "../xml/xml", "../meta"], mod);
else // Plain browser env
mod(CodeMirror);
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Renci.SshNet;
using System.Net.Sockets;
using Renci.SshNet.Common;
using System.Globalization;
using Renci.SshNet.Security;
/* ===========================================================
* jquery-onepage-scroll.js v1.3.1
* ===========================================================
* Copyright 2013 Pete Rojwongsuriya.
* http://www.thepetedesign.com
*
* Create an Apple-like website that let user scroll
* one page at a time
*
* Credit: Eike Send for the awesome swipe event