cuda.devices: fix distribute-jobs to look only at width of maxThreadsDim

db4
Joe Groff 2010-05-07 18:15:37 -07:00
parent 6d41ea32f5
commit 077cd0397b
1 changed files with 1 additions and 1 deletions

View File

@ -82,5 +82,5 @@ IN: cuda.devices
: distribute-jobs ( job-count per-job-shared -- launcher ) : distribute-jobs ( job-count per-job-shared -- launcher )
cuda-device get cuda-device-properties cuda-device get cuda-device-properties
[ sharedMemPerBlock>> ] [ maxThreadsDim>> ] bi [ sharedMemPerBlock>> ] [ maxThreadsDim>> first ] bi
(distribute-jobs) 3<<< ; inline (distribute-jobs) 3<<< ; inline