"Fossies" - the Fresh Open Source Software Archive

Member "hashcat-6.2.6/OpenCL/amp_a3.cl" (2 Sep 2022, 421 Bytes) of package /linux/privat/hashcat-6.2.6.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Lisp source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "amp_a3.cl": 6.2.5_vs_6.2.6.

    1 /**
    2  * Author......: See docs/credits.txt
    3  * License.....: MIT
    4  */
    5 
    6 #ifdef KERNEL_STATIC
    7 #include M2S(INCLUDE_PATH/inc_vendor.h)
    8 #include M2S(INCLUDE_PATH/inc_types.h)
    9 #include M2S(INCLUDE_PATH/inc_platform.cl)
   10 #include M2S(INCLUDE_PATH/inc_amp.h)
   11 #endif
   12 
   13 KERNEL_FQ void amp (KERN_ATTR_AMP)
   14 {
   15   const u64 gid = get_global_id (0);
   16 
   17   if (gid >= gid_max) return;
   18 
   19   const u32 w0r = bfs_buf[0].i;
   20 
   21   pws[gid].i[0] |= w0r;
   22 }