1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-18 06:08:16 +00:00
hashcat/src/emu_general.c

34 lines
458 B
C
Raw Normal View History

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
2019-03-25 13:08:59 +00:00
#include "common.h"
#include "types.h"
#include "emu_general.h"
u32 hc_atomic_dec (u32 *p)
{
return p[0]--;
}
u32 hc_atomic_inc (u32 *p)
{
return p[0]++;
}
2019-03-25 20:57:10 +00:00
size_t get_global_id (u32 dimindx __attribute__((unused)))
{
return 0;
}
2019-03-25 20:57:10 +00:00
size_t get_local_id (u32 dimindx __attribute__((unused)))
{
return 0;
}
2019-03-25 20:57:10 +00:00
size_t get_local_size (u32 dimindx __attribute__((unused)))
{
return 0;
}