Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/cuda/src/lib/include/diderot/base.cuh
ViewVC logotype

View of /branches/cuda/src/lib/include/diderot/base.cuh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5628 - (download) (annotate)
Tue Sep 7 16:23:43 2021 UTC (2 months, 2 weeks ago) by adrianlehmann
File size: 584 byte(s)
Fix various copy semantics
//
// Created by Adrian Lehmann on 26/10/20.
//
#ifndef MIP_CUDA_BASE_CUH
#define MIP_CUDA_BASE_CUH

#ifndef __CUDACC__
#error "Can't compile CUDA headers without nvcc"
#endif

#include "base.h"

#ifndef _DIDEROT_CUDA_
#define _DIDEROT_CUDA_
#endif
using namespace diderot;
HD
inline bool activeSts(strand_status sts) { return (sts <= kNew); }
HD
inline bool notActiveSts(strand_status sts) { return (sts > kNew); }
HD
inline bool aliveSts(strand_status sts) { return (sts < kDie); }
HD
inline bool notAliveSts(strand_status sts) { return (sts >= kDie); }

#endif //MIP_CUDA_BASE_CUH

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0