This file contains hidden or 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
| __kernel void hello_kernel(__global const float* a, __global const float* b, __global float* result) | |
| { | |
| int gid = get_global_id(0); | |
| result[gid] = a[gid] + b[gid]; | |
| } |
This file contains hidden or 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
| using System.Diagnostics.CodeAnalysis; | |
| using System.Runtime.CompilerServices; | |
| namespace Connectors.Gemini | |
| { | |
| /* Copied from decompilation of Microsoft.SemanticKernel internal class Verify decompilation */ | |
| [ExcludeFromCodeCoverage] | |
| internal static class Assert | |
| { | |
| // |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Speed Reader | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Changes font to Bookerly and highlights the beginning of words. | |
| // @author Bill Nickel | |
| // @match *://*/* | |
| // @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js | |
| // @resource BOOKERLY_CSS http://fonts.cdnfonts.com/css/bookerly | |
| // @grant GM_getResourceText |
This file contains hidden or 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
| from random import randint | |
| import os | |
| from ship import Ship | |
| from questions import GetRandomQuestion | |
| # board height | |
| row_size = 9 | |
| # board width | |
| col_size = 9 |