anilshanbhag / crystal

GPU library for writing SQL queries
MIT License
64 stars 20 forks source link

Running Error: CUDA error 11 [src/ssb/gpu_utils.h, 21]: invalid argument #3

Open Eilowangfang opened 4 years ago

Eilowangfang commented 4 years ago

I following the README, and complied the test example. However, the error occurs when I runned "./bin/ssb/q11". " LOADED DATA CUDA error 11 [src/ssb/gpu_utils.h, 21]: invalid argument "

The error seems due to "cudaMemcpy(dest, src, sizeof(T) * numEntries, cudaMemcpyHostToDevice)".

Could you please help me identify the reason. Thank you.

Eilowangfang commented 4 years ago

I following the README, and complied the test example. However, the error occurs when I runned "./bin/ssb/q11". " LOADED DATA CUDA error 11 [src/ssb/gpu_utils.h, 21]: invalid argument "

The error seems due to "cudaMemcpy(dest, src, sizeof(T) * numEntries, cudaMemcpyHostToDevice)".

Could you please help me identify the reason. Thank you.

In details, the error message is:

$ ./bin/ssb/q11 Using device 0: TITAN Xp (PTX version 520, SM610, 30 SMs, 12023 free / 12196 total MB physmem, 547.680 GB/s @ 5705000 kHz mem clock, ECC off) LOADED DATA LO_LEN 6001171 CUDA error 11 [src/ssb/gpu_utils.h, 21]: invalid argument

anilshanbhag commented 4 years ago

Have you configured BASE_PATH is ssb_utils.h ?

Eilowangfang commented 4 years ago

Have you configured BASE_PATH is ssb_utils.h ?

Yes. I think I modified it.

In src/ssb/ssb_utils.h, I configured:

define SF 1

define BASE_PATH "/home/spark/GPUdb/crystal/test/ssb/data/”

"/home/spark/GPUdb/crystal/test/ssb/data/” is my path.

anilshanbhag commented 4 years ago

I just checked, the error is due to it not finding files. Can you check /home/spark/GPUdb/crystal/test/ssb/data/s1_columnar/ exists and it has files labelled LINEORDER1 - LINEORDER16 ?

Eilowangfang commented 4 years ago

I just checked, the error is due to it not finding files. Can you check /home/spark/GPUdb/crystal/test/ssb/data/s1_columnar/ exists and it has files labelled LINEORDER1 - LINEORDER16 ?

Yes. It works now. Thank you.

Moiley commented 5 months ago

hi, there. I get almost exactly same mistake when I runned "./bin/ssb/q11". i check my base_path/s1_columnar (s1_columnar is manully created), but fail to find files labelled LINEORDER1 - LINEORDER16. can you help me with it?

In details, the error message is: Using device 0: Quadro RTX 8000 (PTX version 750, SM750, 72 SMs, 2308 free / 48601 total MB physmem, 672.096 GB/s @ 7001000 kHz mem clock, ECC off) LOADED DATA LO_LEN 6001171 CUDA error 1 [src/ssb/gpu_utils.h, 21]: invalid argument