mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-02 00:00:07 +00:00
13 lines
226 B
C++
13 lines
226 B
C++
#include <GL/glew.h>
|
|
|
|
#include <cuda_runtime_api.h>
|
|
#include <cuda_gl_interop.h>
|
|
#include <stdio.h>
|
|
#include <algorithm>
|
|
#include "../common/cudaInit.h"
|
|
|
|
void cudaInit()
|
|
{
|
|
cudaGLSetGLDevice( cutGetMaxGflopsDeviceId() );
|
|
}
|