三亩地 三亩地SAN MU DI · CODE DIARY
ARTICLE DETAIL

日记详情

真实记录编程学习的某一天,欢迎挑你感兴趣的翻一翻。

搜索引擎站长平台江门桂城网站建设

搜索引擎站长平台江门桂城网站建设 搜索引擎站长平台,江门桂城网站建设,呼和浩特网络运营,深圳数据中心建设公司# 安装boost sudo apt update sudo apt install libboost-all-dev (base) root@autodl:~$ dpkg -s libboost-dev | grep Version Version: 1.74.0.3ubuntu7(base) root@autodl:~$ ls /usr/local/cuda/lib64/libOpenCL.…# 安装boost sudo apt update sudo apt install libboost-all-dev (base) root@autodl:~$ dpkg -s libboost-dev | grep Version Version: 1.74.0.3ubuntu7(base) root@autodl:~$ ls /usr/local/cuda/lib64/libOpenCL.so* /usr/local/cuda/lib64/libOpenCL.so /usr/local/cuda/lib64/libOpenCL.so.1 /usr/local/cuda/lib64/libOpenCL.so.1.0 /usr/local/cuda/lib64/libOpenCL.so.1.0.0sudo apt install clinfo sudo apt install nvidia-opencl-dev ocl-icd-libopencl1 opencl-headersunzip Vina-GPU-2.1-main.zip cd Vina-GPU-2.1-main/AutoDock-Vina-GPU-2.1/(base) root@autodl:~/Vina-GPU-2.1-main/AutoDock-Vina-GPU-2.1$ pwd /root/Vina-GPU-2.1-main/AutoDock-Vina-GPU-2.1 vim Makefile # 改下面路径 WORK_DIR=/root/Vina-GPU-2.1-main/AutoDock-Vina-GPU-2.1 BOOST_LIB_PATH=/usr/lib/x86_64-linux-gnu OPENCL_LIB_PATH=/usr/local/cuda/lib64 OPENCL_VERSION=-DOPENCL_3_0 GPU_PLATFORM=-DNVIDIA_PLATFORM DOCKING_BOX_SIZE=-DSMALL_BOX LIB_PATH=-L/usr/lib/x86_64-linux-gnu -L/usr/local/cuda/lib64 LIB1=-lboost_program_options -lboost_system -lboost_filesystem -lboost_thread -lOpenCL # 找到这一行。只保留这两个.cpp,其他全删除 SRC=./lib/*.cpp ./OpenCL/src/wrapcl.cppmake clean make source -j1 # 测试是否成功安装 cd ~/Vina-GPU-2.1-main/AutoDock-Vina-GPU-2.1 vim ~/Vina-GPU-2.1-main/AutoDock-Vina-GPU-2.1/input_file_example/2bm2_config.txt # 改路径 opencl_binary_path = /root/Vina-GPU-2.1/AutoDock-Vina-GPU-2.1./AutoDock-Vina-GPU-2-1 --config ./input_file_example/2bm2_config.txtmake clean make -j1(base) root@autodl:~$ clinfo Number of platforms 1Platform Name NVIDIA CUDAPlatform Vendor NVIDIA CorporationPlatform Version OpenCL 3.0 CUDA 13.0.97Platform Profile FULL_PROFILEPlatform Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_opaque_fd cl_khr_external_memory_opaque_fd cl_khr_semaphorePlatform Extensions with Version cl_khr_global_int32_base_atomics 0x400000 (1.0.0)cl_khr_global_int32_extended_atomics 0x400000 (1.0.0)cl_khr_local_int32_base_atomics 0x400000 (1.0.0)cl_khr_local_int32_extended_atomics 0x400000 (1.0.0)cl_khr_fp64 0x400000 (1.0.0)cl_khr_3d_image_writes 0x400000 (1.0.0)cl_khr_byte_addressable_store 0x400000 (1.0.0)cl_khr_icd 0x400000 (1.0.0)cl_khr_gl_sharing 0x400000 (1.0.0)cl_nv_compiler_options 0x400000 (1.0.0)cl_nv_device_attribute_query 0x400000 (1.0.0)cl_nv_pragma_unroll 0x400000 (1.0.0)cl_nv_copy_opts 0x400000 (1.0.0)cl_nv_create_buffer 0x400000 (1.0.0)cl_khr_int64_base_atomics 0x400000 (1.0.0)cl_khr_int64_extended_atomics 0x400000 (1.0.0)cl_khr_device_uuid 0x400000 (1.0.0)cl_khr_pci_bus_info 0x400000 (1.0.0)cl_khr_external_semaphore 0x400000 (1.0.0)cl_khr_external_memory 0x400000 (1.0.0)cl_khr_external_semaphore_opaque_fd 0x400000 (1.0.0)cl_khr_external_memory_opaque_fd 0x400000 (1.0.0)cl_khr_semaphore 0x400000 (1.0.0)Platform Numeric Version 0xc00000 (3.0.0)Platform Extensions function suffix NVPlatform Host timer resolution 0nsPlatform Name NVIDIA CUDA Number of devices 1Device Name NVIDIA GeForce RTX 3090Device Vendor NVIDIA CorporationDevice Vendor ID 0x10deDevice Version OpenCL 3.0 CUDADevice UUID 785aa918-4f0f-6653-efcf-0a603608da9bDriver UUID 785aa918-4f0f-6653-efcf-0a603608da9bValid Device LUID NoDevice LUID 6d69-637300000000Device Node Mask 0Device Numeric Version 0xc00000 (3.0.0)Driver Version 580.105.08Device OpenCL C Version OpenCL C 1.2 Device OpenCL C all versions OpenCL C 0x400000 (1.0.0)OpenCL C 0x401000 (1.1.0)OpenCL C 0x402000 (1.2.0)OpenCL C 0xc00000 (3.0.0)Device OpenCL C features __opencl_c_fp64 0xc00000 (3.0.0)__opencl_c_images 0xc00000 (3.0.0)__opencl_c_int64 0xc00000 (3.0.0)__opencl_c_3d_image_writes 0xc00000 (3.0.0)Latest comfornace test passed v2025-04-04-00Device Type GPUDevice Topology (NV) PCI-E, 0000:41:00.0Device Profile FULL_PROFILEDevice Available YesCompiler Available YesLinker Available YesMax compute units 82Max clock frequency 1695MHzCompute Capability (NV) 8.6Device Partition (core)Max number of sub-devices 1Supported partition types NoneSupported affinity domains (n/a)Max work item dimensions 3Max work item sizes 1024x1024x64Max work group size 1024Preferred work group size multiple (device) 32Preferred work group size multiple (kernel) 32Warp size (NV) 32Max sub-groups per work group 0Preferred / native vector sizes char 1 / 1 short 1 / 1 int 1 / 1 long 1 / 1 half 0 / 0 (n/a)float 1 / 1 double 1 / 1 (cl_khr_fp64)Half-precision Floating-point support (n/a)Single-precision Floating-point support (core)Denormals YesInfinity and NANs YesRound to nearest YesRound to zero YesRound to infinity YesIEEE754-2008 fused multiply-add YesSupport is emulated in software NoCorrectly-rounded divide and sqrt operations YesDouble-precision Floating-point support (cl_khr_fp64)Denormals YesInfinity and NANs YesRound to nearest YesRound to zero YesRound to infinity YesIEEE754-2008 fused multiply-add YesSupport is emulated in software NoAddress bits 64, Little-EndianGlobal memory size 25296044032 (23.56GiB)Error Correction support NoMax memory allocation 6324011008 (5.89GiB)Unified memory for Host and Device NoIntegrated memory (NV) NoShared Virtual Memory (SVM) capabilities (core)Coarse-grained buffer sharing YesFine-grained buffer sharing NoFine-grained system sharing NoAtomics NoMinimum alignment for any data type 128 bytesAlignment of base address 4096 bits (512 bytes)Preferred alignment for atomics SVM 0 bytesGlobal 0 bytesLocal 0 bytesAtomic memory capabilities relaxed, work-group scopeAtomic fence capabilities relaxed, acquire/release, work-group scopeMax size for global variable 0Preferred total size of global vars 0Global Memory cache type Read/WriteGlobal Memory cache size 2351104 (2.242MiB)Global Memory cache line size 128 bytesImage support YesMax number of samplers per kernel 32Max size for 1D images from buffer 268435456 pixelsMax 1D or 2D image array size 2048 imagesMax 2D image size 32768x32768 pixelsMax 3D image size 16384x16384x16384 pixelsMax number of read image args 256Max number of write image args 32Max number of read/write image args 0Pipe support NoMax number of pipe args 0Max active pipe reservations 0Max pipe packet size 0Local memory type LocalLocal memory size 49152 (48KiB)Registers per block (NV) 65536Max number of constant args 9Max constant buffer size 65536 (64KiB)Generic address space support NoMax size of kernel argument 32764 (32KiB)Queue properties (on host) Out-of-order execution YesProfiling YesDevice enqueue capabilities (n/a)Queue properties (on device) Out-of-order execution NoProfiling NoPreferred size 0Max size 0Max queues on device 0Max events on device 0Prefer user sync for interop NoProfiling timer resolution 1000nsExecution capabilities Run OpenCL kernels YesRun native kernels NoNon-uniform work-groups NoWork-group collective functions NoSub-group independent forward progress NoKernel execution timeout (NV) NoConcurrent copy and kernel execution (NV) YesNumber of async copy engines 2IL version (n/a)ILs with version printDeviceInfo:186: get CL_DEVICE_ILS_WITH_VERSION : error -30printf() buffer size 1048576 (1024KiB)Built-in kernels (n/a)Built-in kernels with version printDeviceInfo:190: get CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION : error -30Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_opaque_fd cl_khr_external_memory_opaque_fd cl_khr_semaphoreDevice Extensions with Version cl_khr_global_int32_base_atomics 0x400000 (1.0.0)cl_khr_global_int32_extended_atomics 0x400000 (1.0.0)cl_khr_local_int32_base_atomics 0x400000 (1.0.0)cl_khr_local_int32_extended_atomics 0x400000 (1.0.0)cl_khr_fp64 0x400000 (1.0.0)cl_khr_3d_image_writes 0x400000 (1.0.0)cl_khr_byte_addressable_store 0x400000 (1.0.0)cl_khr_icd 0x400000 (1.0.0)cl_khr_gl_sharing 0x400000 (1.0.0)cl_nv_compiler_options 0x400000 (1.0.0)cl_nv_device_attribute_query 0x400000 (1.0.0)cl_nv_pragma_unroll 0x400000 (1.0.0)cl_nv_copy_opts 0x400000 (1.0.0)cl_nv_create_buffer 0x400000 (1.0.0)cl_khr_int64_base_atomics 0x400000 (1.0.0)cl_khr_int64_extended_atomics 0x400000 (1.0.0)cl_khr_device_uuid 0x400000 (1.0.0)cl_khr_pci_bus_info 0x400000 (1.0.0)cl_khr_external_semaphore 0x400000 (1.0.0)cl_khr_external_memory 0x400000 (1.0.0)cl_khr_external_semaphore_opaque_fd 0x400000 (1.0.0)cl_khr_external_memory_opaque_fd 0x400000 (1.0.0)cl_khr_semaphore 0x400000 (1.0.0)NULL platform behaviorclGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) NVIDIA CUDAclGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [NV]clCreateContext(NULL, ...) [default] Success [NV]clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No platformclCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platformclCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No platformclCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platformclCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) Invalid device type for platformclCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No platformICD loader propertiesICD loader Name OpenCL ICD LoaderICD loader Vendor OCL Icd free softwareICD loader Version 2.2.14ICD loader Profile OpenCL 3.0 (base) root@autodl:~$
← 返回列表