Skip to content

Commit 8477aa4

Browse files
authored
FPGA compile update - fix compile problem with USM device check (#1402)
1 parent 771382a commit 8477aa4

File tree

1 file changed

+1
-1
lines changed
  • DirectProgramming/C++SYCL_FPGA/Tutorials/GettingStarted/fpga_compile/part2-dpcpp_functor_usm/src

1 file changed

+1
-1
lines changed

DirectProgramming/C++SYCL_FPGA/Tutorials/GettingStarted/fpga_compile/part2-dpcpp_functor_usm/src/vector_add.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ int main() {
5050
<< device.get_info<sycl::info::device::name>().c_str()
5151
<< std::endl;
5252

53-
if (!device.has(aspect::usm_host_allocations)) {
53+
if (!device.has(sycl::aspect::usm_host_allocations)) {
5454
std::terminate();
5555
}
5656

0 commit comments

Comments
 (0)