Пример #1
0
import cuda_kmeans_tri as kmt
kmt.quiet_run(1, 262144, 2, 100, 1)
kmt.quiet_run(1, 262145, 2, 100, 1)
kmt.quiet_run(1, 270000, 2, 100, 1)
kmt.quiet_run(1, 300000, 2, 100, 1)

import cuda_kmeans_tri as kmt
for nClusters in [512, 513]:
    for nPts in [2, 12, 15, 16, 17, 512, 513, 1023, 1024]:
        for nReps in [2]:
            kmt.quiet_run(10, nPts, 2, nClusters, nReps)

Пример #3
0
import cuda_kmeans_tri as kmt
for nClusters in [2, 4, 8]:
    for nPts in [2000, 4000, 8000]:
        for nDim in [8, 100, 500]:
            for nReps in [8, 16, 32]:
                for nTests in [1, 10]:
                    kmt.quiet_run(nTests, nPts, nDim, nClusters, nReps)