MantisBT - ITK |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008357 | ITK | | public | 2009-01-08 12:43 | 2009-03-03 09:55 |
|
| Reporter | Hans Johnson | |
| Assigned To | Luis Ibanez | |
| Priority | immediate | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | ITK-3-10 | |
| Target Version | | Fixed in Version | ITK-3-12 | |
| Resolution Date | |
| Sprint | |
| Sprint Status | |
|
| Summary | 0008357: itkMultiThreader does not respect GlobalMaximumNumberOfThreads to limit number of threads |
| Description | The expected behavior of setting GlobalMaximumNumberOfThreads is that the number of threads used can not exceed that value.
This was not consistently implemented, and when GlobalMaximumNumberOfThreads was set to less than the number of procesors on the running system, the GlobalDefaultNumberOfThreads would equal the number of processors rather than clamping it to the GlobalMaximumNumberOfThreads.
Additionally, it was possible to set the GlobalMaximumNumberOfThreads to a negative number or to numbers greater than ITK_MAX_THREADS.
|
| Steps To Reproduce | |
| Additional Information | A code review was performed by Karthik Krishnan, Luis Ibanez, and Hans Johnson at the NA-MIC January 2009 AHM.
The test suite was run with the modified code, and all expected test passed (i.e. the 5 failing tests were verified to be due to reasons other than the threading changes). This was tested on 8 processor and 2 processor Macintosh, and 2 procesor linux computer.
|
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2009-01-08 12:43 | Hans Johnson | New Issue | |
| 2009-01-09 03:59 | Luis Ibanez | Note Added: 0014495 | |
| 2009-01-09 04:01 | Luis Ibanez | Note Added: 0014496 | |
| 2009-01-09 04:02 | Luis Ibanez | Note Added: 0014497 | |
| 2009-01-09 04:02 | Luis Ibanez | Status | new => resolved |
| 2009-01-09 04:02 | Luis Ibanez | Resolution | open => fixed |
| 2009-01-09 04:02 | Luis Ibanez | Assigned To | => Luis Ibanez |
| 2009-03-03 09:55 | Hans Johnson | Note Added: 0015511 | |
| 2009-03-03 09:55 | Hans Johnson | Status | resolved => closed |
| 2009-03-03 09:55 | Hans Johnson | Fixed in Version | => ITK-3-12 |