mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-28 13:05:53 +00:00
Merge pull request #1227 from WangFengtu1996/master
fixbug build cuda demo error
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
|
||||
#define TracyCUDACollect(ctx)
|
||||
|
||||
namespace tracy{
|
||||
using CUDACtx = std::nullptr_t;
|
||||
} // namespace tracy
|
||||
|
||||
#else
|
||||
#include <cupti.h>
|
||||
|
||||
@@ -31,7 +35,7 @@
|
||||
#include <cxxabi.h>
|
||||
#endif
|
||||
|
||||
#include <tracy/Tracy.hpp>
|
||||
#include "Tracy.hpp"
|
||||
|
||||
#ifndef UNREFERENCED
|
||||
#define UNREFERENCED(x) (void)x
|
||||
@@ -1322,4 +1326,4 @@ namespace tracy
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user