Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenCLHelpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NTLab
CodeReUse
CPlusPlus
OpenCLHelpers
Commits
e072f447
Commit
e072f447
authored
5 years ago
by
NT-Lab
Browse files
Options
Downloads
Plain Diff
Merge branch 'HEAD' into origin/master
parents
1ad531a1
af550ee6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ntlab_OpenCLHelpers.h
+4
-2
4 additions, 2 deletions
ntlab_OpenCLHelpers.h
with
4 additions
and
2 deletions
ntlab_OpenCLHelpers.h
+
4
−
2
View file @
e072f447
...
...
@@ -10,7 +10,9 @@
#ifdef _WIN32
#include Windows.h
#include
<Windows.h>
#undef max
#undef min
#elif defined(__APPLE__) || defined(__MACOSX)
#include
<mach-o/dyld.h>
#else // Linux
...
...
@@ -137,7 +139,7 @@ namespace ntlab
#ifdef _WIN32
char
pathBuffer
[
MAX_PATH
];
DWORD
pathLength
=
GetModuleFileNameA
(
NULL
,
pathBuffer
,
maxPathLength
);
DWORD
pathLength
=
GetModuleFileNameA
(
NULL
,
pathBuffer
,
MAX_PATH
);
if
(
pathLength
==
0
)
return
""
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment