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.
18 lines
298 B
18 lines
298 B
#include <ck_pr.h>
|
|
|
|
#ifdef CK_F_PR_CAS_64_2
|
|
#define ATOMIC { uint64_t z[2] = {1, 2}; ck_pr_cas_64_2(object, z, z); }
|
|
#define ATOMIC_STRING "ck_pr_cas_64_2"
|
|
#include "benchmark.h"
|
|
#else
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
fprintf(stderr, "Unsupported.\n");
|
|
return 0;
|
|
}
|
|
#endif
|