1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <ck_pr.h> #ifdef CK_F_PR_FAS_64 #define ATOMIC ck_pr_fas_64(object, 1) #define ATOMIC_STRING "ck_pr_fas_64" #include "benchmark.h" #else #warning Did not find FAS_64 implementation. #include <stdlib.h> int main(void) { return 0; } #endif