Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
minmingzhu committed Jul 29, 2024
1 parent 019892f commit 965036a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mllib-dal/src/main/native/CorrelationImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ Java_com_intel_oap_mllib_stat_CorrelationDALImpl_cCorrelationTrainDAL(
rank);
jint *gpuIndices = env->GetIntArrayElements(gpuIdxArray, 0);

getGPU(device, gpuIndices);
auto gpu_device = sycl::device(sycl::gpu_selector_v);
sycl::queue queue{gpu_device};
auto queue = getGPU(device, gpuIndices);
// auto gpu_device = sycl::device(sycl::gpu_selector_v);
// sycl::queue queue{gpu_device};
const char* cstr = env->GetStringUTFChars(breakdown_name, nullptr);
std::string c_breakdown_name(cstr);
const char *str = env->GetStringUTFChars(ip_port, 0);
Expand Down

0 comments on commit 965036a

Please sign in to comment.