我在GPU中用math.log計算對數,這是Supported Python features in CUDA Python之一。但失敗了。 我的代碼: import os,sys,time,math
import pandas as pd
import numpy as np
from numba import cuda, float32
import os
bpg = (3,1
我試圖用numbapro寫下面一個簡單的矩陣向量乘法: from numbapro import cuda
from numba import *
import numpy as np
import math
from timeit import default_timer as time
m = 100000
n = 100
@cuda.jit('void(f4[:,:], f