Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
c91fe22a
Commit
c91fe22a
authored
Oct 06, 2019
by
yoogx
Browse files
* Get_Number_Of_Cores: return 1 if no core are detected, as a
processor always has one core by default For openaadl/ocarina#234
parent
8949688b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/backends/ocarina-backends-utils.adb
View file @
c91fe22a
...
...
@@ -4134,7 +4134,11 @@ package body Ocarina.Backends.Utils is
end
if
;
end
loop
;
return
Number_Of_Cores
;
if
Number_Of_Cores
/=
0
then
return
Number_Of_Cores
;
else
return
1
;
end
if
;
end
Get_Number_Of_Cores
;
------------------------------
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment