mirror of
https://github.com/lltcggie/waifu2x-caffe.git
synced 2025-06-26 13:42:48 +00:00
__stdcallの位置が間違っていたのを修正
This commit is contained in:
parent
ee1a7a3662
commit
97ea55c08f
@ -81,9 +81,9 @@ Waifu2x::eWaifu2xcuDNNError Waifu2x::can_use_cuDNN()
|
||||
HMODULE hModule = LoadLibrary(TEXT("cudnn64_65.dll"));
|
||||
if (hModule != NULL)
|
||||
{
|
||||
typedef cudnnStatus_t(*__stdcall cudnnCreateType)(cudnnHandle_t *);
|
||||
typedef cudnnStatus_t(*__stdcall cudnnDestroyType)(cudnnHandle_t);
|
||||
typedef uint64_t(*__stdcall cudnnGetVersionType)();
|
||||
typedef cudnnStatus_t(__stdcall * cudnnCreateType)(cudnnHandle_t *);
|
||||
typedef cudnnStatus_t(__stdcall * cudnnDestroyType)(cudnnHandle_t);
|
||||
typedef uint64_t(__stdcall * cudnnGetVersionType)();
|
||||
|
||||
cudnnCreateType cudnnCreateFunc = (cudnnCreateType)GetProcAddress(hModule, "cudnnCreate");
|
||||
cudnnDestroyType cudnnDestroyFunc = (cudnnDestroyType)GetProcAddress(hModule, "cudnnDestroy");
|
||||
|
Loading…
x
Reference in New Issue
Block a user