This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DEFINER = 'root'@'localhost' FUNCTION `Convert_FR`(chIFfre varchar(20), SM varchar(40),CM varchar(40)) | |
RETURNS varchar(255) CHARSET utf8 COLLATE utf8_unicode_ci | |
NOT DETERMINISTIC | |
CONTAINS SQL | |
SQL SECURITY DEFINER | |
COMMENT '' | |
BEGIN | |
DECLARE ch_int Varchar(20); | |
DECLARE ch, ch_r Varchar(255); | |
DECLARE i, fin_I INT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-*- mode: c++ -*- | |
// build: | |
// xcrun -sdk macosx metal -std=osx-metal1.1 Shaders.metal -o shaders.air | |
// xcrun -sdk macosx metal-ar rcs Shaders.metalar Shaders.air | |
// xcrun -sdk macosx metallib -o Shaders.metallib Shaders.metalar | |
#include <metal_stdlib> | |
kernel void square(const device float* input [[buffer(0)]], | |
device float* output [[buffer(1)]], | |
metal::uint id [[thread_position_in_grid]]) { |