mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-13 19:28:56 +00:00
34 lines
451 B
C
34 lines
451 B
C
/**
|
|
* Author......: See docs/credits.txt
|
|
* License.....: MIT
|
|
*/
|
|
|
|
#include "common.h"
|
|
#include "types.h"
|
|
#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;
|
|
}
|