mirror of https://github.com/hashcat/hashcat.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
412 B
32 lines
412 B
5 years ago
|
/**
|
||
|
* Author......: See docs/credits.txt
|
||
|
* License.....: MIT
|
||
|
*/
|
||
|
|
||
|
#include "emu_general.h"
|
||
|
|
||
|
u32 atomic_dec (u32 *p)
|
||
|
{
|
||
|
return *p--;
|
||
|
}
|
||
|
|
||
|
u32 atomic_inc (u32 *p)
|
||
|
{
|
||
|
return *p++;
|
||
|
}
|
||
|
|
||
|
size_t get_global_id (uint dimindx __attribute__((unused)))
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
size_t get_local_id (uint dimindx __attribute__((unused)))
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
size_t get_local_size (uint dimindx __attribute__((unused)))
|
||
|
{
|
||
|
return 0;
|
||
|
}
|