This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <class R, class ...Args> | |
class Task; | |
template <class R, class ...Args> | |
class Task<R(Args...)> { | |
public: | |
Task(std::function<R(Args...)> t); | |
virtual void operator()(Args... args); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1>------ Build started: Project: OpenGLCuda, Configuration: Debug x64 ------ | |
2>------ Build started: Project: OpenGLWrapper, Configuration: Debug x64 ------ | |
1>Build started 5/5/2018 11:44:36 AM. | |
2>Build started 5/5/2018 11:44:36 AM. | |
1>Target InitializeBuildStatus: | |
1> Creating "x64\Debug\OpenGLCuda.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. | |
2>Target InitializeBuildStatus: | |
2> Creating "x64\Debug\OpenGLWrapper.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. | |
2>Target FinalizeBuildStatus: | |
2> Deleting file "x64\Debug\OpenGLWrapper.tlog\unsuccessfulbuild". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef CUDA_GL_BUFFER | |
#define CUDA_GL_BUFFER | |
#include <glad\glad.h> | |
#include <cuda_runtime.h> | |
#include <device_launch_parameters.h> | |
#include <cuda_gl_interop.h> | |
#include <thrust\device_vector.h> | |
#include <thrust\host_vector.h> | |
#include <memory> |